Struct proc_macro2::LineColumn [−][src]
A line-column pair representing the start or end of a Span
.
This type is semver exempt and not exposed by default.
Fields
line: usize
The 1-indexed line in the source file on which the span starts or ends (inclusive).
column: usize
The 0-indexed column (in UTF-8 characters) in the source file on which the span starts or ends (inclusive).
Trait Implementations
impl Clone for LineColumn
[src][+]
impl Copy for LineColumn
[src]
impl Debug for LineColumn
[src][+]
impl Eq for LineColumn
[src]
impl Ord for LineColumn
[src][+]
impl PartialEq<LineColumn> for LineColumn
[src][+]
impl PartialOrd<LineColumn> for LineColumn
[src][+]
impl StructuralEq for LineColumn
[src]
impl StructuralPartialEq for LineColumn
[src]
Auto Trait Implementations
impl RefUnwindSafe for LineColumn
impl Send for LineColumn
impl Sync for LineColumn
impl Unpin for LineColumn
impl UnwindSafe for LineColumn
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,