pub struct InferredDefinitionStatement<'ast> {
pub ids: List<'ast, Option<IdentifierNode<'ast>>>,
pub init: ExpressionNode<'ast>,
}
Expand description
type inferred via var
, cannot have storage flag, init is mandatory
Fields§
§ids: List<'ast, Option<IdentifierNode<'ast>>>
§init: ExpressionNode<'ast>
Trait Implementations§
source§impl<'ast> Clone for InferredDefinitionStatement<'ast>
impl<'ast> Clone for InferredDefinitionStatement<'ast>
source§fn clone(&self) -> InferredDefinitionStatement<'ast>
fn clone(&self) -> InferredDefinitionStatement<'ast>
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<'ast> Debug for InferredDefinitionStatement<'ast>
impl<'ast> Debug for InferredDefinitionStatement<'ast>
source§impl<'ast> From<InferredDefinitionStatement<'ast>> for SimpleStatement<'ast>
impl<'ast> From<InferredDefinitionStatement<'ast>> for SimpleStatement<'ast>
source§fn from(val: InferredDefinitionStatement<'ast>) -> Self
fn from(val: InferredDefinitionStatement<'ast>) -> Self
Converts to this type from the input type.
source§impl<'ast> From<InferredDefinitionStatement<'ast>> for Statement<'ast>
impl<'ast> From<InferredDefinitionStatement<'ast>> for Statement<'ast>
source§fn from(val: InferredDefinitionStatement<'ast>) -> Self
fn from(val: InferredDefinitionStatement<'ast>) -> Self
Converts to this type from the input type.