Struct erg_compiler::module::errors::SharedCompileErrors
source · pub struct SharedCompileErrors(_);
Implementations§
pub fn new() -> Self
pub fn push(&self, error: CompileError)
pub fn extend(&self, errors: CompileErrors)
pub fn take(&self) -> CompileErrors
pub fn clear(&self)
Trait Implementations§
source§fn clone(&self) -> SharedCompileErrors
fn clone(&self) -> SharedCompileErrors
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§fn default() -> SharedCompileErrors
fn default() -> SharedCompileErrors
Returns the “default value” for a type. Read more