Enum dynasmrt::aarch64::Aarch64Relocation[][src]

pub enum Aarch64Relocation {
    B,
    BCOND,
    ADR,
    ADRP,
    TBZ,
    Plain(RelocationSize),
}
Expand description

Relocation implementation for the aarch64 architecture.

Variants

B
BCOND
ADR
ADRP
TBZ
Plain(RelocationSize)

Tuple Fields of Plain

0: RelocationSize

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The encoded representation for this relocation that is emitted by the dynasm! macro.

construct this relocation from an encoded representation.

construct this relocation from a simple size. This is used to implement relocations in directives and literal pools.

The size of the slice of bytes affected by this relocation

Write a value into a buffer of size self.size() in the format of this relocation. Any bits not part of the relocation should be preserved. Read more

Read a value from a buffer of size self.size() in the format of this relocation.

Specifies what kind of relocation this relocation instance is.

Specifies the default page size on this platform.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.