Struct memchr::memmem::FinderBuilder
source · [−]pub struct FinderBuilder { /* private fields */ }
Expand description
A builder for constructing non-default forward or reverse memmem finders.
A builder is primarily useful for configuring a substring searcher. Currently, the only configuration exposed is the ability to disable heuristic prefilters used to speed up certain searches.
Implementations
Create a new finder builder with default settings.
Build a forward finder using the given needle from the current settings.
Build a reverse finder using the given needle from the current settings.
Configure the prefilter setting for the finder.
See the documentation for Prefilter
for more discussion on why
you might want to configure this.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FinderBuilder
impl Send for FinderBuilder
impl Sync for FinderBuilder
impl Unpin for FinderBuilder
impl UnwindSafe for FinderBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more