pub enum VariablePatternDetection {
Repetition {
min_repeats: usize,
},
Affix {
prefix_len: usize,
suffix_len: usize,
},
Custom,
}Expand description
Detection strategies for variable-size patterns
Variants§
Repetition
Repeated sequences
Affix
Common prefixes/suffixes
Custom
Custom detection function (not serializable)
Trait Implementations§
Source§impl Clone for VariablePatternDetection
impl Clone for VariablePatternDetection
Source§fn clone(&self) -> VariablePatternDetection
fn clone(&self) -> VariablePatternDetection
Returns a duplicate 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 moreSource§impl Debug for VariablePatternDetection
impl Debug for VariablePatternDetection
Source§impl<'de> Deserialize<'de> for VariablePatternDetection
impl<'de> Deserialize<'de> for VariablePatternDetection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VariablePatternDetection
impl RefUnwindSafe for VariablePatternDetection
impl Send for VariablePatternDetection
impl Sync for VariablePatternDetection
impl Unpin for VariablePatternDetection
impl UnsafeUnpin for VariablePatternDetection
impl UnwindSafe for VariablePatternDetection
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