Struct rustc_target::abi::call::Reg
source · pub struct Reg {
pub kind: RegKind,
pub size: Size,
}
Fields§
§kind: RegKind
§size: Size
Implementations§
Trait Implementations§
source§impl From<Reg> for CastTarget
impl From<Reg> for CastTarget
source§fn from(unit: Reg) -> CastTarget
fn from(unit: Reg) -> CastTarget
Converts to this type from the input type.
source§impl<__CTX> HashStable<__CTX> for Regwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for Regwhere __CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
impl Copy for Reg
impl Eq for Reg
impl StructuralEq for Reg
impl StructuralPartialEq for Reg
Auto Trait Implementations§
impl RefUnwindSafe for Reg
impl Send for Reg
impl Sync for Reg
impl Unpin for Reg
impl UnwindSafe for Reg
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: 16 bytes