Enum rustc_target::asm::RiscVInlineAsmReg
source · 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
sourceimpl 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: &FxHashSet<Symbol>,
_target: &Target,
_is_clobber: bool
) -> Result<(), &'static str>
Trait Implementations
sourceimpl Clone for RiscVInlineAsmReg
impl Clone for RiscVInlineAsmReg
sourcefn clone(&self) -> RiscVInlineAsmReg
fn clone(&self) -> RiscVInlineAsmReg
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RiscVInlineAsmReg
impl Debug for RiscVInlineAsmReg
sourceimpl<__D: Decoder> Decodable<__D> for RiscVInlineAsmReg
impl<__D: Decoder> Decodable<__D> for RiscVInlineAsmReg
sourceimpl<__E: Encoder> Encodable<__E> for RiscVInlineAsmReg
impl<__E: Encoder> Encodable<__E> for RiscVInlineAsmReg
sourceimpl Hash for RiscVInlineAsmReg
impl Hash for RiscVInlineAsmReg
sourceimpl<__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)
sourceimpl PartialEq<RiscVInlineAsmReg> for RiscVInlineAsmReg
impl PartialEq<RiscVInlineAsmReg> for RiscVInlineAsmReg
sourcefn eq(&self, other: &RiscVInlineAsmReg) -> bool
fn eq(&self, other: &RiscVInlineAsmReg) -> bool
sourceimpl PartialOrd<RiscVInlineAsmReg> for RiscVInlineAsmReg
impl PartialOrd<RiscVInlineAsmReg> for RiscVInlineAsmReg
sourcefn partial_cmp(&self, other: &RiscVInlineAsmReg) -> Option<Ordering>
fn partial_cmp(&self, other: &RiscVInlineAsmReg) -> Option<Ordering>
1.0.0 · sourcefn 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 RiscVInlineAsmReg
impl Eq for RiscVInlineAsmReg
impl StructuralEq for RiscVInlineAsmReg
impl StructuralPartialEq for RiscVInlineAsmReg
Auto Trait Implementations
impl RefUnwindSafe for RiscVInlineAsmReg
impl Send for RiscVInlineAsmReg
impl Sync for RiscVInlineAsmReg
impl Unpin for RiscVInlineAsmReg
impl UnwindSafe for RiscVInlineAsmReg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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