pub trait ClockInterface {
// Required methods
fn is_enabled(&self) -> bool;
fn enable(&self);
fn disable(&self);
}
Expand description
Generic operations that clock-like things are expected to support.
pub trait ClockInterface {
// Required methods
fn is_enabled(&self) -> bool;
fn enable(&self);
fn disable(&self);
}
Generic operations that clock-like things are expected to support.