pub struct ExprLocation(pub Rc<Path>, pub usize, pub usize);
Expand description
file, begin offset, end offset
Tuple Fields§
§0: Rc<Path>
§1: usize
§2: usize
Trait Implementations§
Source§impl Clone for ExprLocation
impl Clone for ExprLocation
Source§fn clone(&self) -> ExprLocation
fn clone(&self) -> ExprLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExprLocation
impl Debug for ExprLocation
Source§impl PartialEq for ExprLocation
impl PartialEq for ExprLocation
Source§impl Trace for ExprLocation
impl Trace for ExprLocation
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl StructuralPartialEq for ExprLocation
Auto Trait Implementations§
impl Freeze for ExprLocation
impl RefUnwindSafe for ExprLocation
impl !Send for ExprLocation
impl !Sync for ExprLocation
impl Unpin for ExprLocation
impl UnwindSafe for ExprLocation
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