[][src]Struct inkwell::values::GenericValue

pub struct GenericValue { /* fields omitted */ }

Methods

impl GenericValue[src]

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

pub unsafe fn create_generic_value_of_pointer<T>(value: &mut T) -> Self[src]

pub fn as_int(&self, is_signed: bool) -> u64[src]

pub fn as_float(&self, float_type: &FloatType) -> f64[src]

pub unsafe fn into_pointer<T>(self) -> *mut T[src]

Trait Implementations

impl Drop for GenericValue[src]

impl Debug for GenericValue[src]

Auto Trait Implementations

impl !Sync for GenericValue

impl !Send for GenericValue

impl Unpin for GenericValue

impl UnwindSafe for GenericValue

impl RefUnwindSafe for GenericValue

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]