Trait ra_ap_stdx::IsNoneOr

source ·
pub trait IsNoneOr {
    type Type;

    // Required method
    fn is_none_or(self, s: impl FnOnce(Self::Type) -> bool) -> bool;
}

Required Associated Types§

Required Methods§

source

fn is_none_or(self, s: impl FnOnce(Self::Type) -> bool) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> IsNoneOr for Option<T>

§

type Type = T

source§

fn is_none_or(self, f: impl FnOnce(T) -> bool) -> bool

Implementors§