pub enum PatternType {
Bytes,
String,
Regex,
HexWildcard,
Magic,
Structural,
}
Expand description
Types of patterns
Variants§
Bytes
Exact byte sequence
String
String pattern
Regex
Regular expression
HexWildcard
Hex pattern with wildcards
Magic
Magic signature
Structural
Structural pattern
Trait Implementations§
Source§impl Clone for PatternType
impl Clone for PatternType
Source§fn clone(&self) -> PatternType
fn clone(&self) -> PatternType
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 PatternType
impl Debug for PatternType
Source§impl PartialEq for PatternType
impl PartialEq for PatternType
impl Eq for PatternType
impl StructuralPartialEq for PatternType
Auto Trait Implementations§
impl Freeze for PatternType
impl RefUnwindSafe for PatternType
impl Send for PatternType
impl Sync for PatternType
impl Unpin for PatternType
impl UnwindSafe for PatternType
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