Enum arm_attr::tag::Tag

source ·
pub enum Tag<'a> {
Show 49 variants File { end_offset: u32, }, Section { end_offset: u32, sections: &'a [u8], }, Symbol { end_offset: u32, symbols: &'a [u8], }, CpuRawName(&'a str), CpuName(CpuName<'a>), CpuArch(CpuArch), CpuArchProfile(CpuArchProfile), ArmIsaUse(ArmIsaUse), ThumbIsaUse(ThumbIsaUse), FpArch(FpArch), WmmxArch(WmmxArch), AsimdArch(AsimdArch), PcsConfig(PcsConfig), AbiPcsR9Use(AbiPcsR9Use), AbiPcsRwData(AbiPcsRwData), AbiPcsRoData(AbiPcsRoData), AbiPcsGotUse(AbiPcsGotUse), AbiPcsWcharT(AbiPcsWcharT), AbiFpRounding(AbiFpRounding), AbiFpDenormal(AbiFpDenormal), AbiFpExceptions(AbiFpExceptions), AbiFpUserExceptions(AbiFpUserExceptions), AbiFpNumberModel(AbiFpNumberModel), AbiAlignNeeded(AbiAlignNeeded), AbiAlignPreserved(AbiAlignPreserved), AbiEnumSize(AbiEnumSize), AbiHardFpUse(AbiHardFpUse), AbiVfpArgs(AbiVfpArgs), AbiWmmxArgs(AbiWmmxArgs), AbiOptGoals(AbiOptGoals), AbiFpOptGoals(AbiFpOptGoals), Compat(Compat<'a>), CpuUnalignedAccess(CpuUnalignedAccess), FpHpExt(FpHpExt), AbiFp16BitFormat(AbiFp16BitFormat), MpExtUse(MpExtUse), DivUse(DivUse), DspExt(DspExt), MveArch(MveArch), PacExt(PacExt), BtiExt(BtiExt), NoDefaults, AlsoCompatWith(AlsoCompatWith<'a>), Conform(Conform<'a>), T2EeUse(T2EeUse), VirtualUse(VirtualUse), FramePointerUse(FramePointerUse), BtiUse(BtiUse), PacretUse(PacretUse),
}

Variants§

§

File

Tag_File

Fields

§end_offset: u32
§

Section

Tag_Section

Fields

§end_offset: u32
§sections: &'a [u8]
§

Symbol

Tag_Symbol

Fields

§end_offset: u32
§symbols: &'a [u8]
§

CpuRawName(&'a str)

Tag_CPU_raw_name

§

CpuName(CpuName<'a>)

Tag_CPU_name

§

CpuArch(CpuArch)

Tag_CPU_arch

§

CpuArchProfile(CpuArchProfile)

Tag_CPU_arch_profile

§

ArmIsaUse(ArmIsaUse)

Tag_ARM_ISA_use

§

ThumbIsaUse(ThumbIsaUse)

Tag_THUMB_ISA_use

§

FpArch(FpArch)

Tag_FP_arch

§

WmmxArch(WmmxArch)

Tag_WMMX_arch

§

AsimdArch(AsimdArch)

Tag_Advanced_SIMD_arch

§

PcsConfig(PcsConfig)

Tag_PCS_config

§

AbiPcsR9Use(AbiPcsR9Use)

Tag_ABI_PCS_R9_use

§

AbiPcsRwData(AbiPcsRwData)

Tag_ABI_PCS_RW_data

§

AbiPcsRoData(AbiPcsRoData)

Tag_ABI_PCS_RO_data

§

AbiPcsGotUse(AbiPcsGotUse)

Tag_ABI_PCS_GOT_use

§

AbiPcsWcharT(AbiPcsWcharT)

Tag_ABI_PCS_wchar_t

§

AbiFpRounding(AbiFpRounding)

Tag_ABI_FP_rounding

§

AbiFpDenormal(AbiFpDenormal)

Tag_ABI_FP_denormal

§

AbiFpExceptions(AbiFpExceptions)

Tag_ABI_FP_exceptions

§

AbiFpUserExceptions(AbiFpUserExceptions)

Tag_ABI_FP_user_exceptions

§

AbiFpNumberModel(AbiFpNumberModel)

Tag_ABI_FP_number_model

§

AbiAlignNeeded(AbiAlignNeeded)

Tag_ABI_align_needed

§

AbiAlignPreserved(AbiAlignPreserved)

Tag_ABI_align_preserved

§

AbiEnumSize(AbiEnumSize)

Tag_ABI_enum_size

§

AbiHardFpUse(AbiHardFpUse)

Tag_ABI_HardFP_use

§

AbiVfpArgs(AbiVfpArgs)

Tag_ABI_VFP_args

§

AbiWmmxArgs(AbiWmmxArgs)

Tag_ABI_WMMX_args

§

AbiOptGoals(AbiOptGoals)

Tag_ABI_optimization_goals

§

AbiFpOptGoals(AbiFpOptGoals)

Tag_ABI_FP_optimization_goals

§

Compat(Compat<'a>)

Tag_compatibility

§

CpuUnalignedAccess(CpuUnalignedAccess)

Tag_CPU_unaligned_access

§

FpHpExt(FpHpExt)

Tag_FP_HP_extension

§

AbiFp16BitFormat(AbiFp16BitFormat)

Tag_ABI_FP_16bit_format

§

MpExtUse(MpExtUse)

Tag_MPextension_use

§

DivUse(DivUse)

Tag_DIV_use

§

DspExt(DspExt)

Tag_DSP_extension

§

MveArch(MveArch)

Tag_MVE_arch

§

PacExt(PacExt)

Tag_PAC_extension

§

BtiExt(BtiExt)

Tag_BTI_extension

§

NoDefaults

Tag_nodefaults

§

AlsoCompatWith(AlsoCompatWith<'a>)

Tag_also_compatible_with

§

Conform(Conform<'a>)

Tag_conformance

§

T2EeUse(T2EeUse)

Tag_T2EE_use

§

VirtualUse(VirtualUse)

Tag_Virtualization_use

§

FramePointerUse(FramePointerUse)

Tag_FramePointer_use

§

BtiUse(BtiUse)

Tag_BTI_use

§

PacretUse(PacretUse)

Tag_PACRET_use

Implementations§

source§

impl<'a> Tag<'a>

source

pub fn is_uleb128(&self) -> bool

source

pub fn is_scope(&self) -> bool

source

pub fn raw_tag(&self) -> u8

Trait Implementations§

source§

impl<'a> Clone for Tag<'a>

source§

fn clone(&self) -> Tag<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for Tag<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> Hash for Tag<'a>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> PartialEq for Tag<'a>

source§

fn eq(&self, other: &Tag<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a> Eq for Tag<'a>

source§

impl<'a> StructuralPartialEq for Tag<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Tag<'a>

§

impl<'a> RefUnwindSafe for Tag<'a>

§

impl<'a> Send for Tag<'a>

§

impl<'a> Sync for Tag<'a>

§

impl<'a> Unpin for Tag<'a>

§

impl<'a> UnwindSafe for Tag<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.