pub struct PeepPattern {
pub instrs: Vec<PeepInstr>,
pub name: String,
}Expand description
A pattern to be matched against a window of instructions.
Fields§
§instrs: Vec<PeepInstr>The sequence of instructions that must match.
name: StringHuman-readable name for this pattern (used in diagnostics).
Trait Implementations§
Source§impl Clone for PeepPattern
impl Clone for PeepPattern
Source§fn clone(&self) -> PeepPattern
fn clone(&self) -> PeepPattern
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 moreAuto Trait Implementations§
impl Freeze for PeepPattern
impl RefUnwindSafe for PeepPattern
impl Send for PeepPattern
impl Sync for PeepPattern
impl Unpin for PeepPattern
impl UnsafeUnpin for PeepPattern
impl UnwindSafe for PeepPattern
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