pub struct FilterBuilder { /* private fields */ }
Expand description

A builder to construct FilterPredicate

Implementations

Create a new FilterBuilder that can be used to construct a FilterPredicate

Compute an optimised representation of the provided filter mask that can be applied to an array more quickly.

Note: There is limited benefit to calling this to then filter a single array Note: This will likely have a larger memory footprint than the original mask

Construct the final FilterPredicate

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.