pub trait PriceFromWholePoints<XS: XSpec>: From<Subpoints> {
// Provided method
fn price_from_whole_points(whole_points: WholePoints) -> Self
where Self: Sized { ... }
}Provided Methods§
fn price_from_whole_points(whole_points: WholePoints) -> Selfwhere
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".