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