Enum aho_corasick::packed::api::ForceAlgorithm
source · enum ForceAlgorithm {
Teddy,
RabinKarp,
}
Expand description
An internal option for forcing the use of a particular packed algorithm.
When an algorithm is forced, if a searcher could not be constructed for it, then no searcher will be returned even if an alternative algorithm would work.
Variants§
Trait Implementations§
source§impl Clone for ForceAlgorithm
impl Clone for ForceAlgorithm
source§fn clone(&self) -> ForceAlgorithm
fn clone(&self) -> ForceAlgorithm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ForceAlgorithm
impl RefUnwindSafe for ForceAlgorithm
impl Send for ForceAlgorithm
impl Sync for ForceAlgorithm
impl Unpin for ForceAlgorithm
impl UnwindSafe for ForceAlgorithm
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)