[−][src]Struct scc::Statistics
Statistics shows aggregated views of the HashMap.
Examples
use scc::HashMap; let hashmap: HashMap<u64, u32, _> = Default::default(); let result = hashmap.insert(1, 0); if let Ok(result) = result { assert_eq!(result.get(), (&1, &mut 0)); } println!("{}", hashmap.statistics());
Implementations
impl Statistics
[src]
pub fn effective_capacity(&self) -> usize
[src]
pub fn deprecated_capacity(&self) -> usize
[src]
pub fn num_entries(&self) -> usize
[src]
pub fn num_killed_entries(&self) -> usize
[src]
pub fn num_cells(&self) -> usize
[src]
pub fn num_empty_cells(&self) -> usize
[src]
pub fn max_consecutive_empty_cells(&self) -> usize
[src]
pub fn num_linked_entries(&self) -> usize
[src]
pub fn num_cells_having_link(&self) -> usize
[src]
pub fn max_link_length(&self) -> usize
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,