pub struct Loc { /* private fields */ }
Expand description
Stores a read-only (line, column) location in a token stream
Implementations§
Trait Implementations§
Source§impl Ord for Loc
impl Ord for Loc
Source§impl PartialOrd for Loc
impl PartialOrd for Loc
impl Copy for Loc
impl Eq for Loc
impl StructuralPartialEq for Loc
Auto Trait Implementations§
impl Freeze for Loc
impl RefUnwindSafe for Loc
impl Send for Loc
impl Sync for Loc
impl Unpin for Loc
impl UnwindSafe for Loc
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