Struct cranelift::prelude::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 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 Clone for GlobalValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GlobalValue

Formats the value using the given formatter. Read more

impl ReservedValue for GlobalValue

Create an instance of the reserved value.

impl From<GlobalValue> for AnyEntity
[src]

Performs the conversion.

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 Display for GlobalValue

Formats the value using the given formatter. Read more

impl Copy for GlobalValue
[src]

impl Eq for GlobalValue
[src]

impl PartialEq<GlobalValue> for GlobalValue
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for GlobalValue

impl Sync for GlobalValue