Struct aho_corasick::util::prefilter::MemmemBuilder
source · struct MemmemBuilder {
count: usize,
one: Option<Vec<u8>>,
}
Expand description
A builder for constructing a prefilter that uses memmem.
Fields§
§count: usize
The number of patterns that have been added.
one: Option<Vec<u8>>
The singular pattern to search for. This is only set when count==1.
Implementations§
Trait Implementations§
source§impl Debug for MemmemBuilder
impl Debug for MemmemBuilder
source§impl Default for MemmemBuilder
impl Default for MemmemBuilder
source§fn default() -> MemmemBuilder
fn default() -> MemmemBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemmemBuilder
impl RefUnwindSafe for MemmemBuilder
impl Send for MemmemBuilder
impl Sync for MemmemBuilder
impl Unpin for MemmemBuilder
impl UnwindSafe for MemmemBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more