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