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§
Sourcefn from_register(_: Register) -> Self
🔬This is a nightly-only experimental API. (sgx_platform #56975)
fn from_register(_: Register) -> Self
sgx_platform #56975)Translate a Register to Self.
Sourcefn into_register(self) -> Register
🔬This is a nightly-only experimental API. (sgx_platform #56975)
fn into_register(self) -> Register
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".