pub struct CodeLocation(/* private fields */);
Expand description
CodeLocation
code location of source for AST elements.
Contains: line
nad position
.
Implementations§
Trait Implementations§
Source§impl Clone for CodeLocation
impl Clone for CodeLocation
Source§fn clone(&self) -> CodeLocation
fn clone(&self) -> CodeLocation
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 CodeLocation
impl Debug for CodeLocation
Source§impl PartialEq for CodeLocation
impl PartialEq for CodeLocation
impl Eq for CodeLocation
impl StructuralPartialEq for CodeLocation
Auto Trait Implementations§
impl Freeze for CodeLocation
impl RefUnwindSafe for CodeLocation
impl Send for CodeLocation
impl Sync for CodeLocation
impl Unpin for CodeLocation
impl UnwindSafe for CodeLocation
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