pub struct Nil;Expand description
The Nil type, a.k.a. ε, is used to represent the end of a type-level list,
or an empty type-level list.
Nil is commonly used as the Tail of a Cons type, to terminate the list.
When used on its own, it represents an empty type-level list.
Read more about type-level lists, a.k.a. the product types, in Cons.
Trait Implementations§
impl Eq for ε
impl StructuralPartialEq for ε
Auto Trait Implementations§
impl Freeze for ε
impl RefUnwindSafe for ε
impl Send for ε
impl Sync for ε
impl Unpin for ε
impl UnwindSafe for ε
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