pub trait ExtraFMath {
// Required methods
fn percentage(self, total: Self) -> Self;
fn value(self, total: Self) -> Self;
}Required Methods§
fn percentage(self, total: Self) -> Self
fn value(self, total: Self) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".