Trait rustix::backend::reg::FromAsm

source ·
pub(super) trait FromAsm: Sealed {
    // Required method
    unsafe fn from_asm(raw: *mut Opaque) -> Self;
}

Required Methods§

source

unsafe fn from_asm(raw: *mut Opaque) -> Self

Convert raw from a value produced by a syscall machine instruction into a Self.

§Safety

This should be used immediately after the syscall instruction, and the operand value shouldn’t be used for any other purpose.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Num: RetNumber> FromAsm for RetReg<Num>