Struct sv_parser_syntaxtree::behavioral_statements::looping_statements::ForVariableDeclaration
source · pub struct ForVariableDeclaration {
pub nodes: (Option<Var>, DataType, List<Symbol, (VariableIdentifier, Symbol, Expression)>),
}
Fields§
§nodes: (Option<Var>, DataType, List<Symbol, (VariableIdentifier, Symbol, Expression)>)
Trait Implementations§
source§impl Clone for ForVariableDeclaration
impl Clone for ForVariableDeclaration
source§fn clone(&self) -> ForVariableDeclaration
fn clone(&self) -> ForVariableDeclaration
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 ForVariableDeclaration
impl Debug for ForVariableDeclaration
source§impl<'a> From<&'a ForVariableDeclaration> for RefNode<'a>
impl<'a> From<&'a ForVariableDeclaration> for RefNode<'a>
source§fn from(x: &'a ForVariableDeclaration) -> Self
fn from(x: &'a ForVariableDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ForVariableDeclaration> for RefNodes<'a>
impl<'a> From<&'a ForVariableDeclaration> for RefNodes<'a>
source§fn from(x: &'a ForVariableDeclaration) -> Self
fn from(x: &'a ForVariableDeclaration) -> Self
Converts to this type from the input type.
source§impl From<ForVariableDeclaration> for AnyNode
impl From<ForVariableDeclaration> for AnyNode
source§fn from(x: ForVariableDeclaration) -> Self
fn from(x: ForVariableDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ForVariableDeclaration
impl<'a> IntoIterator for &'a ForVariableDeclaration
source§impl PartialEq<ForVariableDeclaration> for ForVariableDeclaration
impl PartialEq<ForVariableDeclaration> for ForVariableDeclaration
source§fn eq(&self, other: &ForVariableDeclaration) -> bool
fn eq(&self, other: &ForVariableDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.