Trait bitvec::view::BitViewSized[][src]

pub trait BitViewSized: BitView + Sized {
    const ELTS: usize;
    const BITS: usize;
}

Helper for size awareness on Sized storage regions.

Associated Constants

const ELTS: usize[src]

Counts the number of elements T contained in the type.

const BITS: usize[src]

Counts the number of bits contained in the type.

Loading content...

Implementations on Foreign Types

impl<T, const N: usize> BitViewSized for [T; N] where
    T: BitStore
[src]

Loading content...

Implementors

impl<T> BitViewSized for T where
    T: BitStore
[src]

Elements are equivalent to [T; 1].

Loading content...