pub struct UsizeNe<const N: usize>;Expand description
Checks whether the given value is not equal to N.
Trait Implementations§
Source§impl<const N: usize> Ord for UsizeNe<N>
impl<const N: usize> Ord for UsizeNe<N>
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<const N: usize> PartialOrd for UsizeNe<N>
impl<const N: usize> PartialOrd for UsizeNe<N>
Source§impl<const N: usize> Predicate<usize> for UsizeNe<N>
impl<const N: usize> Predicate<usize> for UsizeNe<N>
Source§type Error = UsizeNeError
type Error = UsizeNeError
The associated error type which is used to represent checks.
Source§fn check(value: &usize) -> Result<(), Self::Error>
fn check(value: &usize) -> Result<(), Self::Error>
Checks if the value of type
T satisfies the predicate. Read moreimpl<const N: usize> Copy for UsizeNe<N>
impl<const N: usize> Eq for UsizeNe<N>
impl<const N: usize> StructuralPartialEq for UsizeNe<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for UsizeNe<N>
impl<const N: usize> RefUnwindSafe for UsizeNe<N>
impl<const N: usize> Send for UsizeNe<N>
impl<const N: usize> Sync for UsizeNe<N>
impl<const N: usize> Unpin for UsizeNe<N>
impl<const N: usize> UnwindSafe for UsizeNe<N>
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