Struct flatcontainer::impls::offsets::OffsetOptimized
source · pub struct OffsetOptimized { /* private fields */ }
Expand description
An offset container implementation that first tries to recognize strides, and then spilles into a regular offset list.
Trait Implementations§
source§impl Debug for OffsetOptimized
impl Debug for OffsetOptimized
source§impl Default for OffsetOptimized
impl Default for OffsetOptimized
source§fn default() -> OffsetOptimized
fn default() -> OffsetOptimized
Returns the “default value” for a type. Read more
source§impl Extend<usize> for OffsetOptimized
impl Extend<usize> for OffsetOptimized
source§fn extend<T: IntoIterator<Item = usize>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = usize>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl OffsetContainer<usize> for OffsetOptimized
impl OffsetContainer<usize> for OffsetOptimized
Auto Trait Implementations§
impl Freeze for OffsetOptimized
impl RefUnwindSafe for OffsetOptimized
impl Send for OffsetOptimized
impl Sync for OffsetOptimized
impl Unpin for OffsetOptimized
impl UnwindSafe for OffsetOptimized
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<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.