[][src]Struct inkwell::values::StructValue

pub struct StructValue { /* fields omitted */ }

Methods

impl StructValue[src]

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

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

pub fn get_type(&self) -> StructType[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: StructValue)[src]

Trait Implementations

impl AggregateValue for StructValue[src]

impl BasicValue for StructValue[src]

impl AnyValue for StructValue[src]

impl Eq for StructValue[src]

impl Clone for StructValue[src]

impl PartialEq<StructValue> for AggregateValueEnum[src]

impl PartialEq<AggregateValueEnum> for StructValue[src]

impl PartialEq<StructValue> for AnyValueEnum[src]

impl PartialEq<AnyValueEnum> for StructValue[src]

impl PartialEq<StructValue> for BasicValueEnum[src]

impl PartialEq<BasicValueEnum> for StructValue[src]

impl PartialEq<StructValue> for BasicMetadataValueEnum[src]

impl PartialEq<BasicMetadataValueEnum> for StructValue[src]

impl PartialEq<StructValue> for StructValue[src]

impl From<StructValue> for AggregateValueEnum[src]

impl From<StructValue> for AnyValueEnum[src]

impl From<StructValue> for BasicValueEnum[src]

impl From<StructValue> for BasicMetadataValueEnum[src]

impl Copy for StructValue[src]

impl Hash for StructValue[src]

impl Debug for StructValue[src]

impl TryFrom<BasicValueEnum> for StructValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

Auto Trait Implementations

impl !Sync for StructValue

impl !Send for StructValue

impl Unpin for StructValue

impl UnwindSafe for StructValue

impl RefUnwindSafe for StructValue

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]