Struct cssparser::SourceLocation
[−]
[src]
pub struct SourceLocation {
pub line: u32,
pub column: u32,
}The line and column number for a given position within the input.
Fields
line: u32
The line number, starting at 0 for the first line, unless with_first_line_number was used.
column: u32
The column number within a line, starting at 0 for first the character of the line.
Trait Implementations
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 !=.
impl Eq for SourceLocation[src]
impl Debug 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