Struct gluon_base::source::Lines [] [src]

pub struct Lines { /* fields omitted */ }

Type which provides a bidirectional mapping between byte offsets and line and column locations for some source file

Methods

impl Lines
[src]

Creates a mapping for src

Returns the byte offset of the start of line_number

Returns the line and column location of byte

Returns which line byte points to

Trait Implementations

impl Clone for Lines
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Lines
[src]

Formats the value using the given formatter.