Trait ToOpcode

Source
pub trait ToOpcode {
    type Opcode;

    // Required method
    fn to_opcode(&self) -> Self::Opcode;
}
Expand description

Allows for converting an Op into its associated Opcode.

Required Associated Types§

Source

type Opcode

The associated Opcode type.

Required Methods§

Source

fn to_opcode(&self) -> Self::Opcode

The opcode associated with this operation.

Implementors§