pub struct Negative<'i, Input: Debug + PartialOrd + Zero>(/* private fields */);
Expand description
A term expected to be non-negative was, in fact, negative.
Trait Implementations§
Source§impl<'i, Input: Ord + Debug + PartialOrd + Zero> Ord for Negative<'i, Input>
impl<'i, Input: Ord + Debug + PartialOrd + Zero> Ord for Negative<'i, Input>
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<'i, Input: PartialOrd + Debug + PartialOrd + Zero> PartialOrd for Negative<'i, Input>
impl<'i, Input: PartialOrd + Debug + PartialOrd + Zero> PartialOrd for Negative<'i, Input>
impl<'i, Input: Copy + Debug + PartialOrd + Zero> Copy for Negative<'i, Input>
impl<'i, Input: Eq + Debug + PartialOrd + Zero> Eq for Negative<'i, Input>
impl<'i, Input: Debug + PartialOrd + Zero> StructuralPartialEq for Negative<'i, Input>
Auto Trait Implementations§
impl<'i, Input> Freeze for Negative<'i, Input>
impl<'i, Input> RefUnwindSafe for Negative<'i, Input>where
Input: RefUnwindSafe,
impl<'i, Input> Send for Negative<'i, Input>where
Input: Sync,
impl<'i, Input> Sync for Negative<'i, Input>where
Input: Sync,
impl<'i, Input> Unpin for Negative<'i, Input>
impl<'i, Input> UnwindSafe for Negative<'i, Input>where
Input: RefUnwindSafe,
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