pub struct ScriptError {
pub line: usize,
pub message: String,
}Expand description
A script failed to parse. Carries the 1-based line number so a broken fixture points at itself.
Fields§
§line: usize§message: StringTrait Implementations§
Source§impl Debug for ScriptError
impl Debug for ScriptError
Auto Trait Implementations§
impl Freeze for ScriptError
impl RefUnwindSafe for ScriptError
impl Send for ScriptError
impl Sync for ScriptError
impl Unpin for ScriptError
impl UnsafeUnpin for ScriptError
impl UnwindSafe for ScriptError
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