pub trait FixedOptionalFeatures{ }
Expand description
This trait is used to provide supertraits to the Fixed
trait
depending on the crate’s optional features.
- If the
f16
feature is enabled,PartialOrd<f16>
andPartialOrd<bf16>
are supertraits ofFixed
. - If the
serde
feature is enabled,Serialize
andDeserialize
are supertraits ofFixed
.
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.