Struct mediawiki_parser::SourceLine[][src]

pub struct SourceLine<'input> {
    pub start: usize,
    pub content: &'input str,
    pub end: usize,
}

Position of a source line of code.

Fields

Methods

impl<'input> SourceLine<'input>
[src]

checks if pos is at a line start

Trait Implementations

impl<'input> Debug for SourceLine<'input>
[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for SourceLine<'input>
[src]

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

This method tests for !=.

Auto Trait Implementations

impl<'input> Send for SourceLine<'input>

impl<'input> Sync for SourceLine<'input>