Enum python_ast::scope::Symbol
source · pub enum Symbol {
SubScope(Box<Scope>),
Class(),
Variable(),
Const(String),
Unknown,
}
Expand description
Represents a single symbol within a scope.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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