Enum rustc_ap_rustc_target::spec::TargetTriple [−][src]
Expand description
Either a target triple string or a path to a JSON file.
Variants
TargetTriple(String)
TargetPath(PathBuf)
Implementations
Creates a target triple from the passed target triple string.
Creates a target triple from the passed target path.
Returns a string triple for this target.
If this target is a path, the file name (without extension) is returned.
Returns an extended string triple for this target.
If this target is a path, a hash of the path is appended to the triple returned
by triple()
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V