pub struct VersionedChunk<V: DataVersion, T> {
pub version: V,
pub items: Vec<T>,
}Fields§
§version: V§items: Vec<T>Trait Implementations§
Source§impl<V: Clone + DataVersion, T: Clone> Clone for VersionedChunk<V, T>
impl<V: Clone + DataVersion, T: Clone> Clone for VersionedChunk<V, T>
Source§fn clone(&self) -> VersionedChunk<V, T>
fn clone(&self) -> VersionedChunk<V, 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 moreAuto Trait Implementations§
impl<V, T> Freeze for VersionedChunk<V, T>where
V: Freeze,
impl<V, T> RefUnwindSafe for VersionedChunk<V, T>where
V: RefUnwindSafe,
T: RefUnwindSafe,
impl<V, T> Send for VersionedChunk<V, T>
impl<V, T> Sync for VersionedChunk<V, T>
impl<V, T> Unpin for VersionedChunk<V, T>
impl<V, T> UnwindSafe for VersionedChunk<V, T>where
V: UnwindSafe,
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