Enum target_lexicon::ArmArchitecture
source · #[non_exhaustive]pub enum ArmArchitecture {
Show 42 variants
Arm,
Armeb,
Armv4,
Armv4t,
Armv5t,
Armv5te,
Armv5tej,
Armv6,
Armv6j,
Armv6k,
Armv6z,
Armv6kz,
Armv6t2,
Armv6m,
Armv7,
Armv7a,
Armv7k,
Armv7ve,
Armv7m,
Armv7r,
Armv7s,
Armv8,
Armv8a,
Armv8_1a,
Armv8_2a,
Armv8_3a,
Armv8_4a,
Armv8_5a,
Armv8mBase,
Armv8mMain,
Armv8r,
Armebv7r,
Thumbeb,
Thumbv4t,
Thumbv5te,
Thumbv6m,
Thumbv7a,
Thumbv7em,
Thumbv7m,
Thumbv7neon,
Thumbv8mBase,
Thumbv8mMain,
}
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.
Arm
Armeb
Armv4
Armv4t
Armv5t
Armv5te
Armv5tej
Armv6
Armv6j
Armv6k
Armv6z
Armv6kz
Armv6t2
Armv6m
Armv7
Armv7a
Armv7k
Armv7ve
Armv7m
Armv7r
Armv7s
Armv8
Armv8a
Armv8_1a
Armv8_2a
Armv8_3a
Armv8_4a
Armv8_5a
Armv8mBase
Armv8mMain
Armv8r
Armebv7r
Thumbeb
Thumbv4t
Thumbv5te
Thumbv6m
Thumbv7a
Thumbv7em
Thumbv7m
Thumbv7neon
Thumbv8mBase
Thumbv8mMain
Implementations§
source§impl ArmArchitecture
impl ArmArchitecture
sourcepub fn pointer_width(self) -> PointerWidth
pub fn pointer_width(self) -> PointerWidth
Return the pointer bit width of this target’s architecture.
sourcepub fn endianness(self) -> Endianness
pub fn endianness(self) -> Endianness
Return the endianness of this architecture.
Trait Implementations§
source§impl Clone for ArmArchitecture
impl Clone for ArmArchitecture
source§fn clone(&self) -> ArmArchitecture
fn clone(&self) -> ArmArchitecture
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArmArchitecture
impl Debug for ArmArchitecture
source§impl Display for ArmArchitecture
impl Display for ArmArchitecture
source§impl FromStr for ArmArchitecture
impl FromStr for ArmArchitecture
source§impl Hash for ArmArchitecture
impl Hash for ArmArchitecture
source§impl PartialEq<ArmArchitecture> for ArmArchitecture
impl PartialEq<ArmArchitecture> for ArmArchitecture
source§fn eq(&self, other: &ArmArchitecture) -> bool
fn eq(&self, other: &ArmArchitecture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ArmArchitecture
impl Eq for ArmArchitecture
impl StructuralEq for ArmArchitecture
impl StructuralPartialEq for ArmArchitecture
Auto Trait Implementations§
impl RefUnwindSafe for ArmArchitecture
impl Send for ArmArchitecture
impl Sync for ArmArchitecture
impl Unpin for ArmArchitecture
impl UnwindSafe for ArmArchitecture
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