pub struct IncompatibleGrammarError {
pub abi_version: u32,
}Expand description
An error that occurred when trying to assign an incompatible Grammar to
a crate::parser::Parser.
Fields§
§abi_version: u32Trait Implementations§
Source§impl Debug for IncompatibleGrammarError
impl Debug for IncompatibleGrammarError
Source§impl Display for IncompatibleGrammarError
impl Display for IncompatibleGrammarError
Source§impl Error for IncompatibleGrammarError
impl Error for IncompatibleGrammarError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for IncompatibleGrammarError
impl PartialEq for IncompatibleGrammarError
impl Eq for IncompatibleGrammarError
impl StructuralPartialEq for IncompatibleGrammarError
Auto Trait Implementations§
impl Freeze for IncompatibleGrammarError
impl RefUnwindSafe for IncompatibleGrammarError
impl Send for IncompatibleGrammarError
impl Sync for IncompatibleGrammarError
impl Unpin for IncompatibleGrammarError
impl UnsafeUnpin for IncompatibleGrammarError
impl UnwindSafe for IncompatibleGrammarError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more