pub struct ErrorLocation {
pub file: Cow<'static, str>,
pub line: u32,
pub column: u32,
}Expand description
Location where error happen.
Fields§
§file: Cow<'static, str>Filename of where error happen.
line: u32Line number of where error happen.
column: u32Column of where error happen.
Trait Implementations§
Source§impl Debug for ErrorLocation
impl Debug for ErrorLocation
impl Eq for ErrorLocation
Source§impl From<&'static Location<'static>> for ErrorLocation
impl From<&'static Location<'static>> for ErrorLocation
Source§impl PartialEq for ErrorLocation
impl PartialEq for ErrorLocation
impl StructuralPartialEq for ErrorLocation
Auto Trait Implementations§
impl Freeze for ErrorLocation
impl RefUnwindSafe for ErrorLocation
impl Send for ErrorLocation
impl Sync for ErrorLocation
impl Unpin for ErrorLocation
impl UnsafeUnpin for ErrorLocation
impl UnwindSafe for ErrorLocation
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