pub unsafe trait InstructionSet: Copy + 'static {
const ID: InstructionSetTypeId;
const ARCH: bool;
// Required methods
unsafe fn new() -> Self;
fn is_enabled() -> bool;
}
Required Associated Constants§
Required Methods§
unsafe fn new() -> Self
fn is_enabled() -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.