Struct build_helper::Triple [] [src]

pub struct Triple { /* fields omitted */ }

Platform triple.

Methods

impl Triple
[src]

Create a Triple from its string representation.

Get triple as a string.

Platform processor architecture.

Values include "i686", "x86_64", "arm", etc.

Platform toolchain environment.

Values include "gnu", "msvc", "musl", "android" etc. Value is None if the platform doesn't specify an environment.

Platform machine family.

Values include "apple", "pc", "unknown", etc.

Platform operating system.

Values include "linux", "windows", "ios", etc.

Trait Implementations

impl Clone for Triple
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Triple
[src]

impl PartialEq for Triple
[src]

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

This method tests for !=.

impl Debug for Triple
[src]

Formats the value using the given formatter.

impl Display for Triple
[src]

Formats the value using the given formatter. Read more

impl FromStr for Triple
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more