Trait dock_core::util::option_ext::OptionExt
source · pub trait OptionExt<V> {
// Required methods
fn update_with<S, F, R>(&mut self, f: F) -> R
where F: FnOnce(&mut Option<S>) -> R,
V: TryInto<S>,
S: TryInto<V>;
fn initialized(&mut self) -> &mut Self
where V: Default;
}