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