Function earth::util::get_mut_or_set [] [src]

pub fn get_mut_or_set<T, F>(opt: &mut Option<T>, f: F) -> &mut T where
    F: Fn() -> T,