pub struct Details {
pub peephole: bool,
pub inliner: Option<bool>,
pub jumpdest_remover: bool,
pub order_literals: bool,
pub deduplicate: bool,
pub cse: bool,
pub constant_optimizer: bool,
}
Expand description
The solc --standard-json
input settings optimizer details.
Fields§
§peephole: bool
Whether the pass is enabled.
inliner: Option<bool>
Whether the pass is enabled.
jumpdest_remover: bool
Whether the pass is enabled.
order_literals: bool
Whether the pass is enabled.
deduplicate: bool
Whether the pass is enabled.
cse: bool
Whether the pass is enabled.
constant_optimizer: bool
Whether the pass is enabled.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Details
impl<'de> Deserialize<'de> for Details
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Details
impl RefUnwindSafe for Details
impl Send for Details
impl Sync for Details
impl Unpin for Details
impl UnwindSafe for Details
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