Struct llvm::Target [] [src]

pub struct Target;

Methods

impl Target
[src]

fn get_name(&self) -> &str

Returns the name of this target.

fn get_description(&self) -> &str

Returns the description of this target.

fn has_asm_backend(&self) -> bool

Returns true if this target has an assembly generation backend implemented.

fn has_jit(&self) -> bool

Returns true if this target supports JIT compilation.

fn has_target_machine(&self) -> bool

Returns true if this target has a target machine.

Trait Implementations

impl Eq for Target
[src]

impl PartialEq<Target> for Target
[src]

fn eq(&self, other: &Target) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl<'a> PartialEq<Target> for &'a Target
[src]

fn eq(&self, other: &Target) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl<'a> From<LLVMTargetRef> for &'a Target
[src]

fn from(ty: LLVMTargetRef) -> &'a Target

Performs the conversion.

impl<'a> From<LLVMTargetRef> for &'a mut Target
[src]

fn from(ty: LLVMTargetRef) -> &'a mut Target

Performs the conversion.