pub enum VariableDeclarationKeyword {
Const,
Let,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VariableDeclarationKeyword
impl Clone for VariableDeclarationKeyword
Source§fn clone(&self) -> VariableDeclarationKeyword
fn clone(&self) -> VariableDeclarationKeyword
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VariableDeclarationKeyword
Source§impl Debug for VariableDeclarationKeyword
impl Debug for VariableDeclarationKeyword
impl Eq for VariableDeclarationKeyword
Source§impl PartialEq for VariableDeclarationKeyword
impl PartialEq for VariableDeclarationKeyword
Source§fn eq(&self, other: &VariableDeclarationKeyword) -> bool
fn eq(&self, other: &VariableDeclarationKeyword) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SelfRustTokenize for VariableDeclarationKeyword
impl SelfRustTokenize for VariableDeclarationKeyword
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
impl StructuralPartialEq for VariableDeclarationKeyword
Source§impl Visitable for VariableDeclarationKeyword
impl Visitable for VariableDeclarationKeyword
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>, )
Auto Trait Implementations§
impl Freeze for VariableDeclarationKeyword
impl RefUnwindSafe for VariableDeclarationKeyword
impl Send for VariableDeclarationKeyword
impl Sync for VariableDeclarationKeyword
impl Unpin for VariableDeclarationKeyword
impl UnsafeUnpin for VariableDeclarationKeyword
impl UnwindSafe for VariableDeclarationKeyword
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