pub struct InstructionSyntax {
pub opcode: InstructionOpcode,
pub name: &'static str,
pub syntax: &'static str,
pub min_operand_arity: usize,
pub max_operand_arity: usize,
pub required_modifiers: &'static [&'static str],
}Fields§
§opcode: InstructionOpcode§name: &'static str§syntax: &'static str§min_operand_arity: usize§max_operand_arity: usize§required_modifiers: &'static [&'static str]Trait Implementations§
Source§impl Clone for InstructionSyntax
impl Clone for InstructionSyntax
Source§fn clone(&self) -> InstructionSyntax
fn clone(&self) -> InstructionSyntax
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstructionSyntax
impl Debug for InstructionSyntax
impl Eq for InstructionSyntax
Source§impl PartialEq for InstructionSyntax
impl PartialEq for InstructionSyntax
Source§fn eq(&self, other: &InstructionSyntax) -> bool
fn eq(&self, other: &InstructionSyntax) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstructionSyntax
Auto Trait Implementations§
impl Freeze for InstructionSyntax
impl RefUnwindSafe for InstructionSyntax
impl Send for InstructionSyntax
impl Sync for InstructionSyntax
impl Unpin for InstructionSyntax
impl UnsafeUnpin for InstructionSyntax
impl UnwindSafe for InstructionSyntax
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