Trait binary_sv2::Fixed

source ·
pub trait Fixed {
    const SIZE: usize;
}
Expand description

Implemented by all the primitives with a fixed size

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Fixed for bool

source§

const SIZE: usize = 1usize

source§

impl Fixed for f32

source§

const SIZE: usize = 4usize

source§

impl Fixed for u8

source§

const SIZE: usize = 1usize

source§

impl Fixed for u16

source§

const SIZE: usize = 2usize

source§

impl Fixed for u32

source§

const SIZE: usize = 4usize

source§

impl Fixed for u64

source§

const SIZE: usize = 8usize

Implementors§

source§

impl Fixed for U24

source§

const SIZE: usize = 3usize