pub enum ImportedScope {
ScopedName(ScopedName),
StringLiteral(String),
}Expand description
The scope named by an ImportDcl, mirroring imported_scope.
Variants§
ScopedName(ScopedName)
StringLiteral(String)
Trait Implementations§
Source§impl Debug for ImportedScope
impl Debug for ImportedScope
Source§impl<'a> FromTreeSitter<'a> for ImportedScope
impl<'a> FromTreeSitter<'a> for ImportedScope
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for ImportedScope
impl RefUnwindSafe for ImportedScope
impl Send for ImportedScope
impl Sync for ImportedScope
impl Unpin for ImportedScope
impl UnsafeUnpin for ImportedScope
impl UnwindSafe for ImportedScope
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