Struct ethers_solc::artifacts::ast::ForStatement
source · pub struct ForStatement {
pub id: usize,
pub src: SourceLocation,
pub documentation: Option<String>,
pub body: BlockOrStatement,
pub condition: Option<Expression>,
pub initialization_expression: Option<ExpressionOrVariableDeclarationStatement>,
pub loop_expression: Option<ExpressionStatement>,
}
Expand description
A for statement.
Fields§
§id: usize
§src: SourceLocation
§documentation: Option<String>
§body: BlockOrStatement
§condition: Option<Expression>
§initialization_expression: Option<ExpressionOrVariableDeclarationStatement>
§loop_expression: Option<ExpressionStatement>
Trait Implementations§
source§impl Clone for ForStatement
impl Clone for ForStatement
source§fn clone(&self) -> ForStatement
fn clone(&self) -> ForStatement
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 ForStatement
impl Debug for ForStatement
source§impl<'de> Deserialize<'de> for ForStatement
impl<'de> Deserialize<'de> for ForStatement
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
source§impl PartialEq for ForStatement
impl PartialEq for ForStatement
source§fn eq(&self, other: &ForStatement) -> bool
fn eq(&self, other: &ForStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ForStatement
impl Serialize for ForStatement
impl Eq for ForStatement
impl StructuralPartialEq for ForStatement
Auto Trait Implementations§
impl RefUnwindSafe for ForStatement
impl Send for ForStatement
impl Sync for ForStatement
impl Unpin for ForStatement
impl UnwindSafe for ForStatement
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.