pub struct NonEmpty<const L: usize, const U: usize>(/* private fields */);Expand description
Compile-time proof of valid bounds. Must be constructed with same bounds to instantiate BoundedVec.
Trait Implementations§
impl<const L: usize, const U: usize> Copy for NonEmpty<L, U>
impl<const L: usize, const U: usize> Eq for NonEmpty<L, U>
impl<const L: usize, const U: usize> StructuralPartialEq for NonEmpty<L, U>
Auto Trait Implementations§
impl<const L: usize, const U: usize> Freeze for NonEmpty<L, U>
impl<const L: usize, const U: usize> RefUnwindSafe for NonEmpty<L, U>
impl<const L: usize, const U: usize> Send for NonEmpty<L, U>
impl<const L: usize, const U: usize> Sync for NonEmpty<L, U>
impl<const L: usize, const U: usize> Unpin for NonEmpty<L, U>
impl<const L: usize, const U: usize> UnwindSafe for NonEmpty<L, U>
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