[][src]Function bitvec::slice::from_ref

pub fn from_ref<C, T>(elt: &T) -> &BitSlice<C, T> where
    C: Cursor,
    T: BitStore

Converts a reference to T into a bit slice one element long (without copying).