Enum frunk_core::coproduct::CNil
source · 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<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 PartialOrd for CNil
impl PartialOrd for CNil
impl Copy for CNil
impl Eq for CNil
impl StructuralPartialEq for CNil
Auto Trait Implementations§
impl Freeze for CNil
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)