Enum llhd::ir::UnitName [−][src]
Expand description
A name of a function, process, or entity.
Variants
Anonymous(u32)
An anonymous name, like %42
.
Tuple Fields of Anonymous
0: u32
Local(String)
A local name, like %foo
.
Tuple Fields of Local
0: String
Global(String)
A global name, like @foo
.
Tuple Fields of Global
0: String
Implementations
Check whether this is a local name.
Local names can only be linked within the same module.
Check whether this is a global name.
Global names may be referenced by other modules and are considered by the global linker.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for UnitName
impl UnwindSafe for UnitName
Blanket Implementations
Mutably borrows from an owned value. Read more