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