Type Alias cosmic::iced_widget::text::Fragment
source · pub type Fragment<'a> = Cow<'a, str>;
Expand description
A fragment of Text
.
This is just an alias to a string that may be either borrowed or owned.
Aliased Type§
enum Fragment<'a> {
Borrowed(&'a str),
Owned(String),
}