Skip to main content

FixExt

Trait FixExt 

Source
pub trait FixExt: Sized {
    const ONE: Self;
}
Expand description

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

Required Associated Constants§

Source

const 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".

Implementors§

Source§

impl<U> FixExt for Fix<i8, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<i16, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<i32, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<i64, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<i128, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<isize, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<u8, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<u16, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<u32, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<u64, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<u128, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self

Source§

impl<U> FixExt for Fix<usize, U10, NInt<U>>
where U: Unsigned + NonZero,

Source§

const ONE: Self