pub trait MultiFilterExt: 'static {
    fn append(&self, filter: &impl IsA<Filter>);
    fn remove(&self, position: u32);
}
Expand description

Trait containing all MultiFilter methods.

Implementors

AnyFilter, EveryFilter, MultiFilter

Required Methods§

Adds a @filter to @self to use for matching.

filter

A new filter to use

Removes the filter at the given @position from the list of filters used by @self.

If @position is larger than the number of filters, nothing happens and the function returns.

position

position of filter to remove

Implementors§