pub struct True;Expand description
Always true.
Trait Implementations§
impl Copy for True
impl Eq for True
Source§impl Ord for True
impl Ord for True
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 PartialOrd for True
impl PartialOrd for True
Source§impl<T> Predicate<T> for True
impl<T> Predicate<T> for True
Source§fn error() -> ErrorMessage
fn error() -> ErrorMessage
An error message to display when the predicate doesn’t hold.
impl StructuralPartialEq for True
Auto Trait Implementations§
impl Freeze for True
impl RefUnwindSafe for True
impl Send for True
impl Sync for True
impl Unpin for True
impl UnsafeUnpin for True
impl UnwindSafe for True
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