pub trait Operands {
// Required methods
fn decode(
decoder: &Decoder,
ctx: &DecoderContext,
insn: &DecodedInstruction
) -> Self;
fn operands(&self) -> &[DecodedOperand];
}
Expand description
Defines storage and decoding behavior for operands.
Required Methods§
fn decode( decoder: &Decoder, ctx: &DecoderContext, insn: &DecodedInstruction ) -> Self
fn operands(&self) -> &[DecodedOperand]
Object Safety§
This trait is not object safe.