[−][src]Struct inkwell::values::ArrayValue
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]
fn as_aggregate_value_enum(&self) -> AggregateValueEnum
[src]
fn const_extract_value(&self, indexes: &mut [u32]) -> BasicValueEnum
[src]
fn const_insert_value<BV: BasicValue>(
&self,
value: BV,
indexes: &mut [u32]
) -> BasicValueEnum
[src]
&self,
value: BV,
indexes: &mut [u32]
) -> BasicValueEnum
impl BasicValue for ArrayValue
[src]
fn as_basic_value_enum(&self) -> BasicValueEnum
[src]
fn as_instruction_value(&self) -> Option<InstructionValue>
[src]
fn get_first_use(&self) -> Option<BasicValueUse>
[src]
impl AnyValue for ArrayValue
[src]
fn as_any_value_enum(&self) -> AnyValueEnum
[src]
impl Eq for ArrayValue
[src]
impl Clone for ArrayValue
[src]
fn clone(&self) -> ArrayValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ArrayValue> for ArrayValue
[src]
fn eq(&self, other: &ArrayValue) -> bool
[src]
fn ne(&self, other: &ArrayValue) -> bool
[src]
impl PartialEq<ArrayValue> for AggregateValueEnum
[src]
fn eq(&self, other: &ArrayValue) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<AggregateValueEnum> for ArrayValue
[src]
fn eq(&self, other: &AggregateValueEnum) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<ArrayValue> for AnyValueEnum
[src]
fn eq(&self, other: &ArrayValue) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<AnyValueEnum> for ArrayValue
[src]
fn eq(&self, other: &AnyValueEnum) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<ArrayValue> for BasicValueEnum
[src]
fn eq(&self, other: &ArrayValue) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<BasicValueEnum> for ArrayValue
[src]
fn eq(&self, other: &BasicValueEnum) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<ArrayValue> for BasicMetadataValueEnum
[src]
fn eq(&self, other: &ArrayValue) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<BasicMetadataValueEnum> for ArrayValue
[src]
fn eq(&self, other: &BasicMetadataValueEnum) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl From<ArrayValue> for AggregateValueEnum
[src]
fn from(value: ArrayValue) -> AggregateValueEnum
[src]
impl From<ArrayValue> for AnyValueEnum
[src]
fn from(value: ArrayValue) -> AnyValueEnum
[src]
impl From<ArrayValue> for BasicValueEnum
[src]
fn from(value: ArrayValue) -> BasicValueEnum
[src]
impl From<ArrayValue> for BasicMetadataValueEnum
[src]
fn from(value: ArrayValue) -> BasicMetadataValueEnum
[src]
impl Copy for ArrayValue
[src]
impl Hash for ArrayValue
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Debug for ArrayValue
[src]
impl TryFrom<BasicValueEnum> for ArrayValue
[src]
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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,