Struct llvm_kaleidoscope_rs::llvm::FnValue [−][src]
#[repr(transparent)]pub struct FnValue<'llvm>(_);
Expand description
Wrapper for a LLVM Value Reference specialized for contexts where function values are needed.
Implementations
Get a type reference representing the return value of the given function value.
Panics
Panics if LLVM API returns a null
pointer.
Get a value reference for the function argument at index idx
.
Panics
Panics if LLVM API returns a null
pointer or indexed out of bounds.
Get the number of Basic Blocks for the given function value.
Methods from Deref<Target = Value<'llvm>>
Get a type reference representing for the given value reference.
Panics
Panics if LLVM API returns a null
pointer.
Trait Implementations
Auto Trait Implementations
impl<'llvm> RefUnwindSafe for FnValue<'llvm>
impl<'llvm> UnwindSafe for FnValue<'llvm>
Blanket Implementations
Mutably borrows from an owned value. Read more