Struct customasm::asm::matcher::InstructionMatch
source · pub struct InstructionMatch {
pub ruledef_ref: ItemRef<Ruledef>,
pub rule_ref: ItemRef<Rule>,
pub args: Vec<InstructionArgument>,
pub exact_part_count: usize,
pub encoding_statically_known: bool,
pub encoding_size: usize,
pub encoding: InstructionMatchResolution,
}
Fields§
§ruledef_ref: ItemRef<Ruledef>
§rule_ref: ItemRef<Rule>
§args: Vec<InstructionArgument>
§exact_part_count: usize
§encoding_statically_known: bool
§encoding_size: usize
§encoding: InstructionMatchResolution
Implementations§
source§impl InstructionMatch
impl InstructionMatch
pub fn is_same(&self, other: &InstructionMatch) -> bool
Trait Implementations§
source§impl Clone for InstructionMatch
impl Clone for InstructionMatch
source§fn clone(&self) -> InstructionMatch
fn clone(&self) -> InstructionMatch
Returns a copy 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 InstructionMatch
impl RefUnwindSafe for InstructionMatch
impl !Send for InstructionMatch
impl !Sync for InstructionMatch
impl Unpin for InstructionMatch
impl UnwindSafe for InstructionMatch
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