Enum rustc_target::asm::PowerPCInlineAsmReg
source · pub enum PowerPCInlineAsmReg {
Show 68 variants
r0,
r3,
r4,
r5,
r6,
r7,
r8,
r9,
r10,
r11,
r12,
r14,
r15,
r16,
r17,
r18,
r19,
r20,
r21,
r22,
r23,
r24,
r25,
r26,
r27,
r28,
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,
cr,
cr0,
cr1,
cr2,
cr3,
cr4,
cr5,
cr6,
cr7,
xer,
}
Variants§
r0
r3
r4
r5
r6
r7
r8
r9
r10
r11
r12
r14
r15
r16
r17
r18
r19
r20
r21
r22
r23
r24
r25
r26
r27
r28
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
cr
cr0
cr1
cr2
cr3
cr4
cr5
cr6
cr7
xer
Implementations§
source§impl PowerPCInlineAsmReg
impl PowerPCInlineAsmReg
pub fn name(self) -> &'static str
pub fn reg_class(self) -> PowerPCInlineAsmRegClass
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 PowerPCInlineAsmReg
impl PowerPCInlineAsmReg
pub fn emit( self, out: &mut dyn Write, _arch: InlineAsmArch, _modifier: Option<char> ) -> Result
pub fn overlapping_regs(self, cb: impl FnMut(PowerPCInlineAsmReg))
Trait Implementations§
source§impl Clone for PowerPCInlineAsmReg
impl Clone for PowerPCInlineAsmReg
source§fn clone(&self) -> PowerPCInlineAsmReg
fn clone(&self) -> PowerPCInlineAsmReg
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 PowerPCInlineAsmReg
impl Debug for PowerPCInlineAsmReg
source§impl<__D: Decoder> Decodable<__D> for PowerPCInlineAsmReg
impl<__D: Decoder> Decodable<__D> for PowerPCInlineAsmReg
source§impl<__E: Encoder> Encodable<__E> for PowerPCInlineAsmReg
impl<__E: Encoder> Encodable<__E> for PowerPCInlineAsmReg
source§impl Hash for PowerPCInlineAsmReg
impl Hash for PowerPCInlineAsmReg
source§impl<__CTX> HashStable<__CTX> for PowerPCInlineAsmRegwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for PowerPCInlineAsmRegwhere __CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
source§impl PartialEq<PowerPCInlineAsmReg> for PowerPCInlineAsmReg
impl PartialEq<PowerPCInlineAsmReg> for PowerPCInlineAsmReg
source§fn eq(&self, other: &PowerPCInlineAsmReg) -> bool
fn eq(&self, other: &PowerPCInlineAsmReg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PowerPCInlineAsmReg> for PowerPCInlineAsmReg
impl PartialOrd<PowerPCInlineAsmReg> for PowerPCInlineAsmReg
source§fn partial_cmp(&self, other: &PowerPCInlineAsmReg) -> Option<Ordering>
fn partial_cmp(&self, other: &PowerPCInlineAsmReg) -> 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 PowerPCInlineAsmReg
impl Eq for PowerPCInlineAsmReg
impl StructuralEq for PowerPCInlineAsmReg
impl StructuralPartialEq for PowerPCInlineAsmReg
Auto Trait Implementations§
impl RefUnwindSafe for PowerPCInlineAsmReg
impl Send for PowerPCInlineAsmReg
impl Sync for PowerPCInlineAsmReg
impl Unpin for PowerPCInlineAsmReg
impl UnwindSafe for PowerPCInlineAsmReg
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
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 bytesr3
: 0 bytesr4
: 0 bytesr5
: 0 bytesr6
: 0 bytesr7
: 0 bytesr8
: 0 bytesr9
: 0 bytesr10
: 0 bytesr11
: 0 bytesr12
: 0 bytesr14
: 0 bytesr15
: 0 bytesr16
: 0 bytesr17
: 0 bytesr18
: 0 bytesr19
: 0 bytesr20
: 0 bytesr21
: 0 bytesr22
: 0 bytesr23
: 0 bytesr24
: 0 bytesr25
: 0 bytesr26
: 0 bytesr27
: 0 bytesr28
: 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 bytescr
: 0 bytescr0
: 0 bytescr1
: 0 bytescr2
: 0 bytescr3
: 0 bytescr4
: 0 bytescr5
: 0 bytescr6
: 0 bytescr7
: 0 bytesxer
: 0 bytes