[−][src]Struct inkwell::support::LLVMString
An owned LLVM String. Also known as a LLVM Message
Methods
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 Eq for LLVMString
[src]
impl Drop for LLVMString
[src]
impl PartialEq<LLVMString> for LLVMString
[src]
fn eq(&self, other: &LLVMString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Deref for LLVMString
[src]
impl Display for LLVMString
[src]
impl Debug for LLVMString
[src]
impl Error for LLVMString
[src]
Auto Trait Implementations
impl !Sync for LLVMString
impl !Send for LLVMString
impl Unpin for LLVMString
impl UnwindSafe for LLVMString
impl RefUnwindSafe for LLVMString
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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,