OptionLike

Trait OptionLike 

Source
pub trait OptionLike {
    // Required method
    fn is_none(&self) -> bool;
}
Expand description

Trait for types that can be treated as Option-like

Required Methods§

Source

fn is_none(&self) -> bool

Implementations on Foreign Types§

Source§

impl<T> OptionLike for Option<T>

Source§

fn is_none(&self) -> bool

Implementors§