pub struct polkadot_1Return {}Expand description
Enables or disables Polkadot execution mode with auto-detected backend.
Auto-detects backend based on CLI flags (–polkadot=evm or –polkadot=pvm).
@param enable true = switch to Polkadot environment, false = switch back to Foundry EVM
Example: vm.polkadot(true); // Enable Polkadot mode (auto-detect backend)
Example: vm.polkadot(false); // Disable Polkadot mode (back to Foundry EVM)
Container type for the return parameters of the polkadot(bool) function.
Implementations§
Source§impl polkadot_1Return
impl polkadot_1Return
fn _tokenize(&self) -> <polkadot_1Call as SolCall>::ReturnToken<'_>
Trait Implementations§
Source§impl Clone for polkadot_1Return
impl Clone for polkadot_1Return
Source§fn clone(&self) -> polkadot_1Return
fn clone(&self) -> polkadot_1Return
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 moreAuto Trait Implementations§
impl Freeze for polkadot_1Return
impl RefUnwindSafe for polkadot_1Return
impl Send for polkadot_1Return
impl Sync for polkadot_1Return
impl Unpin for polkadot_1Return
impl UnwindSafe for polkadot_1Return
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes