pub trait IntoOptionwhere
    Self: Sized,{
    // Provided method
    fn none_if<F>(self, callback: F) -> Option<Self>
       where F: Fn(&Self) -> bool { ... }
}

Provided Methods§

source

fn none_if<F>(self, callback: F) -> Option<Self>where F: Fn(&Self) -> bool,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> IntoOption for T