Struct mediawiki_parser::Span [] [src]

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

Holds position information (start and end) for one element

Fields

Methods

impl Span
[src]

[src]

[src]

Trait Implementations

impl Debug for Span
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Span
[src]

[src]

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

[src]

This method tests for !=.

impl Clone for Span
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Span
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Span

impl Sync for Span