Enum mlem::Address [] [src]

pub enum Address {

Represents a place a value can come from: a register, a memory address, a pointer to memory stored in a register, or a literal value.


A literal register, like R1.

A literal memory address, like 0x10.

A memory address stored in a register. This serves as one level of indirection; for multiple indirection, multiple instructions must be used.

A literal value. Writing to a literal value is a fault.

Trait Implementations

impl PartialEq for Address

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

This method tests for !=.

impl Debug for Address

Formats the value using the given formatter.

impl Copy for Address

impl Clone for Address

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more