Trait zachs18_stdx::OptionExt
source · pub trait OptionExt: Sized + Sealed {
type T;
// Required methods
fn is_none_or(self, f: impl FnOnce(Self::T) -> bool) -> bool;
fn contains<U>(&self, u: &U) -> bool
where Self::T: PartialEq<U>;
}Required Associated Types§
Required Methods§
fn is_none_or(self, f: impl FnOnce(Self::T) -> bool) -> bool
fn contains<U>(&self, u: &U) -> boolwhere Self::T: PartialEq<U>,
Object Safety§
This trait is not object safe.