pub trait NumPercent<N> {
// Required methods
fn percent_in<U: Num + From<N> + Clone>(self, range: Range<U>) -> U;
fn try_percent_in<U: Num + TryFrom<N> + Clone>(
self,
range: Range<U>,
) -> Result<U, U::Error>;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".