Struct timely::progress::count_map::CountMap [] [src]

pub struct CountMap<T> {
    // some fields omitted
}

Methods

impl<T: Eq + Clone> CountMap<T>
[src]

fn update(&mut self, key: &T, val: i64) -> i64

fn into_inner(self) -> Vec<(T, i64)>

fn iter<'a>(&'a self) -> Iter<'a, (T, i64)>

fn clear(&mut self)

fn len(&self) -> usize

fn pop(&mut self) -> Option<(T, i64)>

fn new() -> CountMap<T>

fn new_from(key: &T, val: i64) -> CountMap<T>

fn drain_into(&mut self, other: &mut CountMap<T>)

fn extend<I: Iterator<Item=(T, i64)>>(&mut self, iterator: I)

Trait Implementations

impl<T: Debug> Debug for CountMap<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<T: Clone> Clone for CountMap<T>
[src]

fn clone(&self) -> CountMap<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<T> Default for CountMap<T>
[src]

fn default() -> CountMap<T>

Returns the "default value" for a type. Read more