pub struct FixedPatternConfig {
pub name: String,
pub size: usize,
pub marker: u8,
pub max_count: usize,
pub skip_zeros: bool,
pub description: String,
}Expand description
Configuration for fixed-size patterns (e.g., addresses, hashes)
Fields§
§name: StringName/type of this pattern
size: usizeSize in bytes
marker: u8Marker byte used to identify this pattern type
max_count: usizeMaximum number of patterns of this type
skip_zeros: boolWhether to skip patterns that are all zeros
description: StringDescription of this pattern type
Trait Implementations§
Source§impl Clone for FixedPatternConfig
impl Clone for FixedPatternConfig
Source§fn clone(&self) -> FixedPatternConfig
fn clone(&self) -> FixedPatternConfig
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 FixedPatternConfig
impl Debug for FixedPatternConfig
Source§impl<'de> Deserialize<'de> for FixedPatternConfig
impl<'de> Deserialize<'de> for FixedPatternConfig
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 FixedPatternConfig
impl RefUnwindSafe for FixedPatternConfig
impl Send for FixedPatternConfig
impl Sync for FixedPatternConfig
impl Unpin for FixedPatternConfig
impl UnsafeUnpin for FixedPatternConfig
impl UnwindSafe for FixedPatternConfig
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