Struct erg_parser::error::ParserRunnerErrors
source · pub struct ParserRunnerErrors(_);
Implementations§
source§impl ParserRunnerErrors
impl ParserRunnerErrors
pub const fn new(v: Vec<ParserRunnerError>) -> ParserRunnerErrors
pub const fn empty() -> ParserRunnerErrors
pub fn with_capacity(capacity: usize) -> ParserRunnerErrors
source§impl ParserRunnerErrors
impl ParserRunnerErrors
pub fn convert(input: &Input, errs: ParseErrors) -> Self
Trait Implementations§
source§impl Debug for ParserRunnerErrors
impl Debug for ParserRunnerErrors
source§impl Default for ParserRunnerErrors
impl Default for ParserRunnerErrors
source§fn default() -> ParserRunnerErrors
fn default() -> ParserRunnerErrors
Returns the “default value” for a type. Read more
source§impl Display for ParserRunnerErrors
impl Display for ParserRunnerErrors
source§impl Error for ParserRunnerErrors
impl Error for ParserRunnerErrors
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ParserRunnerErrors> for Vec<ParserRunnerError>
impl From<ParserRunnerErrors> for Vec<ParserRunnerError>
source§fn from(item: ParserRunnerErrors) -> Vec<ParserRunnerError>
fn from(item: ParserRunnerErrors) -> Vec<ParserRunnerError>
Converts to this type from the input type.
source§impl FromIterator<ParserRunnerError> for ParserRunnerErrors
impl FromIterator<ParserRunnerError> for ParserRunnerErrors
source§fn from_iter<I: IntoIterator<Item = ParserRunnerError>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = ParserRunnerError>>(iter: I) -> Self
Creates a value from an iterator. Read more
source§impl Index<usize> for ParserRunnerErrors
impl Index<usize> for ParserRunnerErrors
source§impl IntoIterator for ParserRunnerErrors
impl IntoIterator for ParserRunnerErrors
§type Item = ParserRunnerError
type Item = ParserRunnerError
The type of the elements being iterated over.
§type IntoIter = IntoIter<<ParserRunnerErrors as IntoIterator>::Item, Global>
type IntoIter = IntoIter<<ParserRunnerErrors as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?