pub trait BitStructExt: BitStruct<true> {
    // Required method
    fn exact_from(value: Self::Kind) -> Self;
}
Expand description

An extension trait for bit structs which can be safely made from any value in their underlying storage type.

Required Methods§

source

fn exact_from(value: Self::Kind) -> Self

Produce a bit struct from the given underlying storage

Implementors§

source§

impl<T: BitStruct<true>> BitStructExt for T