Skip to main content

FilterExt

Trait FilterExt 

Source
pub trait FilterExt<T>: Filter<T> + Sized {
    // Provided methods
    fn and<B: Filter<T>>(self, other: B) -> And<Self, B, T> { ... }
    fn or<B: Filter<T>>(self, other: B) -> Or<Self, B, T> { ... }
    fn not(self) -> Not<Self, T> { ... }
}
Expand description

Combinator methods available on every Filter<T>.

Provided Methods§

Source

fn and<B: Filter<T>>(self, other: B) -> And<Self, B, T>

Source

fn or<B: Filter<T>>(self, other: B) -> Or<Self, B, T>

Source

fn not(self) -> Not<Self, T>

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<T: 'static, F: Filter<T> + Sized> FilterExt<T> for F