pub struct Pos {
pub filename: Rc<String>,
pub indent: usize,
pub line: usize,
pub line_start: bool,
pub line_offset: usize,
pub offset: usize,
}
Expand description
Source code position
Fields§
§filename: Rc<String>
§indent: usize
§line: usize
§line_start: bool
§line_offset: usize
§offset: usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pos
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