Struct erg_parser::error::ParserRunnerErrors
source · [−]pub struct ParserRunnerErrors(_);
Implementations
sourceimpl ParserRunnerErrors
impl ParserRunnerErrors
pub const fn new(v: Vec<ParserRunnerError>) -> ParserRunnerErrors
pub const fn empty() -> ParserRunnerErrors
pub fn with_capacity(capacity: usize) -> ParserRunnerErrors
sourceimpl ParserRunnerErrors
impl ParserRunnerErrors
pub fn convert(input: &Input, errs: ParseErrors) -> Self
Trait Implementations
sourceimpl Debug for ParserRunnerErrors
impl Debug for ParserRunnerErrors
sourceimpl Default for ParserRunnerErrors
impl Default for ParserRunnerErrors
sourcefn default() -> ParserRunnerErrors
fn default() -> ParserRunnerErrors
Returns the “default value” for a type. Read more
sourceimpl From<ParserRunnerErrors> for Vec<ParserRunnerError>
impl From<ParserRunnerErrors> for Vec<ParserRunnerError>
sourcefn from(item: ParserRunnerErrors) -> Vec<ParserRunnerError>
fn from(item: ParserRunnerErrors) -> Vec<ParserRunnerError>
Converts to this type from the input type.
sourceimpl Index<usize> for ParserRunnerErrors
impl Index<usize> for ParserRunnerErrors
sourceimpl Stream<ParserRunnerError> for ParserRunnerErrors
impl Stream<ParserRunnerError> for ParserRunnerErrors
fn payload(self) -> Vec<ParserRunnerError>
fn ref_payload(&self) -> &Vec<ParserRunnerError>
fn ref_mut_payload(&mut self) -> &mut Vec<ParserRunnerError>
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 ParserRunnerErrors
impl Send for ParserRunnerErrors
impl Sync for ParserRunnerErrors
impl Unpin for ParserRunnerErrors
impl UnwindSafe for ParserRunnerErrors
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