pub enum RiscVInlineAsmReg {
Show 90 variants
x1,
x5,
x6,
x7,
x10,
x11,
x12,
x13,
x14,
x15,
x16,
x17,
x18,
x19,
x20,
x21,
x22,
x23,
x24,
x25,
x26,
x27,
x28,
x29,
x30,
x31,
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,
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,
}
Variants§
x1
x5
x6
x7
x10
x11
x12
x13
x14
x15
x16
x17
x18
x19
x20
x21
x22
x23
x24
x25
x26
x27
x28
x29
x30
x31
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
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
Implementations§
Source§impl RiscVInlineAsmReg
impl RiscVInlineAsmReg
pub fn name(self) -> &'static str
pub fn reg_class(self) -> RiscVInlineAsmRegClass
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 RiscVInlineAsmReg
impl Clone for RiscVInlineAsmReg
Source§fn clone(&self) -> RiscVInlineAsmReg
fn clone(&self) -> RiscVInlineAsmReg
Returns a copy of the value. Read more
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 RiscVInlineAsmReg
impl Debug for RiscVInlineAsmReg
Source§impl<__D: SpanDecoder> Decodable<__D> for RiscVInlineAsmReg
impl<__D: SpanDecoder> Decodable<__D> for RiscVInlineAsmReg
Source§impl<__E: SpanEncoder> Encodable<__E> for RiscVInlineAsmReg
impl<__E: SpanEncoder> Encodable<__E> for RiscVInlineAsmReg
Source§impl Hash for RiscVInlineAsmReg
impl Hash for RiscVInlineAsmReg
Source§impl<__CTX> HashStable<__CTX> for RiscVInlineAsmRegwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for RiscVInlineAsmRegwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
Source§impl PartialEq for RiscVInlineAsmReg
impl PartialEq for RiscVInlineAsmReg
Source§impl PartialOrd for RiscVInlineAsmReg
impl PartialOrd for RiscVInlineAsmReg
impl Copy for RiscVInlineAsmReg
impl Eq for RiscVInlineAsmReg
impl StructuralPartialEq for RiscVInlineAsmReg
Auto Trait Implementations§
impl DynSend for RiscVInlineAsmReg
impl DynSync for RiscVInlineAsmReg
impl Freeze for RiscVInlineAsmReg
impl RefUnwindSafe for RiscVInlineAsmReg
impl Send for RiscVInlineAsmReg
impl Sync for RiscVInlineAsmReg
impl Unpin for RiscVInlineAsmReg
impl UnwindSafe for RiscVInlineAsmReg
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:
x1
: 0 bytesx5
: 0 bytesx6
: 0 bytesx7
: 0 bytesx10
: 0 bytesx11
: 0 bytesx12
: 0 bytesx13
: 0 bytesx14
: 0 bytesx15
: 0 bytesx16
: 0 bytesx17
: 0 bytesx18
: 0 bytesx19
: 0 bytesx20
: 0 bytesx21
: 0 bytesx22
: 0 bytesx23
: 0 bytesx24
: 0 bytesx25
: 0 bytesx26
: 0 bytesx27
: 0 bytesx28
: 0 bytesx29
: 0 bytesx30
: 0 bytesx31
: 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 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 bytes