Registry / utility / syntex-pos

syntex-pos

JSON →
library0.59.1rscratesunverified

Backport of libsyntax_pos for use with syntex.

# Cargo.toml [dependencies] syntex_pos = "0.59.1"
INSTALL
IMPORT
SIG · SYNTEX-POS
S
syntex-pos
utilityrustv0.59.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BytePos
use syntex_pos::BytePos;

Create a BytePos representing a byte offset.

use syntex_pos::BytePos; fn main() { let pos = BytePos(42); println!("{}", pos.0); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.59.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
syntex-pos — cargo add syntex-pos · libregistry