Expand description
Typesafe representations of text ranges and sizes.
Re-exports
pub use crate::syntax::SyntaxText;
Structs
- A range in text, represented as a pair of
TextSize
. - A measure of text length. Also, equivalently, an index into text.
Traits
- Primitives with a textual length that can be passed to
TextSize::of
.