Struct erg_compiler::context::ModuleContext
source · pub struct ModuleContext {
pub context: Context,
pub scope: Dict<Str, Context>,
}
Fields§
§context: Context
§scope: Dict<Str, Context>
Implementations§
Trait Implementations§
source§impl Clone for ModuleContext
impl Clone for ModuleContext
source§fn clone(&self) -> ModuleContext
fn clone(&self) -> ModuleContext
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 ModuleContext
impl Debug for ModuleContext
source§impl Default for ModuleContext
impl Default for ModuleContext
source§fn default() -> ModuleContext
fn default() -> ModuleContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModuleContext
impl !RefUnwindSafe for ModuleContext
impl Send for ModuleContext
impl Sync for ModuleContext
impl Unpin for ModuleContext
impl !UnwindSafe for ModuleContext
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