Skip to main content

Filter

Trait Filter 

Source
pub trait Filter<'bp> {
    type Kind;

    // Required method
    fn filter(
        &self,
        arg: &Self::Kind,
        attributes: &mut AttributeStorage<'bp>,
    ) -> bool;
}

Required Associated Types§

Required Methods§

Source

fn filter( &self, arg: &Self::Kind, attributes: &mut AttributeStorage<'bp>, ) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'bp, A, B> Filter<'bp> for Chain<A, B>
where A: Filter<'bp>, B: Filter<'bp, Kind = A::Kind>,

Source§

type Kind = <A as Filter<'bp>>::Kind

Source§

impl<'el, 'tree, 'bp, F, T> Filter<'bp> for Query<'el, 'tree, 'bp, F, T>
where F: Filter<'bp, Kind = T>,

Source§

type Kind = T