Struct mech_core::ParserErrorContext
source · pub struct ParserErrorContext {
pub cause_rng: SourceRange,
pub err_message: String,
pub annotation_rngs: Vec<SourceRange>,
}
Fields§
§cause_rng: SourceRange
§err_message: String
§annotation_rngs: Vec<SourceRange>
Trait Implementations§
source§impl Clone for ParserErrorContext
impl Clone for ParserErrorContext
source§fn clone(&self) -> ParserErrorContext
fn clone(&self) -> ParserErrorContext
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§impl Debug for ParserErrorContext
impl Debug for ParserErrorContext
source§impl<'de> Deserialize<'de> for ParserErrorContext
impl<'de> Deserialize<'de> for ParserErrorContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ParserErrorContext
impl Hash for ParserErrorContext
source§impl PartialEq<ParserErrorContext> for ParserErrorContext
impl PartialEq<ParserErrorContext> for ParserErrorContext
source§fn eq(&self, other: &ParserErrorContext) -> bool
fn eq(&self, other: &ParserErrorContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ParserErrorContext
impl Serialize for ParserErrorContext
impl Eq for ParserErrorContext
impl StructuralEq for ParserErrorContext
impl StructuralPartialEq for ParserErrorContext
Auto Trait Implementations§
impl RefUnwindSafe for ParserErrorContext
impl Send for ParserErrorContext
impl Sync for ParserErrorContext
impl Unpin for ParserErrorContext
impl UnwindSafe for ParserErrorContext
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.