pub struct TrivialPred;Expand description
A trivial predicate that holds for any value.
Use with OnceImpl when no invariant is needed.
Auto Trait Implementations§
impl Freeze for TrivialPred
impl RefUnwindSafe for TrivialPred
impl Send for TrivialPred
impl Sync for TrivialPred
impl Unpin for TrivialPred
impl UnwindSafe for TrivialPred
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