pub struct Cumulative { /* private fields */ }
Implementations§
Source§impl Cumulative
impl Cumulative
pub fn new() -> Cumulative
pub fn enabled(self, enabled: bool) -> Cumulative
pub fn direction(self, direction: HistDirection) -> Cumulative
pub fn current_bin(self, current_bin: CurrentBin) -> Cumulative
Trait Implementations§
Source§impl Clone for Cumulative
impl Clone for Cumulative
Source§fn clone(&self) -> Cumulative
fn clone(&self) -> Cumulative
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 Cumulative
impl Debug for Cumulative
Source§impl Default for Cumulative
impl Default for Cumulative
Source§fn default() -> Cumulative
fn default() -> Cumulative
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Cumulative
impl RefUnwindSafe for Cumulative
impl Send for Cumulative
impl Sync for Cumulative
impl Unpin for Cumulative
impl UnwindSafe for Cumulative
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