pub enum ChunkContent<Item, Gap> {
Gap(Gap),
Items(Vec<Item>),
}
Expand description
This enum represents the content of a Chunk
.
Variants§
Gap(Gap)
The chunk represents a gap in the linked chunk, i.e. a hole. It means that some items are missing in this location.
Items(Vec<Item>)
The chunk contains items.
Trait Implementations§
Auto Trait Implementations§
impl<Item, Gap> Freeze for ChunkContent<Item, Gap>where
Gap: Freeze,
impl<Item, Gap> RefUnwindSafe for ChunkContent<Item, Gap>where
Gap: RefUnwindSafe,
Item: RefUnwindSafe,
impl<Item, Gap> Send for ChunkContent<Item, Gap>
impl<Item, Gap> Sync for ChunkContent<Item, Gap>
impl<Item, Gap> Unpin for ChunkContent<Item, Gap>
impl<Item, Gap> UnwindSafe for ChunkContent<Item, Gap>where
Gap: UnwindSafe,
Item: 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