pub trait DirectedBijectiveConnectionGraphFunctions { // Required methods fn phi(&self, n: u64, node: u64) -> u64; fn dimension(&self) -> u64; // Provided method fn psi(&self, n: u64, node: u64) -> u64 { ... } }