pub enum InstructionSetKind {
ReviveV1,
JamV1,
Latest32,
Latest64,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InstructionSetKind
impl Clone for InstructionSetKind
Source§fn clone(&self) -> InstructionSetKind
fn clone(&self) -> InstructionSetKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstructionSetKind
impl Debug for InstructionSetKind
Source§impl InstructionSet for InstructionSetKind
impl InstructionSet for InstructionSetKind
fn opcode_from_u8(self, byte: u8) -> Option<Opcode>
fn opcode_to_u8(self, opcode: Opcode) -> Option<u8>
fn parse_instruction( self, opcode: usize, chunk: u128, offset: u32, skip: u32, ) -> Instruction
fn supports_opcode(self, opcode: Opcode) -> bool
Source§impl PartialEq for InstructionSetKind
impl PartialEq for InstructionSetKind
impl Copy for InstructionSetKind
impl Eq for InstructionSetKind
impl StructuralPartialEq for InstructionSetKind
Auto Trait Implementations§
impl Freeze for InstructionSetKind
impl RefUnwindSafe for InstructionSetKind
impl Send for InstructionSetKind
impl Sync for InstructionSetKind
impl Unpin for InstructionSetKind
impl UnwindSafe for InstructionSetKind
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