Enum target_tuples::Environment [−][src]
#[repr(u32)]
pub enum Environment {
Show 23 variants
Unknown,
GNU,
GNUABIN32,
GNUABI64,
GNUEABI,
GNUEABIHF,
GNUX32,
CODE16,
EABI,
EABIHF,
Android,
Musl,
MuslEABI,
MuslEABIHF,
MSVC,
Itanium,
Cygnus,
CoreCLR,
Simulator,
MacABI,
PhantomStandard,
PhantomKernel,
Null,
// some variants omitted
}Expand description
The Environment field of target tuples
Variants
Implementations
Parses the Environment name in a “lossy” manner
This is equivalent to Self::from_str, except that Environment::Unknown is returned, instead of an error, on an unknown OS Field
Returns the canonical name of the environment
The canonical name, when passed into Self::parse will yield an equivalent value,
Formatting an Environment yields this string
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
Blanket Implementations
Mutably borrows from an owned value. Read more