pub struct CursorMut<'a, T, A: Allocator = Global> { /* private fields */ }
Implementations§
Source§impl<'a, T, A: Allocator> CursorMut<'a, T, A>
impl<'a, T, A: Allocator> CursorMut<'a, T, A>
pub fn index(&self) -> Option<usize>
pub fn move_next(&mut self)
pub fn move_prev(&mut self)
pub fn current(&mut self) -> Option<&mut T>
pub fn peek_next(&mut self) -> Option<&mut T>
pub fn peek_prev(&mut self) -> Option<&mut T>
pub fn split_before(&mut self) -> LinkedList<T, A>where
A: Copy,
pub fn split_after(&mut self) -> LinkedList<T, A>where
A: Copy,
pub fn splice_before(&mut self, input: LinkedList<T, A>)
pub fn splice_after(&mut self, input: LinkedList<T, A>)
Auto Trait Implementations§
impl<'a, T, A> Freeze for CursorMut<'a, T, A>
impl<'a, T, A> RefUnwindSafe for CursorMut<'a, T, A>where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, A = Global> !Send for CursorMut<'a, T, A>
impl<'a, T, A = Global> !Sync for CursorMut<'a, T, A>
impl<'a, T, A> Unpin for CursorMut<'a, T, A>
impl<'a, T, A = Global> !UnwindSafe for CursorMut<'a, T, A>
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