Struct cranelift_codegen::ir::entities::GlobalValue[][src]

pub struct GlobalValue(_);

An opaque reference to a global value.

Methods

impl GlobalValue
[src]

Create a new global value reference from its number.

This method is for use by the parser.

Trait Implementations

impl Copy for GlobalValue
[src]

impl Clone for GlobalValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for GlobalValue
[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 GlobalValue
[src]

impl Hash for GlobalValue
[src]

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

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

impl EntityRef for GlobalValue

Create a new entity reference from a small integer. This should crash if the requested index is not representable. Read more

Get the index that was used to create this entity reference.

impl ReservedValue for GlobalValue

Create an instance of the reserved value.

impl Display for GlobalValue

Formats the value using the given formatter. Read more

impl Debug for GlobalValue

Formats the value using the given formatter. Read more

impl From<GlobalValue> for AnyEntity
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for GlobalValue

impl Sync for GlobalValue