pub trait ConstBitLength {
    // Required method
    fn const_bit_length() -> u32;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ConstBitLength for bool

source§

impl ConstBitLength for char

source§

impl ConstBitLength for f32

source§

impl ConstBitLength for f64

source§

impl ConstBitLength for i8

source§

impl ConstBitLength for i16

source§

impl ConstBitLength for i32

source§

impl ConstBitLength for i64

source§

impl ConstBitLength for isize

source§

impl ConstBitLength for u8

source§

impl ConstBitLength for u16

source§

impl ConstBitLength for u32

source§

impl ConstBitLength for u64

source§

impl ConstBitLength for ()

source§

impl ConstBitLength for usize

source§

impl<T> ConstBitLength for Option<T>
where T: ConstBitLength,

source§

impl<T> ConstBitLength for Box<T>
where T: ConstBitLength,

source§

impl<T, const N: usize> ConstBitLength for [T; N]
where T: ConstBitLength,

Implementors§