Trait fenwick_bit_tree::FenwickTreeValue
source · pub trait FenwickTreeValue: Default + Clone + PartialEq {
// Required methods
fn store_value(&mut self, other: &Self);
fn substract(self, other: Self) -> Self;
}
Expand description
Types that implement that trait can be stored and aggregated within Fenwick tree.
Required Methods§
fn store_value(&mut self, other: &Self)
fn substract(self, other: Self) -> Self
Object Safety§
This trait is not object safe.