Enum python_ast::codegen::CodeGenContext
source · pub enum CodeGenContext {
Module,
Class,
}
Variants§
Trait Implementations§
source§impl Clone for CodeGenContext
impl Clone for CodeGenContext
source§fn clone(&self) -> CodeGenContext
fn clone(&self) -> CodeGenContext
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 CodeGenContext
impl Debug for CodeGenContext
impl Copy for CodeGenContext
Auto Trait Implementations§
impl RefUnwindSafe for CodeGenContext
impl Send for CodeGenContext
impl Sync for CodeGenContext
impl Unpin for CodeGenContext
impl UnwindSafe for CodeGenContext
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