Enum 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 TargetTripleimpl Send for TargetTripleimpl Sync for TargetTripleimpl Unpin for TargetTripleimpl UnwindSafe for TargetTripleBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes