Enum target_spec_json::TargetEnv
source · #[non_exhaustive]pub enum TargetEnv {
Show 15 variants
eabihf,
gnu,
gnueabihf,
libnx,
msvc,
musl,
newlib,
none,
nto70,
nto71,
ohos,
psx,
relibc,
sgx,
uclibc,
}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.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TargetEnv
impl<'de> Deserialize<'de> for TargetEnv
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TargetEnv> for TargetEnv
impl PartialEq<TargetEnv> for TargetEnv
impl Copy for TargetEnv
impl Eq for TargetEnv
impl StructuralEq for TargetEnv
impl StructuralPartialEq for TargetEnv
Auto Trait Implementations§
impl RefUnwindSafe for TargetEnv
impl Send for TargetEnv
impl Sync for TargetEnv
impl Unpin for TargetEnv
impl UnwindSafe for TargetEnv
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more