pub struct NotNegative<'i, Input: Debug + PartialOrd + Zero>(/* private fields */);Expand description
A term expected to be positive was not.
Trait Implementations§
Source§impl<'i, Input: Clone + Debug + PartialOrd + Zero> Clone for NotNegative<'i, Input>
impl<'i, Input: Clone + Debug + PartialOrd + Zero> Clone for NotNegative<'i, Input>
Source§fn clone(&self) -> NotNegative<'i, Input>
fn clone(&self) -> NotNegative<'i, Input>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'i, Input: Debug + Debug + PartialOrd + Zero> Debug for NotNegative<'i, Input>
impl<'i, Input: Debug + Debug + PartialOrd + Zero> Debug for NotNegative<'i, Input>
Source§impl<Input: Debug + PartialOrd + Zero> Display for NotNegative<'_, Input>
impl<Input: Debug + PartialOrd + Zero> Display for NotNegative<'_, Input>
Source§impl<'i, Input: Hash + Debug + PartialOrd + Zero> Hash for NotNegative<'i, Input>
impl<'i, Input: Hash + Debug + PartialOrd + Zero> Hash for NotNegative<'i, Input>
Source§impl<'i, Input: Ord + Debug + PartialOrd + Zero> Ord for NotNegative<'i, Input>
impl<'i, Input: Ord + Debug + PartialOrd + Zero> Ord for NotNegative<'i, Input>
Source§fn cmp(&self, other: &NotNegative<'i, Input>) -> Ordering
fn cmp(&self, other: &NotNegative<'i, Input>) -> Ordering
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: PartialEq + Debug + PartialOrd + Zero> PartialEq for NotNegative<'i, Input>
impl<'i, Input: PartialEq + Debug + PartialOrd + Zero> PartialEq for NotNegative<'i, Input>
Source§impl<'i, Input: PartialOrd + Debug + PartialOrd + Zero> PartialOrd for NotNegative<'i, Input>
impl<'i, Input: PartialOrd + Debug + PartialOrd + Zero> PartialOrd for NotNegative<'i, Input>
impl<'i, Input: Copy + Debug + PartialOrd + Zero> Copy for NotNegative<'i, Input>
impl<'i, Input: Eq + Debug + PartialOrd + Zero> Eq for NotNegative<'i, Input>
impl<'i, Input: Debug + PartialOrd + Zero> StructuralPartialEq for NotNegative<'i, Input>
Auto Trait Implementations§
impl<'i, Input> Freeze for NotNegative<'i, Input>
impl<'i, Input> RefUnwindSafe for NotNegative<'i, Input>where
Input: RefUnwindSafe,
impl<'i, Input> Send for NotNegative<'i, Input>where
Input: Sync,
impl<'i, Input> Sync for NotNegative<'i, Input>where
Input: Sync,
impl<'i, Input> Unpin for NotNegative<'i, Input>
impl<'i, Input> UnwindSafe for NotNegative<'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