pub struct Bounded<T, const N: usize>(/* private fields */);Expand description
An ordered collection of at most N items.
Implementations§
Trait Implementations§
impl<T: Eq, const N: usize> Eq for Bounded<T, N>
impl<T: PartialEq, const N: usize> StructuralPartialEq for Bounded<T, N>
Auto Trait Implementations§
impl<T, const N: usize> Freeze for Bounded<T, N>
impl<T, const N: usize> RefUnwindSafe for Bounded<T, N>where
Vec<T>: RefUnwindSafe,
impl<T, const N: usize> Send for Bounded<T, N>
impl<T, const N: usize> Sync for Bounded<T, N>
impl<T, const N: usize> Unpin for Bounded<T, N>
impl<T, const N: usize> UnsafeUnpin for Bounded<T, N>where
Vec<T>: UnsafeUnpin,
impl<T, const N: usize> UnwindSafe for Bounded<T, N>where
Vec<T>: UnwindSafe,
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