Skip to main content

FixedInt

Trait FixedInt 

Source
pub trait FixedInt:
    Copy
    + Ord
    + Zero
    + One
    + SaturatingAdd
    + SaturatingSub
    + SaturatingMul
    + CheckedDiv
    + BitAnd<Output = Self>
    + BitOr<Output = Self>
    + Not<Output = Self>
    + Shl<usize, Output = Self>
    + Shr<usize, Output = Self>
    + Add<Output = Self>
    + Sub<Output = Self>
    + Mul<Output = Self>
    + Div<Output = Self> { }

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FixedInt for i8

Source§

impl FixedInt for i16

Source§

impl FixedInt for i32

Source§

impl FixedInt for i64

Source§

impl FixedInt for i128

Source§

impl FixedInt for u8

Source§

impl FixedInt for u16

Source§

impl FixedInt for u32

Source§

impl FixedInt for u64

Source§

impl FixedInt for u128

Implementors§