pub enum TraversalStorage {
Auto,
Fast,
Balanced,
Compact,
}Expand description
Chooses the speed/space trade-off of a derived traversal cache.
Variants§
Auto
Selects Balanced when packing saves at least 12.5%, otherwise Fast.
Fast
Direct u32 neighbors and offsets for minimum traversal overhead.
Balanced
Bit-packed neighbors with direct u32 offsets.
Compact
Bit-packed neighbors and Elias-Fano monotone offsets.
Trait Implementations§
Source§impl Clone for TraversalStorage
impl Clone for TraversalStorage
Source§fn clone(&self) -> TraversalStorage
fn clone(&self) -> TraversalStorage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TraversalStorage
Source§impl Debug for TraversalStorage
impl Debug for TraversalStorage
Source§impl Default for TraversalStorage
impl Default for TraversalStorage
Source§fn default() -> TraversalStorage
fn default() -> TraversalStorage
Returns the “default value” for a type. Read more
impl Eq for TraversalStorage
Source§impl PartialEq for TraversalStorage
impl PartialEq for TraversalStorage
impl StructuralPartialEq for TraversalStorage
Auto Trait Implementations§
impl Freeze for TraversalStorage
impl RefUnwindSafe for TraversalStorage
impl Send for TraversalStorage
impl Sync for TraversalStorage
impl Unpin for TraversalStorage
impl UnsafeUnpin for TraversalStorage
impl UnwindSafe for TraversalStorage
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