with_mut

Function with_mut 

Source
pub fn with_mut<T, F, R>(arg: &mut T, receiver_fn: &mut F) -> R
where F: FnMut(&mut T) -> R,