pub trait Clock { // Required method fn frequency(&self) -> Rate<u32, 1, 1>; // Provided methods fn mhz(&self) -> u32 { ... } fn hz(&self) -> u32 { ... } }