pub enum List<'parent, T> {
Cons(&'parent List<'parent, T>, T),
Nil,
}Variants§
Implementations§
Trait Implementations§
impl<'parent, T: Copy> Copy for List<'parent, T>
Auto Trait Implementations§
impl<'parent, T> Freeze for List<'parent, T>where
T: Freeze,
impl<'parent, T> RefUnwindSafe for List<'parent, T>where
T: RefUnwindSafe,
impl<'parent, T> Send for List<'parent, T>
impl<'parent, T> Sync for List<'parent, T>where
T: Sync,
impl<'parent, T> Unpin for List<'parent, T>where
T: Unpin,
impl<'parent, T> UnwindSafe for List<'parent, T>where
T: UnwindSafe + 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