Type Definition RawIndex
codespan
type RawIndex = u32;
The raw, untyped index. We use a 32-bit integer here for space efficiency, assuming we won't be working with sources larger than 4GB.
impl From<ByteIndex> for RawIndex
pub fn from(index: ByteIndex) -> RawIndex
Performs the conversion.
impl From<ColumnIndex> for RawIndex
pub fn from(index: ColumnIndex) -> RawIndex
impl From<LineIndex> for RawIndex
pub fn from(index: LineIndex) -> RawIndex