pub struct ImplementedExtension {
pub type_id: TypeId,
pub own_isa_extensions: &'static [IsaExtension],
}Expand description
Implemented extension of an instruction set, see Instruction::IMPLEMENTED_EXTENSIONS
Fields§
§type_id: TypeIdType ID of the instruction enum
own_isa_extensions: &'static [IsaExtension]ISA extensions of the instruction enum, see Instruction::OWN_ISA_EXTENSIONS
Implementations§
Source§impl ImplementedExtension
impl ImplementedExtension
Sourcepub const fn new<I>() -> Selfwhere
I: Instruction,
pub const fn new<I>() -> Selfwhere
I: Instruction,
Create a new instance for an instruction enum
Trait Implementations§
Source§impl Clone for ImplementedExtension
impl Clone for ImplementedExtension
Source§fn clone(&self) -> ImplementedExtension
fn clone(&self) -> ImplementedExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImplementedExtension
Auto Trait Implementations§
impl Freeze for ImplementedExtension
impl RefUnwindSafe for ImplementedExtension
impl Send for ImplementedExtension
impl Sync for ImplementedExtension
impl Unpin for ImplementedExtension
impl UnsafeUnpin for ImplementedExtension
impl UnwindSafe for ImplementedExtension
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