Type Definition move_ir_types::location::ByteIndex
source · [−]pub type ByteIndex = u32;Expand description
An index into a file.
Much like the codespan crate, a u32 is used here to for space efficiency.
However, this assumes no file is larger than 4GB, so this might become a usize in the future
if the space concerns turn out to not be an issue.