Struct llvm::Alias
[−]
[src]
pub struct Alias;
An alias to another global value.
Methods from Deref<Target=GlobalValue>
fn set_linkage(&self, linkage: Linkage)
Set the linkage type for this global
fn get_linkage(&self) -> Linkage
Returns the linkage type for this global
fn is_declaration(&self) -> bool
Returns true if this global is a declaration (as opposed to a definition).
Trait Implementations
impl Eq for Alias
[src]
impl PartialEq<Alias> for Alias
[src]
fn eq(&self, other: &Alias) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<'a> PartialEq<Alias> for &'a Alias
[src]
fn eq(&self, other: &Alias) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<'a> From<LLVMValueRef> for &'a Alias
[src]
fn from(ty: LLVMValueRef) -> &'a Alias
Performs the conversion.
impl<'a> From<LLVMValueRef> for &'a mut Alias
[src]
fn from(ty: LLVMValueRef) -> &'a mut Alias
Performs the conversion.
impl Sub<GlobalValue> for Alias
[src]
fn is(value: &GlobalValue) -> bool
Check if the given super value is an instance of this type.
fn from_super(value: &GlobalValue) -> Option<&Alias>
Attempt to cast the given super value into an instance of this type.
fn to_super(&self) -> &T
Cast this value to a super value.
impl Deref for Alias
[src]
type Target = GlobalValue
The resulting type after dereferencing
fn deref(&self) -> &GlobalValue
The method called to dereference a value