pub enum CNil {}
Expand description
Phantom type for signature purposes only (has no value)
Used by the macro to terminate the Coproduct type signature
Trait Implementations§
source§impl<Head, Tail> CoproductEmbedder<Coproduct<Head, Tail>, HNil> for CNilwhere
CNil: CoproductEmbedder<Tail, HNil>,
impl<Head, Tail> CoproductEmbedder<Coproduct<Head, Tail>, HNil> for CNilwhere CNil: CoproductEmbedder<Tail, HNil>,
source§impl<F, R> CoproductFoldable<F, R> for CNil
impl<F, R> CoproductFoldable<F, R> for CNil
This is literally impossible; CNil is not instantiable
source§impl<F> CoproductMappable<F> for CNil
impl<F> CoproductMappable<F> for CNil
Base case map impl.
source§impl Ord for CNil
impl Ord for CNil
source§impl PartialEq for CNil
impl PartialEq for CNil
source§impl PartialOrd for CNil
impl PartialOrd for CNil
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CNil
impl Eq for CNil
impl StructuralEq for CNil
impl StructuralPartialEq for CNil
Auto Trait Implementations§
impl RefUnwindSafe for CNil
impl Send for CNil
impl Sync for CNil
impl Unpin for CNil
impl UnwindSafe for CNil
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