Struct erg_compiler::error::TyCheckErrors
source · [−]pub struct TyCheckErrors(_);
Implementations
sourceimpl TyCheckErrors
impl TyCheckErrors
pub const fn new(v: Vec<TyCheckError>) -> TyCheckErrors
pub const fn empty() -> TyCheckErrors
pub fn with_capacity(capacity: usize) -> TyCheckErrors
Trait Implementations
sourceimpl Add<TyCheckErrors> for TyCheckErrors
impl Add<TyCheckErrors> for TyCheckErrors
type Output = TyCheckErrors
type Output = TyCheckErrors
The resulting type after applying the
+
operator.sourceimpl Debug for TyCheckErrors
impl Debug for TyCheckErrors
sourceimpl Default for TyCheckErrors
impl Default for TyCheckErrors
sourcefn default() -> TyCheckErrors
fn default() -> TyCheckErrors
Returns the “default value” for a type. Read more
sourceimpl From<ParserRunnerErrors> for TyCheckErrors
impl From<ParserRunnerErrors> for TyCheckErrors
sourcefn from(err: ParserRunnerErrors) -> Self
fn from(err: ParserRunnerErrors) -> Self
Converts to this type from the input type.
sourceimpl From<TyCheckError> for TyCheckErrors
impl From<TyCheckError> for TyCheckErrors
sourcefn from(err: TyCheckError) -> Self
fn from(err: TyCheckError) -> Self
Converts to this type from the input type.
sourceimpl From<TyCheckErrors> for Vec<TyCheckError>
impl From<TyCheckErrors> for Vec<TyCheckError>
sourcefn from(item: TyCheckErrors) -> Vec<TyCheckError>
fn from(item: TyCheckErrors) -> Vec<TyCheckError>
Converts to this type from the input type.
sourceimpl From<Vec<TyCheckError, Global>> for TyCheckErrors
impl From<Vec<TyCheckError, Global>> for TyCheckErrors
sourcefn from(errs: Vec<TyCheckError>) -> Self
fn from(errs: Vec<TyCheckError>) -> Self
Converts to this type from the input type.
sourceimpl Index<usize> for TyCheckErrors
impl Index<usize> for TyCheckErrors
sourceimpl Stream<TyCheckError> for TyCheckErrors
impl Stream<TyCheckError> for TyCheckErrors
fn payload(self) -> Vec<TyCheckError>
fn ref_payload(&self) -> &Vec<TyCheckError>
fn ref_mut_payload(&mut self) -> &mut Vec<TyCheckError>
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 TyCheckErrors
impl Send for TyCheckErrors
impl Sync for TyCheckErrors
impl Unpin for TyCheckErrors
impl UnwindSafe for TyCheckErrors
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