Trait anim::Cursor [−][src]
pub trait Cursor {
type Item;
fn size(&self) -> Option<usize>;
fn index(&self, n: usize) -> Self::Item;
}
Expand description
like Iterator
, but does not consume any element
built-in types that derives Cursor
Vec<T>
[T]
&[T]
Box<T>
whereT:Cursor
&T
whereT:Cursor