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 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