[−][src]Struct inkwell::values::StructValue
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]
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 StructValue
[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 StructValue
[src]
fn as_any_value_enum(&self) -> AnyValueEnum
[src]
impl Eq for StructValue
[src]
impl Clone for StructValue
[src]
fn clone(&self) -> StructValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<StructValue> for AggregateValueEnum
[src]
fn eq(&self, other: &StructValue) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<AggregateValueEnum> for StructValue
[src]
fn eq(&self, other: &AggregateValueEnum) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<StructValue> for AnyValueEnum
[src]
fn eq(&self, other: &StructValue) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<AnyValueEnum> for StructValue
[src]
fn eq(&self, other: &AnyValueEnum) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<StructValue> for BasicValueEnum
[src]
fn eq(&self, other: &StructValue) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<BasicValueEnum> for StructValue
[src]
fn eq(&self, other: &BasicValueEnum) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<StructValue> for BasicMetadataValueEnum
[src]
fn eq(&self, other: &StructValue) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<BasicMetadataValueEnum> for StructValue
[src]
fn eq(&self, other: &BasicMetadataValueEnum) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<StructValue> for StructValue
[src]
fn eq(&self, other: &StructValue) -> bool
[src]
fn ne(&self, other: &StructValue) -> bool
[src]
impl From<StructValue> for AggregateValueEnum
[src]
fn from(value: StructValue) -> AggregateValueEnum
[src]
impl From<StructValue> for AnyValueEnum
[src]
fn from(value: StructValue) -> AnyValueEnum
[src]
impl From<StructValue> for BasicValueEnum
[src]
fn from(value: StructValue) -> BasicValueEnum
[src]
impl From<StructValue> for BasicMetadataValueEnum
[src]
fn from(value: StructValue) -> BasicMetadataValueEnum
[src]
impl Copy for StructValue
[src]
impl Hash for StructValue
[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 StructValue
[src]
impl TryFrom<BasicValueEnum> for StructValue
[src]
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]
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,