[][src]Struct inkwell::support::LLVMString

pub struct LLVMString { /* fields omitted */ }

An owned LLVM String. Also known as a LLVM Message


impl LLVMString[src]

pub fn to_string(&self) -> String[src]

This is a convenience method for creating a Rust String, however; it will reallocate. LLVMString should be used as much as possible to save memory since it is allocated by LLVM. It's essentially a CString with a custom LLVM deallocator

Trait Implementations

impl Debug for LLVMString[src]

impl Deref for LLVMString[src]

type Target = CStr

The resulting type after dereferencing.

impl Display for LLVMString[src]

impl Drop for LLVMString[src]

impl Eq for LLVMString[src]

impl Error for LLVMString[src]

impl PartialEq<LLVMString> for LLVMString[src]

impl StructuralEq for LLVMString[src]

Auto Trait Implementations

impl RefUnwindSafe for LLVMString

impl !Send for LLVMString

impl !Sync for LLVMString

impl Unpin for LLVMString

impl UnwindSafe for LLVMString

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.