pub struct NonPositive<'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 NonPositive<'i, Input>
impl<'i, Input: Clone + Debug + PartialOrd + Zero> Clone for NonPositive<'i, Input>
Source§fn clone(&self) -> NonPositive<'i, Input>
fn clone(&self) -> NonPositive<'i, Input>
Returns a copy 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 NonPositive<'i, Input>
impl<'i, Input: Debug + Debug + PartialOrd + Zero> Debug for NonPositive<'i, Input>
Source§impl<Input: Debug + PartialOrd + Zero> Display for NonPositive<'_, Input>
impl<Input: Debug + PartialOrd + Zero> Display for NonPositive<'_, Input>
Source§impl<'i, Input: Hash + Debug + PartialOrd + Zero> Hash for NonPositive<'i, Input>
impl<'i, Input: Hash + Debug + PartialOrd + Zero> Hash for NonPositive<'i, Input>
Source§impl<'i, Input: Ord + Debug + PartialOrd + Zero> Ord for NonPositive<'i, Input>
impl<'i, Input: Ord + Debug + PartialOrd + Zero> Ord for NonPositive<'i, Input>
Source§fn cmp(&self, other: &NonPositive<'i, Input>) -> Ordering
fn cmp(&self, other: &NonPositive<'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 NonPositive<'i, Input>
impl<'i, Input: PartialEq + Debug + PartialOrd + Zero> PartialEq for NonPositive<'i, Input>
Source§impl<'i, Input: PartialOrd + Debug + PartialOrd + Zero> PartialOrd for NonPositive<'i, Input>
impl<'i, Input: PartialOrd + Debug + PartialOrd + Zero> PartialOrd for NonPositive<'i, Input>
impl<'i, Input: Copy + Debug + PartialOrd + Zero> Copy for NonPositive<'i, Input>
impl<'i, Input: Eq + Debug + PartialOrd + Zero> Eq for NonPositive<'i, Input>
impl<'i, Input: Debug + PartialOrd + Zero> StructuralPartialEq for NonPositive<'i, Input>
Auto Trait Implementations§
impl<'i, Input> Freeze for NonPositive<'i, Input>
impl<'i, Input> RefUnwindSafe for NonPositive<'i, Input>where
Input: RefUnwindSafe,
impl<'i, Input> Send for NonPositive<'i, Input>where
Input: Sync,
impl<'i, Input> Sync for NonPositive<'i, Input>where
Input: Sync,
impl<'i, Input> Unpin for NonPositive<'i, Input>
impl<'i, Input> UnwindSafe for NonPositive<'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