TextChunk
types that use the std
library, including heap allocation.
Also re-exports the core crate's module and premades.
pub use kul_core::text::chunk::*; |
pub use kul_core::text::chunk::premade::*; |
CharPos | A SourcePosition type for characters or string chunks as the position of a
char relative to its original source.
|
PosStrish | A TextChunk implementation for boxed (heap allocated) string values,
termed "string-ish" throughout this crate, used distinctly as chunks. This
is useful for strings produced from streaming sources that buffered into one
or more strings separated at possibly arbitrary points.
|
PosStrishIter | A [chunk::SourceStream ] (and Iterator ) of the characters, and their
positions, of the text chunk that a PosStrish represents.
|
RefCntStrish | Restricts what can be used in PosStrish to only Rc and Arc of only
String , Box<str> , and str .
|