Enum rustc_target::asm::spirv::SpirVInlineAsmReg
source · pub enum SpirVInlineAsmReg {}
Implementations§
source§impl SpirVInlineAsmReg
impl SpirVInlineAsmReg
pub fn name(self) -> &'static str
pub fn reg_class(self) -> SpirVInlineAsmRegClass
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 SpirVInlineAsmReg
impl Clone for SpirVInlineAsmReg
source§fn clone(&self) -> SpirVInlineAsmReg
fn clone(&self) -> SpirVInlineAsmReg
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 SpirVInlineAsmReg
impl Debug for SpirVInlineAsmReg
source§impl<__D: Decoder> Decodable<__D> for SpirVInlineAsmReg
impl<__D: Decoder> Decodable<__D> for SpirVInlineAsmReg
source§impl<__E: Encoder> Encodable<__E> for SpirVInlineAsmReg
impl<__E: Encoder> Encodable<__E> for SpirVInlineAsmReg
source§impl Hash for SpirVInlineAsmReg
impl Hash for SpirVInlineAsmReg
source§impl<__CTX> HashStable<__CTX> for SpirVInlineAsmRegwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for SpirVInlineAsmRegwhere __CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
source§impl PartialEq<SpirVInlineAsmReg> for SpirVInlineAsmReg
impl PartialEq<SpirVInlineAsmReg> for SpirVInlineAsmReg
source§fn eq(&self, other: &SpirVInlineAsmReg) -> bool
fn eq(&self, other: &SpirVInlineAsmReg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SpirVInlineAsmReg> for SpirVInlineAsmReg
impl PartialOrd<SpirVInlineAsmReg> for SpirVInlineAsmReg
source§fn partial_cmp(&self, other: &SpirVInlineAsmReg) -> Option<Ordering>
fn partial_cmp(&self, other: &SpirVInlineAsmReg) -> 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 SpirVInlineAsmReg
impl Eq for SpirVInlineAsmReg
impl StructuralEq for SpirVInlineAsmReg
impl StructuralPartialEq for SpirVInlineAsmReg
Auto Trait Implementations§
impl RefUnwindSafe for SpirVInlineAsmReg
impl Send for SpirVInlineAsmReg
impl Sync for SpirVInlineAsmReg
impl Unpin for SpirVInlineAsmReg
impl UnwindSafe for SpirVInlineAsmReg
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: 0 bytes (uninhabited)