pub struct SelfDestruct;Expand description
Halt execution and register account for later deletion or send all Ether to address (post-Cancun).
Trait Implementations§
Source§impl Clone for SelfDestruct
impl Clone for SelfDestruct
Source§fn clone(&self) -> SelfDestruct
fn clone(&self) -> SelfDestruct
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 moreSource§impl Debug for SelfDestruct
impl Debug for SelfDestruct
Source§impl Display for SelfDestruct
impl Display for SelfDestruct
Source§impl Hash for SelfDestruct
impl Hash for SelfDestruct
Source§impl Instruction for SelfDestruct
impl Instruction for SelfDestruct
Source§fn is_push(&self) -> bool
fn is_push(&self) -> bool
Returns a value signifying whether this instruction is of the type
PUSHx. Read moreSource§fn is_dup(&self) -> bool
fn is_dup(&self) -> bool
Returns a value signifying whether this instruction is of the type
DUPx. Read moreSource§fn is_swap(&self) -> bool
fn is_swap(&self) -> bool
Returns a value signifying whether this instruction is of the type
SWAPx. Read moreSource§impl PartialEq for SelfDestruct
impl PartialEq for SelfDestruct
impl Copy for SelfDestruct
impl Eq for SelfDestruct
impl StructuralPartialEq for SelfDestruct
Auto Trait Implementations§
impl Freeze for SelfDestruct
impl RefUnwindSafe for SelfDestruct
impl Send for SelfDestruct
impl Sync for SelfDestruct
impl Unpin for SelfDestruct
impl UnwindSafe for SelfDestruct
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