Function bitvec::slice::from_ref [−][src]
pub fn from_ref<O, T>(elt: &T) -> &BitSlice<O, T> where
O: BitOrder,
T: BitStore,
Converts a reference to T
into a bit slice one element long (without
copying).
pub fn from_ref<O, T>(elt: &T) -> &BitSlice<O, T> where
O: BitOrder,
T: BitStore,
Converts a reference to T
into a bit slice one element long (without
copying).