[][src]Trait bitstream_reader::BitSizeSized

pub trait BitSizeSized {
    fn bit_size(size: usize) -> usize;
}

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

Required methods

fn bit_size(size: usize) -> usize

How many bits are required to read this type

Loading content...

Implementations on Foreign Types

impl BitSizeSized for u8[src]

impl BitSizeSized for u16[src]

impl BitSizeSized for u32[src]

impl BitSizeSized for u64[src]

impl BitSizeSized for u128[src]

impl BitSizeSized for i8[src]

impl BitSizeSized for i16[src]

impl BitSizeSized for i32[src]

impl BitSizeSized for i64[src]

impl BitSizeSized for i128[src]

impl BitSizeSized for String[src]

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

impl<T: BitSize> BitSizeSized for Vec<T>[src]

impl<K: BitSize, T: BitSize> BitSizeSized for HashMap<K, T>[src]

Loading content...

Implementors

impl<E: Endianness> BitSizeSized for BitStream<E>[src]

impl<T: BitReadSized<E> + BitSizeSized, E: Endianness> BitSizeSized for LazyBitReadSized<T, E>[src]

Loading content...