Method lrs::option::Option::as_mut

Returns an Option containing an mutable reference to the value (if any.)

Syntax

impl<T> Option<T> {
    fn as_mut(&mut self) -> Option<&mut T>
}