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<TargetTriple> for TargetTriple
impl PartialEq<TargetTriple> 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 ==
.