pub trait Salt {
// Required methods
fn salt(&self) -> &Salt;
fn salt_mut(&mut self) -> &mut Salt;
fn salt_offset_static() -> usize;
// Provided method
fn salt_offset(&self) -> usize { ... }
}
pub trait Salt {
// Required methods
fn salt(&self) -> &Salt;
fn salt_mut(&mut self) -> &mut Salt;
fn salt_offset_static() -> usize;
// Provided method
fn salt_offset(&self) -> usize { ... }
}