pub enum IdentifierContext {
FunctionPrototype,
}
Expand description
Context in which an identifier is seen for the first time
Variants§
FunctionPrototype
The identifier is a function declaration name
Trait Implementations§
source§impl Clone for IdentifierContext
impl Clone for IdentifierContext
source§fn clone(&self) -> IdentifierContext
fn clone(&self) -> IdentifierContext
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 IdentifierContext
impl Debug for IdentifierContext
source§impl PartialEq for IdentifierContext
impl PartialEq for IdentifierContext
source§fn eq(&self, other: &IdentifierContext) -> bool
fn eq(&self, other: &IdentifierContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IdentifierContext
impl Eq for IdentifierContext
impl StructuralEq for IdentifierContext
impl StructuralPartialEq for IdentifierContext
Auto Trait Implementations§
impl RefUnwindSafe for IdentifierContext
impl Send for IdentifierContext
impl Sync for IdentifierContext
impl Unpin for IdentifierContext
impl UnwindSafe for IdentifierContext
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