Struct melior_next::ir::Identifier
source · pub struct Identifier<'c> { /* private fields */ }
Expand description
An identifier.
Implementations§
source§impl<'c> Identifier<'c>
impl<'c> Identifier<'c>
sourcepub fn context(&self) -> ContextRef<'c>
pub fn context(&self) -> ContextRef<'c>
Gets a context.
sourcepub fn as_string_ref(&self) -> StringRef<'_>
pub fn as_string_ref(&self) -> StringRef<'_>
Converts an identifier into a string reference.
Trait Implementations§
source§impl<'c> Clone for Identifier<'c>
impl<'c> Clone for Identifier<'c>
source§fn clone(&self) -> Identifier<'c>
fn clone(&self) -> Identifier<'c>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more