Registry / utility / text-size

text-size

JSON →
library1.1.1rscratesunverified

Newtypes for text offsets.

# Cargo.toml [dependencies] text-size = "1.1.1"
INSTALL
IMPORT
SIG · TEXT-SIZE
T
text-size
utilityrustv1.1.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.

TextSize
✓ use text_size::TextSize;

Create a text offset from a u32.

use text_size::TextSize; fn main() { let offset = TextSize::from(42u32); println!("Offset: {}", offset); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
text-size — cargo add text-size · libregistry