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