pub struct List<T, const N: usize>(/* private fields */);Expand description
A sequence with a compile-time element bound.
Implementations§
Trait Implementations§
Source§impl<'de, T: Deserialize<'de>, const N: usize> Deserialize<'de> for List<T, N>
impl<'de, T: Deserialize<'de>, const N: usize> Deserialize<'de> for List<T, N>
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl<T: Eq, const N: usize> Eq for List<T, N>
impl<T: PartialEq, const N: usize> StructuralPartialEq for List<T, N>
Auto Trait Implementations§
impl<T, const N: usize> Freeze for List<T, N>
impl<T, const N: usize> RefUnwindSafe for List<T, N>where
Vec<T>: RefUnwindSafe,
impl<T, const N: usize> Send for List<T, N>
impl<T, const N: usize> Sync for List<T, N>
impl<T, const N: usize> Unpin for List<T, N>
impl<T, const N: usize> UnsafeUnpin for List<T, N>where
Vec<T>: UnsafeUnpin,
impl<T, const N: usize> UnwindSafe for List<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