Struct cranelift_reader::Location [−][src]
pub struct Location { pub line_number: usize, }
Expand description
The location of a Token
or Error
.
Fields
line_number: usize
Line number. Command-line arguments are line 0 and source file lines start from 1.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Location
impl UnwindSafe for Location
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.