[][src]Struct inkwell::values::MetadataValue

pub struct MetadataValue { /* fields omitted */ }

Methods

impl MetadataValue[src]

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

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

pub fn create_node(values: &[&dyn BasicValue]) -> Self[src]

pub fn create_string(string: &str) -> Self[src]

pub fn get_string_value(&self) -> Option<&CStr>[src]

pub fn get_node_size(&self) -> u32[src]

pub fn get_node_values(&self) -> Vec<BasicMetadataValueEnum>[src]

pub fn get_kind_id(key: &str) -> u32[src]

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

pub fn print_to_stderr(&self)[src]

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

Trait Implementations

impl Eq for MetadataValue[src]

impl Clone for MetadataValue[src]

impl PartialEq<MetadataValue> for BasicMetadataValueEnum[src]

impl PartialEq<BasicMetadataValueEnum> for MetadataValue[src]

impl PartialEq<MetadataValue> for MetadataValue[src]

impl From<MetadataValue> for BasicMetadataValueEnum[src]

impl Copy for MetadataValue[src]

impl Hash for MetadataValue[src]

impl Debug for MetadataValue[src]

Auto Trait Implementations

impl !Sync for MetadataValue

impl !Send for MetadataValue

impl Unpin for MetadataValue

impl UnwindSafe for MetadataValue

impl RefUnwindSafe for MetadataValue

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]