Trait frame_support::traits::Filter

source ·
pub trait Filter<T> {
    // Required method
    fn filter(t: &T) -> bool;
}
👎Deprecated: Use Contains instead

Required Methods§

source

fn filter(t: &T) -> bool

👎Deprecated: Use Contains instead

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, C: Contains<T>> Filter<T> for C