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