Struct llvm_ir::instruction::Alloca[][src]

pub struct Alloca {
    pub allocated_type: TypeRef,
    pub num_elements: Operand,
    pub dest: Name,
    pub alignment: u32,
    pub debugloc: Option<DebugLoc>,
}

Allocate memory on the stack. See LLVM 12 docs on the 'alloca' instruction

Fields

allocated_type: TypeRefnum_elements: Operanddest: Namealignment: u32debugloc: Option<DebugLoc>

Trait Implementations

impl Clone for Alloca[src]

impl Debug for Alloca[src]

impl Display for Alloca[src]

impl From<Alloca> for Instruction[src]

impl HasDebugLoc for Alloca[src]

impl HasResult for Alloca[src]

impl PartialEq<Alloca> for Alloca[src]

impl StructuralPartialEq for Alloca[src]

impl TryFrom<Instruction> for Alloca[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Typed for Alloca[src]

Auto Trait Implementations

impl RefUnwindSafe for Alloca[src]

impl Send for Alloca[src]

impl Sync for Alloca[src]

impl Unpin for Alloca[src]

impl UnwindSafe for Alloca[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.