Struct envuse_parser::parser::token::PointerContext
source · [−]Fields
point: Pointlocation: usizeImplementations
sourceimpl PointerContext
impl PointerContext
pub fn start_zero() -> Self
pub fn move_columns(&mut self, columns_positions: usize) -> &mut Self
pub fn move_lines(&mut self, lines: usize) -> &mut Self
pub fn create_span(&self, start_pointer_context: PointerContext) -> Span
pub fn create_token(&self, start_pointer_context: PointerContext) -> Token
pub fn current_position(&self) -> usize
Trait Implementations
sourceimpl Clone for PointerContext
impl Clone for PointerContext
sourcefn clone(&self) -> PointerContext
fn clone(&self) -> PointerContext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for PointerContext
impl Send for PointerContext
impl Sync for PointerContext
impl Unpin for PointerContext
impl UnwindSafe for PointerContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more