Type Definition codespan::RawIndex [] [src]

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.

Trait Implementations

impl From<RawIndex> for LineIndex
[src]

[src]

Performs the conversion.

impl From<RawIndex> for ColumnIndex
[src]

[src]

Performs the conversion.

impl From<RawIndex> for ByteIndex
[src]

[src]

Performs the conversion.