[][src]Trait frame_support::traits::Filter

pub trait Filter<T> {
    pub fn filter(_: &T) -> bool;

Simple trait for providing a filter over a reference to some type.

Required methods

pub fn filter(_: &T) -> bool[src]

Determine if a given value should be allowed through the filter (returns true) or not.

Loading content...

Implementations on Foreign Types

impl<T> Filter<T> for ()[src]

Loading content...


Loading content...