Trait bucket_queue::bucket::Bucket
source · pub trait Bucket {
type Item;
fn new_bucket() -> Self;
fn len_bucket(&self) -> usize;
fn is_empty_bucket(&self) -> bool;
fn clear(&mut self);
}
pub trait Bucket {
type Item;
fn new_bucket() -> Self;
fn len_bucket(&self) -> usize;
fn is_empty_bucket(&self) -> bool;
fn clear(&mut self);
}