pub struct Pos {
pub file_id: FileType,
pub line: usize,
pub column: usize,
}
Expand description
indicate a position of file
Fields§
§file_id: FileType
§line: usize
§column: usize
Trait Implementations§
impl Copy for Pos
Auto Trait Implementations§
impl RefUnwindSafe for Pos
impl Send for Pos
impl Sync for Pos
impl Unpin for Pos
impl UnwindSafe for Pos
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