pub struct Cond<const COND: bool>;Expand description
The only type that implements Bool.
Trait Implementations§
impl<const COND: bool> Copy for Cond<COND>
impl<const COND: bool> Eq for Cond<COND>
Source§impl<const COND: bool> Ord for Cond<COND>
impl<const COND: bool> Ord for Cond<COND>
1.21.0 (const: unstable) · 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 COND: bool> PartialEq for Cond<COND>
impl<const COND: bool> PartialEq for Cond<COND>
Source§impl<const COND: bool> PartialOrd for Cond<COND>
impl<const COND: bool> PartialOrd for Cond<COND>
impl<const COND: bool> StructuralPartialEq for Cond<COND>
Auto Trait Implementations§
impl<const COND: bool> Freeze for Cond<COND>
impl<const COND: bool> RefUnwindSafe for Cond<COND>
impl<const COND: bool> Send for Cond<COND>
impl<const COND: bool> Sync for Cond<COND>
impl<const COND: bool> Unpin for Cond<COND>
impl<const COND: bool> UnsafeUnpin for Cond<COND>
impl<const COND: bool> UnwindSafe for Cond<COND>
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