[go: up one dir, main page]

Struct svgtypes::TextPos[][src]

pub struct TextPos {
    pub row: u32,
    pub col: u32,
}

Position in text.

Position indicates a row/line and a column in the original text. Starting from 1:1.

Fields

Methods

impl TextPos
[src]

Constructs a new TextPos.

Should not be invoked manually, but rather via Stream::gen_error_pos.

Trait Implementations

impl Display for TextPos
[src]

Formats the value using the given formatter. Read more

impl Clone for TextPos
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TextPos
[src]

Formats the value using the given formatter. Read more

impl Copy for TextPos
[src]

impl PartialEq<TextPos> for TextPos
[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 Send for TextPos

impl Sync for TextPos