pub struct SimpleIndex { /* private fields */ }Trait Implementations§
Source§impl Index for SimpleIndex
impl Index for SimpleIndex
fn new() -> Self
fn add<B: Bucket>(&mut self, priority: usize, buckets: &Vec<Option<B>>)
fn remove<B: Bucket>(&mut self, priority: usize, buckets: &Vec<Option<B>>)
fn added_n<B: Bucket>(&mut self, n: usize, priority: usize, _: &Vec<Option<B>>)
fn removed_n<B: Bucket>( &mut self, n: usize, priority: usize, buckets: &Vec<Option<B>>, )
fn min(&self) -> Option<usize>
fn max(&self) -> Option<usize>
fn len(&self) -> usize
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for SimpleIndex
impl RefUnwindSafe for SimpleIndex
impl Send for SimpleIndex
impl Sync for SimpleIndex
impl Unpin for SimpleIndex
impl UnwindSafe for SimpleIndex
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