pub struct Eq<const N: usize>;Expand description
Checks whether the given value has length equal to N.
Trait Implementations§
Source§impl<const N: usize> Ord for Eq<N>
impl<const N: usize> Ord for Eq<N>
Source§impl<const N: usize> PartialOrd for Eq<N>
impl<const N: usize> PartialOrd for Eq<N>
Source§impl<const N: usize, T: HasLength + ?Sized> Predicate<T> for Eq<N>
impl<const N: usize, T: HasLength + ?Sized> Predicate<T> for Eq<N>
impl<const N: usize> Copy for Eq<N>
impl<const N: usize> Eq for Eq<N>
impl<const N: usize> StructuralPartialEq for Eq<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Eq<N>
impl<const N: usize> RefUnwindSafe for Eq<N>
impl<const N: usize> Send for Eq<N>
impl<const N: usize> Sync for Eq<N>
impl<const N: usize> Unpin for Eq<N>
impl<const N: usize> UnwindSafe for Eq<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