pub trait PercentExt: Copy {
// Required method
fn percent(self) -> Percentage;
}Expand description
Method-style percentage constructor.
Required Methods§
Sourcefn percent(self) -> Percentage
fn percent(self) -> Percentage
<self>%.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".