pub struct ShortVec<T>(pub Vec<T>);
Tuple Fields§
§0: Vec<T>
Trait Implementations§
Source§impl<'de, T: Deserialize<'de>> Deserialize<'de> for ShortVec<T>
impl<'de, T: Deserialize<'de>> Deserialize<'de> for ShortVec<T>
Source§fn deserialize<D>(deserializer: D) -> Result<ShortVec<T>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ShortVec<T>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> Freeze for ShortVec<T>
impl<T> RefUnwindSafe for ShortVec<T>where
T: RefUnwindSafe,
impl<T> Send for ShortVec<T>where
T: Send,
impl<T> Sync for ShortVec<T>where
T: Sync,
impl<T> Unpin for ShortVec<T>where
T: Unpin,
impl<T> UnwindSafe for ShortVec<T>where
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