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