pub fn visit_opt<T, F>(opt: &mut Option<T>, visit_elem: F)where
    F: FnMut(&mut T),