pub trait FrequencyUnit:
Clone
+ Copy
+ Debug {
// Required method
fn to_rad_per_sec<T: Float + FloatConst>(frequency: T) -> T;
}Expand description
Unit of a frequency axis: Hz or RadPerSec.
Required Methods§
Sourcefn to_rad_per_sec<T: Float + FloatConst>(frequency: T) -> T
fn to_rad_per_sec<T: Float + FloatConst>(frequency: T) -> T
Convert a frequency in this unit into an angular frequency [rad/s].
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".