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

The line number, starting at 0 for the first line, unless with_first_line_number was used.

The column number within a line, starting at 0 for first the character of the line.

Trait Implementations

impl PartialEq for SourceLocation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SourceLocation
[src]

impl Debug for SourceLocation
[src]

Formats the value using the given formatter.

impl Clone for SourceLocation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SourceLocation
[src]