Struct sv_parser::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) -> RefNode<'a>
fn from(x: &'a ForVariableDeclaration) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a ForVariableDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ForVariableDeclaration> for AnyNode
impl From<ForVariableDeclaration> for AnyNode
source§fn from(x: ForVariableDeclaration) -> AnyNode
fn from(x: ForVariableDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ForVariableDeclaration
impl<'a> IntoIterator for &'a ForVariableDeclaration
source§impl PartialEq for ForVariableDeclaration
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ForVariableDeclaration> for Locate
impl<'a> TryFrom<&'a ForVariableDeclaration> for Locate
source§impl TryFrom<AnyNode> for ForVariableDeclaration
impl TryFrom<AnyNode> for ForVariableDeclaration
source§impl TryFrom<ForVariableDeclaration> for Locate
impl TryFrom<ForVariableDeclaration> for Locate
impl StructuralPartialEq for ForVariableDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for ForVariableDeclaration
impl Send for ForVariableDeclaration
impl Sync for ForVariableDeclaration
impl Unpin for ForVariableDeclaration
impl UnwindSafe for ForVariableDeclaration
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