pub enum VariableKeyword {
Const,
Let,
Var,
}
Variants§
Implementations§
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 for VariableKeyword
impl PartialEq for VariableKeyword
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
Source§impl Serialize for VariableKeyword
impl Serialize for VariableKeyword
Source§impl Visitable for VariableKeyword
impl Visitable for VariableKeyword
fn visit<TData>( &self, _visitors: &mut (impl VisitorReceiver<TData> + ?Sized), _data: &mut TData, _options: &VisitOptions, _chain: &mut Annex<'_, Chain>, )
fn visit_mut<TData>( &mut self, _visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), _data: &mut TData, _options: &VisitOptions, _chain: &mut Annex<'_, Chain>, )
impl Eq for VariableKeyword
impl StructuralPartialEq for VariableKeyword
Auto Trait Implementations§
impl Freeze for VariableKeyword
impl RefUnwindSafe for VariableKeyword
impl Send for VariableKeyword
impl Sync for VariableKeyword
impl Unpin for VariableKeyword
impl UnwindSafe for VariableKeyword
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