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