pub struct UsizeGt<const N: usize>;Expand description
Checks whether the given value is greater than N.
Trait Implementations§
Source§impl<const N: usize> Ord for UsizeGt<N>
impl<const N: usize> Ord for UsizeGt<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 UsizeGt<N>
impl<const N: usize> PartialOrd for UsizeGt<N>
Source§impl<const N: usize> Predicate<usize> for UsizeGt<N>
impl<const N: usize> Predicate<usize> for UsizeGt<N>
Source§type Error = UsizeGtError
type Error = UsizeGtError
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 UsizeGt<N>
impl<const N: usize> Eq for UsizeGt<N>
impl<const N: usize> StructuralPartialEq for UsizeGt<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for UsizeGt<N>
impl<const N: usize> RefUnwindSafe for UsizeGt<N>
impl<const N: usize> Send for UsizeGt<N>
impl<const N: usize> Sync for UsizeGt<N>
impl<const N: usize> Unpin for UsizeGt<N>
impl<const N: usize> UnwindSafe for UsizeGt<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