pub struct SourceCoord {
pub line: SourceMapLine,
pub column: SourceMapColumn,
}
Expand description
Source coordinate, line+column
Fields§
§line: SourceMapLine
§column: SourceMapColumn
Trait Implementations§
Source§impl Clone for SourceCoord
impl Clone for SourceCoord
Source§fn clone(&self) -> SourceCoord
fn clone(&self) -> SourceCoord
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 SourceCoord
impl Debug for SourceCoord
Source§impl Ord for SourceCoord
impl Ord for SourceCoord
Source§fn cmp(&self, other: &SourceCoord) -> Ordering
fn cmp(&self, other: &SourceCoord) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceCoord
impl PartialEq for SourceCoord
Source§impl PartialOrd for SourceCoord
impl PartialOrd for SourceCoord
impl Copy for SourceCoord
impl Eq for SourceCoord
impl StructuralPartialEq for SourceCoord
Auto Trait Implementations§
impl Freeze for SourceCoord
impl RefUnwindSafe for SourceCoord
impl Send for SourceCoord
impl Sync for SourceCoord
impl Unpin for SourceCoord
impl UnwindSafe for SourceCoord
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