pub trait CesrPrimitive {
// Required methods
fn derivative(&self) -> Vec<u8> ⓘ;
fn derivation_code(&self) -> PrimitiveCode;
// Provided method
fn to_str(&self) -> String { ... }
}pub trait CesrPrimitive {
// Required methods
fn derivative(&self) -> Vec<u8> ⓘ;
fn derivation_code(&self) -> PrimitiveCode;
// Provided method
fn to_str(&self) -> String { ... }
}