[][src]Trait fixed::traits::FixedOptionalFeatures

pub trait FixedOptionalFeatures where
    Self: PartialOrd<f16>,
    Self: Serialize + for<'de> Deserialize<'de>, 
{ }

This trait is used to provide supertraits to the Fixed trait depending on the crate’s optional features.

  1. If the f16 feature is enabled, PartialOrd<f16> is a supertrait of Fixed.
  2. If the serde feature is enabled, Serialize and Deserialize are supertraits of Fixed.

Implementors

impl<Frac> FixedOptionalFeatures for FixedI128<Frac> where
    Frac: Unsigned + IsLessOrEqual<U128, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedI16<Frac> where
    Frac: Unsigned + IsLessOrEqual<U16, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedI32<Frac> where
    Frac: Unsigned + IsLessOrEqual<U32, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedI64<Frac> where
    Frac: Unsigned + IsLessOrEqual<U64, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedI8<Frac> where
    Frac: Unsigned + IsLessOrEqual<U8, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedU128<Frac> where
    Frac: Unsigned + IsLessOrEqual<U128, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedU16<Frac> where
    Frac: Unsigned + IsLessOrEqual<U16, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedU32<Frac> where
    Frac: Unsigned + IsLessOrEqual<U32, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedU64<Frac> where
    Frac: Unsigned + IsLessOrEqual<U64, Output = True>, 
[src]

impl<Frac> FixedOptionalFeatures for FixedU8<Frac> where
    Frac: Unsigned + IsLessOrEqual<U8, Output = True>, 
[src]

Loading content...