Enum rustc_target::asm::LoongArchInlineAsmReg
source · pub enum LoongArchInlineAsmReg {
Show 58 variants
r1,
r4,
r5,
r6,
r7,
r8,
r9,
r10,
r11,
r12,
r13,
r14,
r15,
r16,
r17,
r18,
r19,
r20,
r23,
r24,
r25,
r26,
r27,
r28,
r29,
r30,
f0,
f1,
f2,
f3,
f4,
f5,
f6,
f7,
f8,
f9,
f10,
f11,
f12,
f13,
f14,
f15,
f16,
f17,
f18,
f19,
f20,
f21,
f22,
f23,
f24,
f25,
f26,
f27,
f28,
f29,
f30,
f31,
}
Variants§
r1
r4
r5
r6
r7
r8
r9
r10
r11
r12
r13
r14
r15
r16
r17
r18
r19
r20
r23
r24
r25
r26
r27
r28
r29
r30
f0
f1
f2
f3
f4
f5
f6
f7
f8
f9
f10
f11
f12
f13
f14
f15
f16
f17
f18
f19
f20
f21
f22
f23
f24
f25
f26
f27
f28
f29
f30
f31
Implementations§
source§impl LoongArchInlineAsmReg
impl LoongArchInlineAsmReg
pub fn name(self) -> &'static str
pub fn reg_class(self) -> LoongArchInlineAsmRegClass
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>
Trait Implementations§
source§impl Clone for LoongArchInlineAsmReg
impl Clone for LoongArchInlineAsmReg
source§fn clone(&self) -> LoongArchInlineAsmReg
fn clone(&self) -> LoongArchInlineAsmReg
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 LoongArchInlineAsmReg
impl Debug for LoongArchInlineAsmReg
source§impl<__D: SpanDecoder> Decodable<__D> for LoongArchInlineAsmReg
impl<__D: SpanDecoder> Decodable<__D> for LoongArchInlineAsmReg
source§impl<__E: SpanEncoder> Encodable<__E> for LoongArchInlineAsmReg
impl<__E: SpanEncoder> Encodable<__E> for LoongArchInlineAsmReg
source§impl Hash for LoongArchInlineAsmReg
impl Hash for LoongArchInlineAsmReg
source§impl<__CTX> HashStable<__CTX> for LoongArchInlineAsmRegwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for LoongArchInlineAsmRegwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
source§impl PartialEq for LoongArchInlineAsmReg
impl PartialEq for LoongArchInlineAsmReg
source§fn eq(&self, other: &LoongArchInlineAsmReg) -> bool
fn eq(&self, other: &LoongArchInlineAsmReg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LoongArchInlineAsmReg
impl PartialOrd for LoongArchInlineAsmReg
source§fn partial_cmp(&self, other: &LoongArchInlineAsmReg) -> Option<Ordering>
fn partial_cmp(&self, other: &LoongArchInlineAsmReg) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LoongArchInlineAsmReg
impl Eq for LoongArchInlineAsmReg
impl StructuralPartialEq for LoongArchInlineAsmReg
Auto Trait Implementations§
impl DynSend for LoongArchInlineAsmReg
impl DynSync for LoongArchInlineAsmReg
impl Freeze for LoongArchInlineAsmReg
impl RefUnwindSafe for LoongArchInlineAsmReg
impl Send for LoongArchInlineAsmReg
impl Sync for LoongArchInlineAsmReg
impl Unpin for LoongArchInlineAsmReg
impl UnwindSafe for LoongArchInlineAsmReg
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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>
§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:
r1
: 0 bytesr4
: 0 bytesr5
: 0 bytesr6
: 0 bytesr7
: 0 bytesr8
: 0 bytesr9
: 0 bytesr10
: 0 bytesr11
: 0 bytesr12
: 0 bytesr13
: 0 bytesr14
: 0 bytesr15
: 0 bytesr16
: 0 bytesr17
: 0 bytesr18
: 0 bytesr19
: 0 bytesr20
: 0 bytesr23
: 0 bytesr24
: 0 bytesr25
: 0 bytesr26
: 0 bytesr27
: 0 bytesr28
: 0 bytesr29
: 0 bytesr30
: 0 bytesf0
: 0 bytesf1
: 0 bytesf2
: 0 bytesf3
: 0 bytesf4
: 0 bytesf5
: 0 bytesf6
: 0 bytesf7
: 0 bytesf8
: 0 bytesf9
: 0 bytesf10
: 0 bytesf11
: 0 bytesf12
: 0 bytesf13
: 0 bytesf14
: 0 bytesf15
: 0 bytesf16
: 0 bytesf17
: 0 bytesf18
: 0 bytesf19
: 0 bytesf20
: 0 bytesf21
: 0 bytesf22
: 0 bytesf23
: 0 bytesf24
: 0 bytesf25
: 0 bytesf26
: 0 bytesf27
: 0 bytesf28
: 0 bytesf29
: 0 bytesf30
: 0 bytesf31
: 0 bytes