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

The line number, starting at 1 for the first line.

The column number within a line, starting at 1 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]