[][src]Struct inkwell::values::ArrayValue

pub struct ArrayValue { /* fields omitted */ }

Methods

impl ArrayValue[src]

pub fn get_name(&self) -> &CStr[src]

pub fn set_name(&self, name: &str)[src]

pub fn get_type(&self) -> ArrayType[src]

pub fn is_null(&self) -> bool[src]

pub fn is_undef(&self) -> bool[src]

pub fn print_to_string(&self) -> LLVMString[src]

pub fn print_to_stderr(&self)[src]

pub fn as_instruction(&self) -> Option<InstructionValue>[src]

pub fn has_metadata(&self) -> bool[src]

pub fn get_metadata(&self, kind_id: u32) -> Option<MetadataValue>[src]

pub fn set_metadata(&self, metadata: MetadataValue, kind_id: u32)[src]

pub fn replace_all_uses_with(&self, other: ArrayValue)[src]

pub fn is_const(&self) -> bool[src]

Determines whether or not an ArrayValue is a constant.

Example

use inkwell::context::Context;

let context = Context::create();
let i64_type = context.i64_type();
let i64_val = i64_type.const_int(23, false);
let array_val = i64_type.const_array(&[i64_val]);

assert!(array_val.is_const());

Trait Implementations

impl AggregateValue for ArrayValue[src]

impl BasicValue for ArrayValue[src]

impl AnyValue for ArrayValue[src]

impl Eq for ArrayValue[src]

impl Clone for ArrayValue[src]

impl PartialEq<ArrayValue> for ArrayValue[src]

impl PartialEq<ArrayValue> for AggregateValueEnum[src]

impl PartialEq<AggregateValueEnum> for ArrayValue[src]

impl PartialEq<ArrayValue> for AnyValueEnum[src]

impl PartialEq<AnyValueEnum> for ArrayValue[src]

impl PartialEq<ArrayValue> for BasicValueEnum[src]

impl PartialEq<BasicValueEnum> for ArrayValue[src]

impl PartialEq<ArrayValue> for BasicMetadataValueEnum[src]

impl PartialEq<BasicMetadataValueEnum> for ArrayValue[src]

impl From<ArrayValue> for AggregateValueEnum[src]

impl From<ArrayValue> for AnyValueEnum[src]

impl From<ArrayValue> for BasicValueEnum[src]

impl From<ArrayValue> for BasicMetadataValueEnum[src]

impl Copy for ArrayValue[src]

impl Hash for ArrayValue[src]

impl Debug for ArrayValue[src]

impl TryFrom<BasicValueEnum> for ArrayValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

Auto Trait Implementations

impl !Sync for ArrayValue

impl !Send for ArrayValue

impl Unpin for ArrayValue

impl UnwindSafe for ArrayValue

impl RefUnwindSafe for ArrayValue

Blanket Implementations

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> From<T> for T[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.

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

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

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