Struct cssparser::SourceLocation
[−]
[src]
pub struct SourceLocation { pub line: usize, pub column: usize, }
The line and column number for a given position within the input.
Fields
line: usize
The line number, starting at 1 for the first line.
column: usize
The column number within a line, starting at 1 for first the character of the line.
Trait Implementations
impl Copy for SourceLocation
[src]
impl Clone for SourceLocation
[src]
fn clone(&self) -> SourceLocation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for SourceLocation
[src]
impl Eq for SourceLocation
[src]
impl PartialEq for SourceLocation
[src]
fn eq(&self, __arg_0: &SourceLocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SourceLocation) -> bool
This method tests for !=
.