pub type Fragment<'a> = Cow<'a, str>;
A fragment of Text.
Text
This is just an alias to a string that may be either borrowed or owned.
enum Fragment<'a> { Borrowed(&'a str), Owned(String), }
Borrowed data.
Owned data.