Enum rustpython_ast::ExprContext
source · pub enum ExprContext {
Load,
Store,
Del,
}
Variants§
Trait Implementations§
source§impl Clone for ExprContext
impl Clone for ExprContext
source§fn clone(&self) -> ExprContext
fn clone(&self) -> ExprContext
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 ExprContext
impl Debug for ExprContext
source§impl PartialEq<ExprContext> for ExprContext
impl PartialEq<ExprContext> for ExprContext
source§fn eq(&self, other: &ExprContext) -> bool
fn eq(&self, other: &ExprContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.