pub struct SequencePattern {
pub sequence_name: &'static str,
pub sequence_space: u8,
pub ascending: bool,
}
Expand description
A match based on sequences of characters, e.g. “abcd”
Fields
sequence_name: &'static str
Name of the sequence that was matched.
sequence_space: u8
Size of the sequence that was matched.
ascending: bool
Whether the matched sequence is ascending.
Trait Implementations
sourceimpl Clone for SequencePattern
impl Clone for SequencePattern
sourcefn clone(&self) -> SequencePattern
fn clone(&self) -> SequencePattern
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SequencePattern
impl Debug for SequencePattern
sourceimpl Default for SequencePattern
impl Default for SequencePattern
sourcefn default() -> SequencePattern
fn default() -> SequencePattern
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SequencePattern> for SequencePattern
impl PartialEq<SequencePattern> for SequencePattern
sourcefn eq(&self, other: &SequencePattern) -> bool
fn eq(&self, other: &SequencePattern) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SequencePattern) -> bool
fn ne(&self, other: &SequencePattern) -> bool
This method tests for !=
.
impl StructuralPartialEq for SequencePattern
Auto Trait Implementations
impl RefUnwindSafe for SequencePattern
impl Send for SequencePattern
impl Sync for SequencePattern
impl Unpin for SequencePattern
impl UnwindSafe for SequencePattern
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more