pub trait Per<T> {
type Output;
const VALUE: Self::Output;
}
Expand description
A trait for defining the ratio of two units of time.
This trait is used to implement the per
method on the various structs.
Required Associated Constants§
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.