Enum rustpython_vm::compiler::codegen::symboltable::SymbolTableType
source · pub enum SymbolTableType {
Module,
Class,
Function,
Comprehension,
}
Variants§
Trait Implementations§
source§impl Clone for SymbolTableType
impl Clone for SymbolTableType
source§fn clone(&self) -> SymbolTableType
fn clone(&self) -> SymbolTableType
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 SymbolTableType
impl Debug for SymbolTableType
source§impl Display for SymbolTableType
impl Display for SymbolTableType
source§impl PartialEq<SymbolTableType> for SymbolTableType
impl PartialEq<SymbolTableType> for SymbolTableType
source§fn eq(&self, other: &SymbolTableType) -> bool
fn eq(&self, other: &SymbolTableType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SymbolTableType
impl Eq for SymbolTableType
impl StructuralEq for SymbolTableType
impl StructuralPartialEq for SymbolTableType
Auto Trait Implementations§
impl RefUnwindSafe for SymbolTableType
impl Send for SymbolTableType
impl Sync for SymbolTableType
impl Unpin for SymbolTableType
impl UnwindSafe for SymbolTableType
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.