Struct libcw::redcode::Instruction [] [src]

pub struct Instruction { /* fields omitted */ }

Redcode instruction

Methods

impl Instruction
[src]

[src]

Create a new instruction

Trait Implementations

impl Debug for Instruction
[src]

[src]

Formats the value using the given formatter.

impl Copy for Instruction
[src]

impl Clone for Instruction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Instruction
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Instruction
[src]

impl Default for Instruction
[src]

[src]

Returns the "default value" for a type. Read more

impl Instruction for Instruction
[src]

[src]

Get the opcode

[src]

Set the instruction opcode

[src]

Get Operation Mode

[src]

Set operation mode

[src]

Get the value of the A field

[src]

Set the value of the A field

[src]

Get the addressing mode of the A Field

[src]

Set the addressing mode of the A field

[src]

Get value of the B field

[src]

Set the value of the B field

[src]

Get the addressing mode of the B field

[src]

Set the AddressingMode of the B field

impl Display for Instruction
[src]

[src]

Formats the value using the given formatter. Read more