StoppableClock

Trait StoppableClock 

Source
pub trait StoppableClock: Sealed {
    // Required methods
    fn enable(&mut self);
    fn disable(&mut self);
    fn kill(&mut self);
}
Expand description

For clocks that can be disabled

Required Methods§

Source

fn enable(&mut self)

Enables the clock.

Source

fn disable(&mut self)

Disables the clock.

Source

fn kill(&mut self)

Kills the clock.

Implementors§