pub struct Cursor<'life, T> { /* private fields */ }
Expand description
A Cursor
is like an iterator, except that it can freely seek back-and-forth.
This struct
is constructed by the CircularList::cursor
function.
Implementations§
Trait Implementations§
impl<'life, T: Copy> Copy for Cursor<'life, T>
Auto Trait Implementations§
impl<'life, T> Freeze for Cursor<'life, T>
impl<'life, T> RefUnwindSafe for Cursor<'life, T>where
T: RefUnwindSafe,
impl<'life, T> !Send for Cursor<'life, T>
impl<'life, T> !Sync for Cursor<'life, T>
impl<'life, T> Unpin for Cursor<'life, T>
impl<'life, T> UnwindSafe for Cursor<'life, T>where
T: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more