just/src/position.rs

8 lines
146 B
Rust
Raw Normal View History

/// Source position
#[derive(Copy, Clone, PartialEq, Debug)]
pub struct Position {
pub offset: usize,
pub column: usize,
pub line: usize,
}