pub trait Maturity {
// Required methods
fn maturity(&self) -> &Word;
fn maturity_mut(&mut self) -> &mut Word;
fn maturity_offset_static() -> usize;
// Provided method
fn maturity_offset(&self) -> usize { ... }
}
pub trait Maturity {
// Required methods
fn maturity(&self) -> &Word;
fn maturity_mut(&mut self) -> &mut Word;
fn maturity_offset_static() -> usize;
// Provided method
fn maturity_offset(&self) -> usize { ... }
}