Struct zkevm_opcode_defs::definitions::opcode_trait::ISAVersion
source · pub struct ISAVersion(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl ISAVersion
impl ISAVersion
Trait Implementations§
source§impl Clone for ISAVersion
impl Clone for ISAVersion
source§fn clone(&self) -> ISAVersion
fn clone(&self) -> ISAVersion
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 ISAVersion
impl Debug for ISAVersion
source§impl Hash for ISAVersion
impl Hash for ISAVersion
source§impl Ord for ISAVersion
impl Ord for ISAVersion
source§fn cmp(&self, other: &ISAVersion) -> Ordering
fn cmp(&self, other: &ISAVersion) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ISAVersion
impl PartialEq for ISAVersion
source§fn eq(&self, other: &ISAVersion) -> bool
fn eq(&self, other: &ISAVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ISAVersion
impl PartialOrd for ISAVersion
source§fn partial_cmp(&self, other: &ISAVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &ISAVersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ISAVersion
impl Eq for ISAVersion
impl StructuralPartialEq for ISAVersion
Auto Trait Implementations§
impl Freeze for ISAVersion
impl RefUnwindSafe for ISAVersion
impl Send for ISAVersion
impl Sync for ISAVersion
impl Unpin for ISAVersion
impl UnwindSafe for ISAVersion
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
)