pub struct EncodingModeTesting;
Implementations§
source§impl EncodingModeTesting
impl EncodingModeTesting
pub fn variant_and_condition_from_u128_word( raw_value: u128, ) -> (OpcodeVariant, Condition, usize)
Trait Implementations§
source§impl Clone for EncodingModeTesting
impl Clone for EncodingModeTesting
source§fn clone(&self) -> EncodingModeTesting
fn clone(&self) -> EncodingModeTesting
Returns a copy 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 EncodingModeTesting
impl Debug for EncodingModeTesting
source§impl Hash for EncodingModeTesting
impl Hash for EncodingModeTesting
source§impl PartialEq for EncodingModeTesting
impl PartialEq for EncodingModeTesting
source§fn eq(&self, other: &EncodingModeTesting) -> bool
fn eq(&self, other: &EncodingModeTesting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl VmEncodingMode<16> for EncodingModeTesting
impl VmEncodingMode<16> for EncodingModeTesting
type PcOrImm = u32
type IntegerRepresentation = u128
fn nop_encoding() -> Self::IntegerRepresentation
fn exception_revert_encoding() -> Self::IntegerRepresentation
fn parse_preliminary_variant_and_absolute_number( integer_representaiton: Self::IntegerRepresentation, ) -> (DecodedOpcode<16, Self>, VariantMonotonicNumber)
fn encode_as_integer( opcode: &DecodedOpcode<16, Self>, ) -> Self::IntegerRepresentation
fn encode_as_bytes(opcode: &DecodedOpcode<16, Self>) -> [u8; 16]
fn split_pc(pc: Self::PcOrImm) -> (Self::PcOrImm, Self::PcOrImm)
fn integer_representaiton_from_u256( value: U256, index: Self::PcOrImm, ) -> Self::IntegerRepresentation
fn is_canonical_encoding(value: Self::IntegerRepresentation) -> bool
impl Copy for EncodingModeTesting
impl Eq for EncodingModeTesting
impl StructuralPartialEq for EncodingModeTesting
Auto Trait Implementations§
impl Freeze for EncodingModeTesting
impl RefUnwindSafe for EncodingModeTesting
impl Send for EncodingModeTesting
impl Sync for EncodingModeTesting
impl Unpin for EncodingModeTesting
impl UnwindSafe for EncodingModeTesting
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)