pub struct SchemaParseError {
pub span: Span,
pub kind: SchemaErrorKind,
}Expand description
An error produced when parsing a .ronschema file fails.
Fields§
§span: SpanSource location where the error occurred.
kind: SchemaErrorKindWhat went wrong.
Trait Implementations§
Source§impl Clone for SchemaParseError
impl Clone for SchemaParseError
Source§fn clone(&self) -> SchemaParseError
fn clone(&self) -> SchemaParseError
Returns a duplicate 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 SchemaParseError
impl Debug for SchemaParseError
Source§impl PartialEq for SchemaParseError
impl PartialEq for SchemaParseError
impl Eq for SchemaParseError
impl StructuralPartialEq for SchemaParseError
Auto Trait Implementations§
impl Freeze for SchemaParseError
impl RefUnwindSafe for SchemaParseError
impl Send for SchemaParseError
impl Sync for SchemaParseError
impl Unpin for SchemaParseError
impl UnsafeUnpin for SchemaParseError
impl UnwindSafe for SchemaParseError
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