pub fn from_mut<O, T>(elem: &mut T) -> &mut BitSlice<O, T>
Notable traits for &'a BitSlice<O, T>
impl<'a, O, T> Read for &'a BitSlice<O, T> where
    O: BitOrder,
    T: BitStore,
    BitSlice<O, T>: BitField
impl<'a, O, T> Write for &'a mut BitSlice<O, T> where
    O: BitOrder,
    T: BitStore,
    BitSlice<O, T>: BitField
where
    O: BitOrder,
    T: BitStore
Expand description

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

Original

slice::from_mut