pub trait CesrPrimitive {
// Required methods
fn derivative(&self) -> Vec<u8> ⓘ;
fn derivation_code(&self) -> PrimitiveCode;
// Provided method
fn to_str(&self) -> String { ... }
}Required Methods§
fn derivative(&self) -> Vec<u8> ⓘ
fn derivation_code(&self) -> PrimitiveCode
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".