pub struct SpecError {
pub msg: String,
pub start: usize,
pub end: usize,
}Expand description
A malformed spec: the message and the byte range in the spec text it refers to.
Fields§
§msg: String§start: usize§end: usizeTrait Implementations§
impl Eq for SpecError
impl StructuralPartialEq for SpecError
Auto Trait Implementations§
impl Freeze for SpecError
impl RefUnwindSafe for SpecError
impl Send for SpecError
impl Sync for SpecError
impl Unpin for SpecError
impl UnsafeUnpin for SpecError
impl UnwindSafe for SpecError
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