Struct disassemble::Address [] [src]

pub struct Address {
    // some fields omitted
}

The location of something in an address space.

This is used to provide a location of a Function, Instruction, or other item.

The meaning of this address is flexibly interpreted by the rest of this library as the meaning depends upon the application embedding and using this library. It may be an actual machine address or it might be something as simple as the offset of an instruction into an array.

XXX: Should this have any indication for what type of address it is? An address might be an address within a file, a resolved address after being loaded, etc.

XXX: Should this include any information about the address space that it is from?

Methods

impl Address

fn new(address: u64) -> Self

Construct an Address.

Trait Implementations

Derived Implementations

impl PartialOrd for Address

fn partial_cmp(&self, __arg_0: &Address) -> Option<Ordering>

fn lt(&self, __arg_0: &Address) -> bool

fn le(&self, __arg_0: &Address) -> bool

fn gt(&self, __arg_0: &Address) -> bool

fn ge(&self, __arg_0: &Address) -> bool

impl PartialEq for Address

fn eq(&self, __arg_0: &Address) -> bool

fn ne(&self, __arg_0: &Address) -> bool

impl Ord for Address

fn cmp(&self, __arg_0: &Address) -> Ordering

impl Hash for Address

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for Address

impl Debug for Address

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for Address

impl Clone for Address

fn clone(&self) -> Address

1.0.0fn clone_from(&mut self, source: &Self)