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