pub struct EvalError {
pub message: Box<str>,
pub location: Location,
}Expand description
An error that occurs during evaluation of an expression.
Fields§
§message: Box<str>The error message.
location: LocationThe location in the source code where the error occurred.
Trait Implementations§
Source§impl ErrorWithLocation for EvalError
impl ErrorWithLocation for EvalError
impl StructuralPartialEq for EvalError
Auto Trait Implementations§
impl Freeze for EvalError
impl RefUnwindSafe for EvalError
impl Send for EvalError
impl Sync for EvalError
impl Unpin for EvalError
impl UnwindSafe for EvalError
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