Struct zksync_vm2::precompiles::LegacyPrecompiles
source · pub struct LegacyPrecompiles;
Expand description
Precompiles implementation using legacy VM code.
Trait Implementations§
source§impl Debug for LegacyPrecompiles
impl Debug for LegacyPrecompiles
source§impl Precompiles for LegacyPrecompiles
impl Precompiles for LegacyPrecompiles
source§fn call_precompile(
&self,
address_low: u16,
memory: PrecompileMemoryReader<'_>,
aux_input: u64,
) -> PrecompileOutput
fn call_precompile( &self, address_low: u16, memory: PrecompileMemoryReader<'_>, aux_input: u64, ) -> PrecompileOutput
Calls to a precompile.
Auto Trait Implementations§
impl Freeze for LegacyPrecompiles
impl RefUnwindSafe for LegacyPrecompiles
impl Send for LegacyPrecompiles
impl Sync for LegacyPrecompiles
impl Unpin for LegacyPrecompiles
impl UnwindSafe for LegacyPrecompiles
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