[−][src]Struct llhd::Inst
Methods
impl Inst
[src]
pub fn new(name: Option<String>, kind: InstKind) -> Inst
[src]
Create a new instruction.
pub fn as_ref(&self) -> InstRef
[src]
Obtain a reference to this instruction.
pub fn mnemonic(&self) -> Mnemonic
[src]
Determine the mnemonic for this instruction. The mnemonic is a short sequence of characters that uniquely identifies the instruction in human readable assembly text.
pub fn kind(&self) -> &InstKind
[src]
Obtain a reference to the data for this instruction. See InstKind
.
Trait Implementations
impl Value for Inst
[src]
fn id(&self) -> ValueId
[src]
fn ty(&self) -> Type
[src]
fn name(&self) -> Option<&str>
[src]
fn is_global(&self) -> bool
[src]
impl Debug for Inst
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,