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