Struct rustc_span::LineInfo
source · Fields
line_index: usize
Index of line, starting from 0.
start_col: CharPos
Column in line where span begins, starting from 0.
end_col: CharPos
Column in line where span ends, starting from 0, exclusive.
Trait Implementations
impl Copy for LineInfo
impl Eq for LineInfo
impl StructuralEq for LineInfo
impl StructuralPartialEq for LineInfo
Auto Trait Implementations
impl RefUnwindSafe for LineInfo
impl Send for LineInfo
impl Sync for LineInfo
impl Unpin for LineInfo
impl UnwindSafe for LineInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes