Struct ditto::dot::Summary
[−]
[src]
pub struct Summary(_);
Methods
impl Summary
[src]
pub fn get(&self, site_id: SiteId) -> Counter
[src]
pub fn get_dot(&mut self, site_id: SiteId) -> Dot
[src]
pub fn increment(&mut self, site_id: SiteId) -> Counter
[src]
pub fn contains(&self, dot: &Dot) -> bool
[src]
pub fn contains_pair(&self, site_id: u32, counter: u32) -> bool
[src]
pub fn insert(&mut self, dot: Dot)
[src]
pub fn insert_pair(&mut self, site_id: u32, counter: u32)
[src]
pub fn merge(&mut self, other: &Summary)
[src]
pub fn add_site_id(&mut self, site_id: SiteId)
[src]
pub fn validate_no_unassigned_sites(&self) -> Result<(), Error>
[src]
Trait Implementations
impl Debug for Summary
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Summary
[src]
fn clone(&self) -> Summary
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more