[][src]Trait bitstream_reader::BitSize

pub trait BitSize {
    fn bit_size() -> usize;
}

Trait to get the number of bits needed to read types that can be read from a stream without requiring the size to be configured.

Required methods

fn bit_size() -> usize

How many bits are required to read this type

Loading content...

Implementations on Foreign Types

impl BitSize for u8[src]

impl BitSize for u16[src]

impl BitSize for u32[src]

impl BitSize for u64[src]

impl BitSize for u128[src]

impl BitSize for i8[src]

impl BitSize for i16[src]

impl BitSize for i32[src]

impl BitSize for i64[src]

impl BitSize for i128[src]

impl BitSize for f32[src]

impl BitSize for f64[src]

impl BitSize for bool[src]

impl<T: BitSize> BitSize for Option<T>[src]

Loading content...

Implementors

impl<T: BitRead<E> + BitSize, E: Endianness> BitSize for LazyBitRead<T, E>[src]

Loading content...