Struct llvm_rs::value::Alias

source ·
pub struct Alias(_);
Expand description

An alias to another global value.

Methods from Deref<Target = GlobalValue>§

Set the linkage type for this global

Returns the linkage type for this global

Returns true if this global is a declaration (as opposed to a definition).

Methods from Deref<Target = Value>§

Returns the name of this value, or None if it lacks a name

Sets the name of this value

Returns the type of this value

Trait Implementations§

Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Check if the given super value is an instance of this type.
Attempt to cast the given super value into an instance of this type.
Cast this value to a super value.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.