[][src]Function linux::lmem::as_mut_slice

pub fn as_mut_slice<T>(val: &mut T) -> &mut [T]

Turns a mutable reference into a mutable one-element slice.

[argument, val] The object that will be the element of the slice.