pub enum AArch64InlineAsmReg {
Show 78 variants
x0,
x1,
x2,
x3,
x4,
x5,
x6,
x7,
x8,
x9,
x10,
x11,
x12,
x13,
x14,
x15,
x16,
x17,
x18,
x20,
x21,
x22,
x23,
x24,
x25,
x26,
x27,
x28,
x30,
v0,
v1,
v2,
v3,
v4,
v5,
v6,
v7,
v8,
v9,
v10,
v11,
v12,
v13,
v14,
v15,
v16,
v17,
v18,
v19,
v20,
v21,
v22,
v23,
v24,
v25,
v26,
v27,
v28,
v29,
v30,
v31,
p0,
p1,
p2,
p3,
p4,
p5,
p6,
p7,
p8,
p9,
p10,
p11,
p12,
p13,
p14,
p15,
ffr,
}
Variants§
x0
x1
x2
x3
x4
x5
x6
x7
x8
x9
x10
x11
x12
x13
x14
x15
x16
x17
x18
x20
x21
x22
x23
x24
x25
x26
x27
x28
x30
v0
v1
v2
v3
v4
v5
v6
v7
v8
v9
v10
v11
v12
v13
v14
v15
v16
v17
v18
v19
v20
v21
v22
v23
v24
v25
v26
v27
v28
v29
v30
v31
p0
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
p12
p13
p14
p15
ffr
Implementations§
Source§impl AArch64InlineAsmReg
impl AArch64InlineAsmReg
pub fn name(self) -> &'static str
pub fn reg_class(self) -> AArch64InlineAsmRegClass
pub fn parse(name: &str) -> Result<Self, &'static str>
pub fn validate( self, _arch: InlineAsmArch, _reloc_model: RelocModel, _target_features: &FxIndexSet<Symbol>, _target: &Target, _is_clobber: bool, ) -> Result<(), &'static str>
Source§impl AArch64InlineAsmReg
impl AArch64InlineAsmReg
pub fn emit( self, out: &mut dyn Write, _arch: InlineAsmArch, modifier: Option<char>, ) -> Result
Sourcepub fn reg_index(self) -> Option<u32>
pub fn reg_index(self) -> Option<u32>
If the register is an integer register then return its index.
Sourcepub fn vreg_index(self) -> Option<u32>
pub fn vreg_index(self) -> Option<u32>
If the register is a vector register then return its index.
Trait Implementations§
Source§impl Clone for AArch64InlineAsmReg
impl Clone for AArch64InlineAsmReg
Source§fn clone(&self) -> AArch64InlineAsmReg
fn clone(&self) -> AArch64InlineAsmReg
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 AArch64InlineAsmReg
impl Debug for AArch64InlineAsmReg
Source§impl<__D: SpanDecoder> Decodable<__D> for AArch64InlineAsmReg
impl<__D: SpanDecoder> Decodable<__D> for AArch64InlineAsmReg
Source§impl<__E: SpanEncoder> Encodable<__E> for AArch64InlineAsmReg
impl<__E: SpanEncoder> Encodable<__E> for AArch64InlineAsmReg
Source§impl Hash for AArch64InlineAsmReg
impl Hash for AArch64InlineAsmReg
Source§impl<__CTX> HashStable<__CTX> for AArch64InlineAsmRegwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for AArch64InlineAsmRegwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
Source§impl PartialEq for AArch64InlineAsmReg
impl PartialEq for AArch64InlineAsmReg
Source§impl PartialOrd for AArch64InlineAsmReg
impl PartialOrd for AArch64InlineAsmReg
impl Copy for AArch64InlineAsmReg
impl Eq for AArch64InlineAsmReg
impl StructuralPartialEq for AArch64InlineAsmReg
Auto Trait Implementations§
impl DynSend for AArch64InlineAsmReg
impl DynSync for AArch64InlineAsmReg
impl Freeze for AArch64InlineAsmReg
impl RefUnwindSafe for AArch64InlineAsmReg
impl Send for AArch64InlineAsmReg
impl Sync for AArch64InlineAsmReg
impl Unpin for AArch64InlineAsmReg
impl UnwindSafe for AArch64InlineAsmReg
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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:
x0
: 0 bytesx1
: 0 bytesx2
: 0 bytesx3
: 0 bytesx4
: 0 bytesx5
: 0 bytesx6
: 0 bytesx7
: 0 bytesx8
: 0 bytesx9
: 0 bytesx10
: 0 bytesx11
: 0 bytesx12
: 0 bytesx13
: 0 bytesx14
: 0 bytesx15
: 0 bytesx16
: 0 bytesx17
: 0 bytesx18
: 0 bytesx20
: 0 bytesx21
: 0 bytesx22
: 0 bytesx23
: 0 bytesx24
: 0 bytesx25
: 0 bytesx26
: 0 bytesx27
: 0 bytesx28
: 0 bytesx30
: 0 bytesv0
: 0 bytesv1
: 0 bytesv2
: 0 bytesv3
: 0 bytesv4
: 0 bytesv5
: 0 bytesv6
: 0 bytesv7
: 0 bytesv8
: 0 bytesv9
: 0 bytesv10
: 0 bytesv11
: 0 bytesv12
: 0 bytesv13
: 0 bytesv14
: 0 bytesv15
: 0 bytesv16
: 0 bytesv17
: 0 bytesv18
: 0 bytesv19
: 0 bytesv20
: 0 bytesv21
: 0 bytesv22
: 0 bytesv23
: 0 bytesv24
: 0 bytesv25
: 0 bytesv26
: 0 bytesv27
: 0 bytesv28
: 0 bytesv29
: 0 bytesv30
: 0 bytesv31
: 0 bytesp0
: 0 bytesp1
: 0 bytesp2
: 0 bytesp3
: 0 bytesp4
: 0 bytesp5
: 0 bytesp6
: 0 bytesp7
: 0 bytesp8
: 0 bytesp9
: 0 bytesp10
: 0 bytesp11
: 0 bytesp12
: 0 bytesp13
: 0 bytesp14
: 0 bytesp15
: 0 bytesffr
: 0 bytes