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