pub struct NullableVec<T>(pub Option<Vec<T>>);Tuple Fields§
§0: Option<Vec<T>>Trait Implementations§
Source§impl<T: Clone> Clone for NullableVec<T>
impl<T: Clone> Clone for NullableVec<T>
Source§fn clone(&self) -> NullableVec<T>
fn clone(&self) -> NullableVec<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for NullableVec<T>
impl<T: Debug> Debug for NullableVec<T>
Source§impl<T: MemoryPackDeserialize> MemoryPackDeserialize for NullableVec<T>
impl<T: MemoryPackDeserialize> MemoryPackDeserialize for NullableVec<T>
fn deserialize( reader: &mut MemoryPackReader<'_>, ) -> Result<Self, MemoryPackError>
Source§impl<T: MemoryPackSerialize> MemoryPackSerialize for NullableVec<T>
impl<T: MemoryPackSerialize> MemoryPackSerialize for NullableVec<T>
fn serialize( &self, writer: &mut MemoryPackWriter, ) -> Result<(), MemoryPackError>
Source§impl<T: PartialEq> PartialEq for NullableVec<T>
impl<T: PartialEq> PartialEq for NullableVec<T>
Source§impl<T: Serialize> Serialize for NullableVec<T>
Available on crate feature serde only.
impl<T: Serialize> Serialize for NullableVec<T>
Available on crate feature
serde only.impl<T: Eq> Eq for NullableVec<T>
impl<T> StructuralPartialEq for NullableVec<T>
Auto Trait Implementations§
impl<T> Freeze for NullableVec<T>
impl<T> RefUnwindSafe for NullableVec<T>where
T: RefUnwindSafe,
impl<T> Send for NullableVec<T>where
T: Send,
impl<T> Sync for NullableVec<T>where
T: Sync,
impl<T> Unpin for NullableVec<T>where
T: Unpin,
impl<T> UnwindSafe for NullableVec<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.