#[repr(u8)]pub enum FarCallOpcode {
Normal = 0,
Delegate = 1,
Mimic = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for FarCallOpcode
impl Clone for FarCallOpcode
Source§fn clone(&self) -> FarCallOpcode
fn clone(&self) -> FarCallOpcode
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 FarCallOpcode
impl Debug for FarCallOpcode
Source§impl Hash for FarCallOpcode
impl Hash for FarCallOpcode
Source§impl OpcodeProps for FarCallOpcode
impl OpcodeProps for FarCallOpcode
fn name(&self) -> &'static str
fn variants_data(&self, version: ISAVersion) -> Vec<OpcodeVariantData>
fn max_variant_idx(&self, _version: ISAVersion) -> usize
fn input_operands(&self, _version: ISAVersion) -> Vec<Operand>
fn output_operands(&self, _version: ISAVersion) -> Vec<Operand>
fn requires_kernel_mode(&self) -> bool
fn can_be_used_in_static_context(&self) -> bool
fn src0_can_be_pointer(&self) -> bool
fn src1_can_be_pointer(&self) -> bool
fn can_have_src0_from_mem(&self, version: ISAVersion) -> bool
fn can_write_dst0_into_memory(&self, version: ISAVersion) -> bool
Source§impl OpcodeVariantProps for FarCallOpcode
impl OpcodeVariantProps for FarCallOpcode
fn all_variants() -> Vec<Self>
fn max_variant_idx_for_version(_version: ISAVersion) -> usize
fn minimal_version(&self) -> ISAVersion
fn variant_index(&self) -> usize
fn from_variant_index_for_version( index: usize, _version: &ISAVersion, ) -> Option<Self>
fn ergs_price(&self) -> u32
fn is_available_for_version(&self, version: ISAVersion) -> bool
fn is_added_in_version(&self, version: ISAVersion) -> bool
fn variants_for_version(version: ISAVersion) -> Vec<Self>
fn variants_added_in_version(version: ISAVersion) -> Vec<Self>
Source§impl Ord for FarCallOpcode
impl Ord for FarCallOpcode
Source§fn cmp(&self, other: &FarCallOpcode) -> Ordering
fn cmp(&self, other: &FarCallOpcode) -> 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 FarCallOpcode
impl PartialEq for FarCallOpcode
Source§impl PartialOrd for FarCallOpcode
impl PartialOrd for FarCallOpcode
impl Copy for FarCallOpcode
impl Eq for FarCallOpcode
impl StructuralPartialEq for FarCallOpcode
Auto Trait Implementations§
impl Freeze for FarCallOpcode
impl RefUnwindSafe for FarCallOpcode
impl Send for FarCallOpcode
impl Sync for FarCallOpcode
impl Unpin for FarCallOpcode
impl UnwindSafe for FarCallOpcode
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