pub struct List<L>(pub L);Expand description
Heterogenous list Supports pushing, splitting to head and tail Mapping and folding
Tuple Fields§
§0: LImplementations§
Trait Implementations§
Source§impl<L: Ord> Ord for List<L>
impl<L: Ord> Ord for List<L>
Source§impl<L: PartialOrd> PartialOrd for List<L>
impl<L: PartialOrd> PartialOrd for List<L>
Source§impl<LH, LT, RH, RT, ZT> Zip<List<(RH, RT)>> for List<(LH, LT)>where
LT: Zip<RT, Zipped = ZT>,
impl<LH, LT, RH, RT, ZT> Zip<List<(RH, RT)>> for List<(LH, LT)>where
LT: Zip<RT, Zipped = ZT>,
impl<L: Copy> Copy for List<L>
impl<L: Eq> Eq for List<L>
impl<L> StructuralPartialEq for List<L>
Auto Trait Implementations§
impl<L> Freeze for List<L>where
L: Freeze,
impl<L> RefUnwindSafe for List<L>where
L: RefUnwindSafe,
impl<L> Send for List<L>where
L: Send,
impl<L> Sync for List<L>where
L: Sync,
impl<L> Unpin for List<L>where
L: Unpin,
impl<L> UnwindSafe for List<L>where
L: UnwindSafe,
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