Struct erg_compiler::error::CompileErrors
source · [−]pub struct CompileErrors(_);
Implementations
sourceimpl CompileErrors
impl CompileErrors
pub const fn new(v: Vec<CompileError>) -> CompileErrors
pub const fn empty() -> CompileErrors
pub fn with_capacity(capacity: usize) -> CompileErrors
sourceimpl CompileErrors
impl CompileErrors
Trait Implementations
sourceimpl Debug for CompileErrors
impl Debug for CompileErrors
sourceimpl Default for CompileErrors
impl Default for CompileErrors
sourcefn default() -> CompileErrors
fn default() -> CompileErrors
Returns the “default value” for a type. Read more
sourceimpl From<CompileError> for CompileErrors
impl From<CompileError> for CompileErrors
sourcefn from(err: CompileError) -> Self
fn from(err: CompileError) -> Self
Converts to this type from the input type.
sourceimpl From<ParserRunnerErrors> for CompileErrors
impl From<ParserRunnerErrors> for CompileErrors
sourcefn from(err: ParserRunnerErrors) -> Self
fn from(err: ParserRunnerErrors) -> Self
Converts to this type from the input type.
sourceimpl From<Vec<CompileError, Global>> for CompileErrors
impl From<Vec<CompileError, Global>> for CompileErrors
sourcefn from(errs: Vec<CompileError>) -> Self
fn from(errs: Vec<CompileError>) -> Self
Converts to this type from the input type.
sourceimpl Index<usize> for CompileErrors
impl Index<usize> for CompileErrors
sourceimpl MultiErrorDisplay<CompileError> for CompileErrors
impl MultiErrorDisplay<CompileError> for CompileErrors
sourceimpl Stream<CompileError> for CompileErrors
impl Stream<CompileError> for CompileErrors
fn payload(self) -> Vec<CompileError>
fn ref_payload(&self) -> &Vec<CompileError>
fn ref_mut_payload(&mut self) -> &mut Vec<CompileError>
fn clear(&mut self)
fn len(&self) -> usize
fn size(&self) -> usize
fn is_empty(&self) -> bool
fn insert(&mut self, idx: usize, elem: T)
fn remove(&mut self, idx: usize) -> T
fn push(&mut self, elem: T)
fn append<S>(&mut self, s: &mut S)where
S: Stream<T>,
fn pop(&mut self) -> Option<T>
fn lpop(&mut self) -> Option<T>
fn get(&self, idx: usize) -> Option<&T>
fn get_mut(&mut self, idx: usize) -> Option<&mut T>
fn first(&self) -> Option<&T>
fn first_mut(&mut self) -> Option<&mut T>
fn last(&self) -> Option<&T>
fn last_mut(&mut self) -> Option<&mut T>
fn iter(&self) -> Iter<'_, T>
fn iter_mut(&mut self) -> IterMut<'_, T>
fn into_iter(self) -> IntoIter<T, Global>
fn take_all(&mut self) -> Vec<T, Global>
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = T>,
Auto Trait Implementations
impl RefUnwindSafe for CompileErrors
impl Send for CompileErrors
impl Sync for CompileErrors
impl Unpin for CompileErrors
impl UnwindSafe for CompileErrors
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more