Struct syntax::codemap::LineInfo [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
line_index: usize
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Index of line, starting from 0.
start_col: CharPos
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Column in line where span begins, starting from 0.
end_col: CharPos
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Column in line where span ends, starting from 0, exclusive.
Trait Implementations
impl Debug for LineInfo
[src]
impl Debug for LineInfo
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Eq for LineInfo
[src]
impl Eq for LineInfo
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl PartialEq<LineInfo> for LineInfo
[src]
impl PartialEq<LineInfo> for LineInfo
fn eq(&self, other: &LineInfo) -> bool
[src]
fn eq(&self, other: &LineInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LineInfo) -> bool
[src]
fn ne(&self, other: &LineInfo) -> bool
This method tests for !=
.
impl Clone for LineInfo
[src]
impl Clone for LineInfo
fn clone(&self) -> LineInfo
[src]
fn clone(&self) -> LineInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for LineInfo
[src]
impl Copy for LineInfo