Struct moore_common::source::Location [−][src]
Expand description
A single location within a source file, expressed as a byte offset.
Fields
source: Sourceoffset: usizeImplementations
Obtain an iterator into the source file at this location.
Determine the line and column information at this location.
Returns a tuple (line, column, line_offset).
Determine the line at this location.
Determine the column at this location.
Determine the line offset at this location.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Location
impl UnwindSafe for Location
Blanket Implementations
Mutably borrows from an owned value. Read more