pub struct PatternMatchLiteral {
pub literal: Vec<u8>,
}Expand description
Literal-string scan primitive.
Fields§
§literal: Vec<u8>Literal needle bytes to match.
Trait Implementations§
Source§impl Clone for PatternMatchLiteral
impl Clone for PatternMatchLiteral
Source§fn clone(&self) -> PatternMatchLiteral
fn clone(&self) -> PatternMatchLiteral
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 PatternMatchLiteral
impl Debug for PatternMatchLiteral
Source§impl Default for PatternMatchLiteral
impl Default for PatternMatchLiteral
Source§fn default() -> PatternMatchLiteral
fn default() -> PatternMatchLiteral
Returns the “default value” for a type. Read more
Source§impl Hash for PatternMatchLiteral
impl Hash for PatternMatchLiteral
Source§impl PartialEq for PatternMatchLiteral
impl PartialEq for PatternMatchLiteral
impl Eq for PatternMatchLiteral
impl StructuralPartialEq for PatternMatchLiteral
Auto Trait Implementations§
impl Freeze for PatternMatchLiteral
impl RefUnwindSafe for PatternMatchLiteral
impl Send for PatternMatchLiteral
impl Sync for PatternMatchLiteral
impl Unpin for PatternMatchLiteral
impl UnsafeUnpin for PatternMatchLiteral
impl UnwindSafe for PatternMatchLiteral
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.