Skip to main content

RegisterArgument

Trait RegisterArgument 

Source
pub trait RegisterArgument {
    // Required methods
    fn from_register(_: Register) -> Self;
    fn into_register(self) -> Register;
}
🔬This is a nightly-only experimental API. (sgx_platform #56975)
Available on Fortanix and SGX only.
Expand description

Translate a type from/to Register to be used as an argument.

Required Methods§

Source

fn from_register(_: Register) -> Self

🔬This is a nightly-only experimental API. (sgx_platform #56975)

Translate a Register to Self.

Source

fn into_register(self) -> Register

🔬This is a nightly-only experimental API. (sgx_platform #56975)

Translate self to a Register.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§