Struct inkwell::targets::TargetTriple
source · pub struct TargetTriple { /* private fields */ }
Implementations§
source§impl TargetTriple
impl TargetTriple
pub unsafe fn new(triple: LLVMString) -> TargetTriple
pub fn create(triple: &str) -> TargetTriple
pub fn as_str(&self) -> &CStr
pub fn as_ptr(&self) -> *const c_char
Trait Implementations§
source§impl Debug for TargetTriple
impl Debug for TargetTriple
source§impl Display for TargetTriple
impl Display for TargetTriple
source§impl PartialEq for TargetTriple
impl PartialEq for TargetTriple
source§fn eq(&self, other: &TargetTriple) -> bool
fn eq(&self, other: &TargetTriple) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TargetTriple
Auto Trait Implementations§
impl Freeze for TargetTriple
impl RefUnwindSafe for TargetTriple
impl !Send for TargetTriple
impl !Sync for TargetTriple
impl Unpin for TargetTriple
impl UnwindSafe for TargetTriple
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more