Enum target_lexicon::Vendor [−][src]
#[non_exhaustive]
pub enum Vendor {
Unknown,
Amd,
Apple,
Experimental,
Fortanix,
Nvidia,
Pc,
Rumprun,
Sun,
Uwp,
Wrs,
Custom(CustomVendor),
}
Expand description
The “vendor” field, which in practice is little more than an arbitrary modifier.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
Amd
Apple
Experimental
Fortanix
Nvidia
Pc
Rumprun
Sun
Uwp
Wrs
Custom(CustomVendor)
Tuple Fields
0: CustomVendor
A custom vendor. “Custom” in this context means that the vendor is not specifically recognized by upstream Autotools, LLVM, Rust, or other relevant authorities on triple naming. It’s useful for people building and using locally patched toolchains.
Outside of such patched environments, users of target-lexicon
should
treat Custom
the same as Unknown
and ignore the string.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Vendor
impl UnwindSafe for Vendor
Blanket Implementations
Mutably borrows from an owned value. Read more