pub struct Ends { /* private fields */ }Expand description
The two sequences a list’s header keeps, one per end.
A pop does not appear here on purpose. The cursors move outward on a push and never come back, so a sequence is used once for the life of the list.
Implementations§
Trait Implementations§
impl Copy for Ends
impl Eq for Ends
impl StructuralPartialEq for Ends
Auto Trait Implementations§
impl Freeze for Ends
impl RefUnwindSafe for Ends
impl Send for Ends
impl Sync for Ends
impl Unpin for Ends
impl UnsafeUnpin for Ends
impl UnwindSafe for Ends
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