Enum target_lexicon::ArmArchitecture[][src]

#[non_exhaustive]pub enum ArmArchitecture {
    Arm,
    Armeb,
    Armv4,
    Armv4t,
    Armv5t,
    Armv5te,
    Armv5tej,
    Armv6,
    Armv6j,
    Armv6k,
    Armv6z,
    Armv6kz,
    Armv6t2,
    Armv6m,
    Armv7,
    Armv7a,
    Armv7ve,
    Armv7m,
    Armv7r,
    Armv7s,
    Armv8,
    Armv8a,
    Armv8_1a,
    Armv8_2a,
    Armv8_3a,
    Armv8_4a,
    Armv8_5a,
    Armv8mBase,
    Armv8mMain,
    Armv8r,
    Armebv7r,
    Thumbeb,
    Thumbv4t,
    Thumbv6m,
    Thumbv7a,
    Thumbv7em,
    Thumbv7m,
    Thumbv7neon,
    Thumbv8mBase,
    Thumbv8mMain,
}

Variants (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
Armv7ve
Armv7m
Armv7r
Armv7s
Armv8
Armv8a
Armv8_1a
Armv8_2a
Armv8_3a
Armv8_4a
Armv8_5a
Armv8mBase
Armv8mMain
Armv8r
Armebv7r
Thumbeb
Thumbv4t
Thumbv6m
Thumbv7a
Thumbv7em
Thumbv7m
Thumbv7neon
Thumbv8mBase
Thumbv8mMain

Implementations

impl ArmArchitecture[src]

pub fn is_thumb(self) -> bool[src]

Test if this architecture uses the Thumb instruction set.

pub fn pointer_width(self) -> PointerWidth[src]

Return the pointer bit width of this target’s architecture.

pub fn endianness(self) -> Endianness[src]

Return the endianness of this architecture.

Trait Implementations

impl Clone for ArmArchitecture[src]

impl Copy for ArmArchitecture[src]

impl Debug for ArmArchitecture[src]

impl Display for ArmArchitecture[src]

impl Eq for ArmArchitecture[src]

impl FromStr for ArmArchitecture[src]

type Err = ()

The associated error which can be returned from parsing.

impl Hash for ArmArchitecture[src]

impl PartialEq<ArmArchitecture> for ArmArchitecture[src]

impl StructuralEq for ArmArchitecture[src]

impl StructuralPartialEq for ArmArchitecture[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.