Enum revm_primitives::env::CreateScheme
source · pub enum CreateScheme {
Create,
Create2 {
salt: U256,
},
}
Expand description
Create scheme.
Variants§
Trait Implementations§
source§impl Clone for CreateScheme
impl Clone for CreateScheme
source§fn clone(&self) -> CreateScheme
fn clone(&self) -> CreateScheme
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 CreateScheme
impl Debug for CreateScheme
source§impl PartialEq<CreateScheme> for CreateScheme
impl PartialEq<CreateScheme> for CreateScheme
source§fn eq(&self, other: &CreateScheme) -> bool
fn eq(&self, other: &CreateScheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.