MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / into_iter

Method into_iter

user/src/bin/gui_snake.rs:35–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 type IntoIter = SnakeIntoIterator<'a, T, MAX_SIZE>;
34
35 fn into_iter(self) -> Self::IntoIter {
36 SnakeIntoIterator {
37 snake: self,
38 index: 0,
39 }
40 }
41}
42
43impl<'a, T: PixelColor, const MAX_SIZE: usize> Iterator for SnakeIntoIterator<'a, T, MAX_SIZE> {

Callers 15

draw_iterMethod · 0.45
mainFunction · 0.45
containsMethod · 0.45
replaceMethod · 0.45
drawMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
draw_iterMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected