Enum rustc_target::asm::CSKYInlineAsmReg
source · pub enum CSKYInlineAsmReg {
Show 54 variants
r0,
r1,
r2,
r3,
r4,
r5,
r6,
r9,
r10,
r11,
r12,
r13,
r16,
r17,
r18,
r19,
r20,
r21,
r22,
r23,
r24,
r25,
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§
r0
r1
r2
r3
r4
r5
r6
r9
r10
r11
r12
r13
r16
r17
r18
r19
r20
r21
r22
r23
r24
r25
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 CSKYInlineAsmReg
impl CSKYInlineAsmReg
pub fn name(self) -> &'static str
pub fn reg_class(self) -> CSKYInlineAsmRegClass
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 CSKYInlineAsmReg
impl Clone for CSKYInlineAsmReg
source§fn clone(&self) -> CSKYInlineAsmReg
fn clone(&self) -> CSKYInlineAsmReg
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 CSKYInlineAsmReg
impl Debug for CSKYInlineAsmReg
source§impl<__D: SpanDecoder> Decodable<__D> for CSKYInlineAsmReg
impl<__D: SpanDecoder> Decodable<__D> for CSKYInlineAsmReg
source§impl<__E: SpanEncoder> Encodable<__E> for CSKYInlineAsmReg
impl<__E: SpanEncoder> Encodable<__E> for CSKYInlineAsmReg
source§impl Hash for CSKYInlineAsmReg
impl Hash for CSKYInlineAsmReg
source§impl<__CTX> HashStable<__CTX> for CSKYInlineAsmRegwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for CSKYInlineAsmRegwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
source§impl PartialEq for CSKYInlineAsmReg
impl PartialEq for CSKYInlineAsmReg
source§fn eq(&self, other: &CSKYInlineAsmReg) -> bool
fn eq(&self, other: &CSKYInlineAsmReg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CSKYInlineAsmReg
impl PartialOrd for CSKYInlineAsmReg
source§fn partial_cmp(&self, other: &CSKYInlineAsmReg) -> Option<Ordering>
fn partial_cmp(&self, other: &CSKYInlineAsmReg) -> 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 CSKYInlineAsmReg
impl Eq for CSKYInlineAsmReg
impl StructuralPartialEq for CSKYInlineAsmReg
Auto Trait Implementations§
impl Freeze for CSKYInlineAsmReg
impl RefUnwindSafe for CSKYInlineAsmReg
impl Send for CSKYInlineAsmReg
impl Sync for CSKYInlineAsmReg
impl Unpin for CSKYInlineAsmReg
impl UnwindSafe for CSKYInlineAsmReg
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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> 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:
r0
: 0 bytesr1
: 0 bytesr2
: 0 bytesr3
: 0 bytesr4
: 0 bytesr5
: 0 bytesr6
: 0 bytesr9
: 0 bytesr10
: 0 bytesr11
: 0 bytesr12
: 0 bytesr13
: 0 bytesr16
: 0 bytesr17
: 0 bytesr18
: 0 bytesr19
: 0 bytesr20
: 0 bytesr21
: 0 bytesr22
: 0 bytesr23
: 0 bytesr24
: 0 bytesr25
: 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