Struct htmlstream::Position [] [src]

pub struct Position {
    pub start: usize,
    pub end: usize,
}

The HTML source position

Examples

let pos = Position {
    start: 0,
    end: 10,
};

Fields

Trait Implementations

impl Debug for Position
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Position
[src]

[src]

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

[src]

This method tests for !=.