Skip to main content

FixExt

Trait FixExt 

Source
pub trait FixExt: Sized {
    // Required method
    fn one() -> Self;
}
Expand description

Domain specific extensions to the Fix type as it’s used in this project.

Required Methods§

Source

fn one() -> Self

This precision’s equivalent of 1.

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.

Implementors§

Source§

impl<Bits, Exp> FixExt for Fix<Bits, U10, Exp>
where Bits: FromUnsigned + Pow, Exp: Integer + IsLess<Z0, Output = B1>,