pub struct Target(_);Implementations§
source§impl Target
impl Target
sourcepub fn get_description(&self) -> &str
pub fn get_description(&self) -> &str
Returns the description of this target.
sourcepub fn has_asm_backend(&self) -> bool
pub fn has_asm_backend(&self) -> bool
Returns true if this target has an assembly generation backend implemented.
sourcepub fn has_target_machine(&self) -> bool
pub fn has_target_machine(&self) -> bool
Returns true if this target has a target machine.
Trait Implementations§
source§impl<'a> From<&'a Target> for LLVMTargetRef
impl<'a> From<&'a Target> for LLVMTargetRef
source§fn from(ty: &'a Target) -> LLVMTargetRef
fn from(ty: &'a Target) -> LLVMTargetRef
Converts to this type from the input type.
source§impl<'a> From<&'a mut Target> for LLVMTargetRef
impl<'a> From<&'a mut Target> for LLVMTargetRef
source§fn from(ty: &'a mut Target) -> LLVMTargetRef
fn from(ty: &'a mut Target) -> LLVMTargetRef
Converts to this type from the input type.
source§impl<'a> From<*mut LLVMTarget> for &'a Target
impl<'a> From<*mut LLVMTarget> for &'a Target
source§fn from(ty: LLVMTargetRef) -> &'a Target
fn from(ty: LLVMTargetRef) -> &'a Target
Converts to this type from the input type.
source§impl<'a> From<*mut LLVMTarget> for &'a mut Target
impl<'a> From<*mut LLVMTarget> for &'a mut Target
source§fn from(ty: LLVMTargetRef) -> &'a mut Target
fn from(ty: LLVMTargetRef) -> &'a mut Target
Converts to this type from the input type.