pub struct Point {
pub s_i: usize,
pub r_i: usize,
pub c_i: usize,
}Expand description
The lexer’s scan position.
Fields§
§s_i: usizeByte offset into the source.
r_i: usize1-based line.
c_i: usize1-based column, in UTF-16 code units.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
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