[][src]Trait llir::values::GlobalValueTrait

pub trait GlobalValueTrait<'ctx>: ValueRef {
    fn as_global(&self) -> Global<'ctx>;

    fn name(&self) -> String { ... }
}

Required methods

fn as_global(&self) -> Global<'ctx>

Global value can be turned into a Global enum

Loading content...

Provided methods

fn name(&self) -> String

Get the name of this global

Loading content...

Implementors

impl<'ctx> GlobalValueTrait<'ctx> for Global<'ctx>[src]

Global variable implements the trait for global value

impl<'ctx> GlobalValueTrait<'ctx> for GlobalAlias<'ctx>[src]

Global alias implements the trait for global value

impl<'ctx> GlobalValueTrait<'ctx> for GlobalVariable<'ctx>[src]

Global value implements the trait for global value

Loading content...