Trait serum_dex::critbit::SlabView [−][src]
pub trait SlabView<T> { fn capacity(&self) -> u64; fn clear(&mut self); fn is_empty(&self) -> bool; fn get(&self, h: NodeHandle) -> Option<&T>; fn get_mut(&mut self, h: NodeHandle) -> Option<&mut T>; fn insert(&mut self, val: &T) -> Result<u32, ()>; fn remove(&mut self, h: NodeHandle) -> Option<T>; fn contains(&self, h: NodeHandle) -> bool; }
Required methods
fn capacity(&self) -> u64
[src]
fn clear(&mut self)
[src]
fn is_empty(&self) -> bool
[src]
fn get(&self, h: NodeHandle) -> Option<&T>
[src]
fn get_mut(&mut self, h: NodeHandle) -> Option<&mut T>
[src]
fn insert(&mut self, val: &T) -> Result<u32, ()>
[src]
fn remove(&mut self, h: NodeHandle) -> Option<T>
[src]
fn contains(&self, h: NodeHandle) -> bool
[src]
Implementors
impl SlabView<AnyNode> for Slab
[src]
impl SlabView<AnyNode> for Slab
[src]