Enum ezno_parser::statements::VariableKeyword
source · pub enum VariableKeyword {
Const(Keyword<Const>),
Let(Keyword<Let>),
Var(Keyword<Var>),
}
Variants§
Trait Implementations§
source§impl Clone for VariableKeyword
impl Clone for VariableKeyword
source§fn clone(&self) -> VariableKeyword
fn clone(&self) -> VariableKeyword
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 VariableKeyword
impl Debug for VariableKeyword
source§impl PartialEq<VariableKeyword> for VariableKeyword
impl PartialEq<VariableKeyword> for VariableKeyword
source§fn eq(&self, other: &VariableKeyword) -> bool
fn eq(&self, other: &VariableKeyword) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for VariableKeyword
impl SelfRustTokenize for VariableKeyword
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