pub trait FixedExtra {
// Required methods
fn to_bps<Dst: FromFixed>(&self) -> Option<Dst>;
fn from_bps<Src: ToFixed>(bps: Src) -> Self;
fn to_display(&self) -> FixedSingleDisplay<'_>;
}Required Methods§
fn to_bps<Dst: FromFixed>(&self) -> Option<Dst>
fn from_bps<Src: ToFixed>(bps: Src) -> Self
fn to_display(&self) -> FixedSingleDisplay<'_>
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.