Function slice_n::from_mut[][src]

pub fn from_mut<T>(s: &mut T) -> &mut Slice1<T>

Converts a reference to T into a Slice1 of length 1 (without copying).