pub trait SetBacking: Sealed {
// Required methods
fn capacity(&self) -> usize;
fn contains(&self, index: usize) -> bool;
fn insert(&mut self, index: usize);
fn remove(&mut self, index: usize);
fn clear_all(&mut self);
}Expand description
Behavior required from membership backings.
This trait is sealed; it can only be implemented by types provided by this
crate (currently [bool] and [u64]). Users opt into different behaviors
by passing these different slice types to TinySetQueue::new.