pub enum BucketKind {
Bucket128,
Bucket256,
}Expand description
An enum determining the number of buckets for hashing.
Variants§
Implementations§
Source§impl BucketKind
impl BucketKind
Sourcepub fn bucket_count(&self) -> usize
pub fn bucket_count(&self) -> usize
Returns the number of buckets.
Trait Implementations§
Source§impl Clone for BucketKind
impl Clone for BucketKind
Source§fn clone(&self) -> BucketKind
fn clone(&self) -> BucketKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BucketKind
impl Debug for BucketKind
Source§impl Hash for BucketKind
impl Hash for BucketKind
Source§impl PartialEq for BucketKind
impl PartialEq for BucketKind
impl Copy for BucketKind
impl Eq for BucketKind
impl StructuralPartialEq for BucketKind
Auto Trait Implementations§
impl Freeze for BucketKind
impl RefUnwindSafe for BucketKind
impl Send for BucketKind
impl Sync for BucketKind
impl Unpin for BucketKind
impl UnwindSafe for BucketKind
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