Struct cranelift_codegen::ir::immediates::Offset32[][src]

pub struct Offset32(_);

32-bit signed immediate offset.

This is used to encode an immediate offset for load/store instructions. All supported ISAs have a maximum load/store offset that fits in an i32.

Methods

impl Offset32
[src]

Create a new Offset32 representing the signed number x.

Trait Implementations

impl Copy for Offset32
[src]

impl Clone for Offset32
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Offset32
[src]

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

This method tests for !=.

impl Eq for Offset32
[src]

impl Debug for Offset32
[src]

Formats the value using the given formatter. Read more

impl Hash for Offset32
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Into<i32> for Offset32
[src]

Performs the conversion.

impl Into<i64> for Offset32
[src]

Performs the conversion.

impl From<i32> for Offset32
[src]

Performs the conversion.

impl Display for Offset32
[src]

Formats the value using the given formatter. Read more

impl FromStr for Offset32
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for Offset32

impl Sync for Offset32