Enum codespan::LocationError [−][src]
pub enum LocationError { LineOutOfBounds { given: LineIndex, max: LineIndex, }, ColumnOutOfBounds { given: ColumnIndex, max: ColumnIndex, }, }
Variants
LineOutOfBounds
Fields of LineOutOfBounds
given: LineIndex | |
max: LineIndex |
ColumnOutOfBounds
Fields of ColumnOutOfBounds
given: ColumnIndex | |
max: ColumnIndex |
Trait Implementations
impl Debug for LocationError
[src]
impl Debug for LocationError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for LocationError
[src]
impl PartialEq for LocationError
fn eq(&self, other: &LocationError) -> bool
[src]
fn eq(&self, other: &LocationError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LocationError) -> bool
[src]
fn ne(&self, other: &LocationError) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for LocationError
impl Send for LocationError
impl Sync for LocationError
impl Sync for LocationError