pub enum ForLoopStatementInitializer {
Statement(VariableStatement),
Expression(Expression),
}
Variants§
Statement(VariableStatement)
Expression(Expression)
Trait Implementations§
source§impl Clone for ForLoopStatementInitializer
impl Clone for ForLoopStatementInitializer
source§fn clone(&self) -> ForLoopStatementInitializer
fn clone(&self) -> ForLoopStatementInitializer
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 ForLoopStatementInitializer
impl Debug for ForLoopStatementInitializer
source§impl PartialEq<ForLoopStatementInitializer> for ForLoopStatementInitializer
impl PartialEq<ForLoopStatementInitializer> for ForLoopStatementInitializer
source§fn eq(&self, other: &ForLoopStatementInitializer) -> bool
fn eq(&self, other: &ForLoopStatementInitializer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for ForLoopStatementInitializer
impl SelfRustTokenize for ForLoopStatementInitializer
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self