TryFromFilter

Trait TryFromFilter 

Source
pub trait TryFromFilter<'a, T>: Sized {
    // Required method
    fn filter(t: T) -> Option<&'a Self>;
}

Required Methods§

Source

fn filter(t: T) -> Option<&'a Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, T: 'a, U> TryFromFilter<'a, U> for T
where &'a T: TryFrom<U>,