pub fn from_ref<O, T>(elem: &T) -> &BitSlice<O, T> where
    O: BitOrder,
    T: BitStore + BitMemory
Expand description

Converts a reference to T into a bitslice over one element.

Original

slice::from_ref