pub struct Cons<const C: char, Tail>(/* private fields */);Expand description
A single character of the symbol, followed by the rest of the symbol.
Implementations§
Trait Implementations§
Source§impl<const C: char, Tail: Ord> Ord for Cons<C, Tail>
impl<const C: char, Tail: Ord> Ord for Cons<C, Tail>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<const C: char, Tail: PartialOrd> PartialOrd for Cons<C, Tail>
impl<const C: char, Tail: PartialOrd> PartialOrd for Cons<C, Tail>
impl<const C: char, Tail: Copy> Copy for Cons<C, Tail>
impl<const C: char, Tail: Eq> Eq for Cons<C, Tail>
impl<const C: char, Tail> StructuralPartialEq for Cons<C, Tail>
Auto Trait Implementations§
impl<const C: char, Tail> Freeze for Cons<C, Tail>where
Tail: Freeze,
impl<const C: char, Tail> RefUnwindSafe for Cons<C, Tail>where
Tail: RefUnwindSafe,
impl<const C: char, Tail> Send for Cons<C, Tail>where
Tail: Send,
impl<const C: char, Tail> Sync for Cons<C, Tail>where
Tail: Sync,
impl<const C: char, Tail> Unpin for Cons<C, Tail>where
Tail: Unpin,
impl<const C: char, Tail> UnwindSafe for Cons<C, Tail>where
Tail: 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