Struct bucket_queue::index::simple::SimpleIndex
source · pub struct SimpleIndex { /* private fields */ }
Trait Implementations
sourceimpl Index for SimpleIndex
impl Index for SimpleIndex
fn new() -> Self
fn add<B: Bucket>(&mut self, priority: usize, _: &Vec<Option<B>>)
fn remove<B: Bucket>(&mut self, priority: usize, buckets: &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 RefUnwindSafe for SimpleIndex
impl Send for SimpleIndex
impl Sync for SimpleIndex
impl Unpin for SimpleIndex
impl UnwindSafe for SimpleIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more