Struct proc_macro2::LineColumn[][src]

pub struct LineColumn {
    pub line: usize,
    pub column: usize,
}

A line-column pair representing the start or end of a Span.

This type is semver exempt and not exposed by default.

Fields

The 1-indexed line in the source file on which the span starts or ends (inclusive).

The 0-indexed column (in UTF-8 characters) in the source file on which the span starts or ends (inclusive).

Auto Trait Implementations

impl Send for LineColumn

impl Sync for LineColumn