pub struct NotOnUnit<'i, Input: One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool>(/* private fields */);
Expand description
Term expected to be on the unit interval (between 0 and 1) was not.
Trait Implementations§
Source§impl<'i, Input: Clone + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Clone for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: Clone + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Clone for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
Source§impl<'i, Input: Debug + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Debug for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: Debug + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Debug for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
Source§impl<Input: One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Display for NotOnUnit<'_, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<Input: One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Display for NotOnUnit<'_, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
Source§impl<'i, Input: Hash + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Hash for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: Hash + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Hash for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
Source§impl<'i, Input: Ord + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Ord for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: Ord + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Ord for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
Source§fn cmp(
&self,
other: &NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>,
) -> Ordering
fn cmp( &self, other: &NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>, ) -> 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 + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> PartialEq for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: PartialEq + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> PartialEq for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
Source§impl<'i, Input: PartialOrd + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> PartialOrd for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: PartialOrd + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> PartialOrd for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: Copy + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Copy for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: Eq + One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Eq for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input: One + PartialOrd + Zero + Debug, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> StructuralPartialEq for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
Auto Trait Implementations§
impl<'i, Input, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Freeze for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> RefUnwindSafe for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>where
Input: RefUnwindSafe,
impl<'i, Input, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Send for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>where
Input: Sync,
impl<'i, Input, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Sync for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>where
Input: Sync,
impl<'i, Input, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> Unpin for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>
impl<'i, Input, const INCLUSIVE_AT_ZERO: bool, const INCLUSIVE_AT_ONE: bool> UnwindSafe for NotOnUnit<'i, Input, INCLUSIVE_AT_ZERO, INCLUSIVE_AT_ONE>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