Enum rustc_target::spec::apple_base::Arch
source · pub enum Arch {
Armv7,
Armv7k,
Armv7s,
Arm64,
Arm64_32,
I386,
I686,
X86_64,
X86_64_sim,
X86_64_macabi,
Arm64_macabi,
Arm64_sim,
}
Variants§
Armv7
Armv7k
Armv7s
Arm64
Arm64_32
I386
I686
X86_64
X86_64_sim
X86_64_macabi
Arm64_macabi
Arm64_sim
Implementations§
source§impl Arch
impl Arch
pub fn target_name(self) -> &'static str
pub fn target_arch(self) -> Cow<'static, str>
fn target_abi(self) -> &'static str
fn target_cpu(self) -> &'static str
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Arch
impl Send for Arch
impl Sync for Arch
impl Unpin for Arch
impl UnwindSafe for Arch
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. 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: 1 byte
Size for each variant:
Armv7
: 0 bytesArmv7k
: 0 bytesArmv7s
: 0 bytesArm64
: 0 bytesArm64_32
: 0 bytesI386
: 0 bytesI686
: 0 bytesX86_64
: 0 bytesX86_64_sim
: 0 bytesX86_64_macabi
: 0 bytesArm64_macabi
: 0 bytesArm64_sim
: 0 bytes