pub type Str = Cow<'static, str>;Expand description
A string that is either a &'static str (so a parameter list can be a
const) or owned (so an app can build one per frame from its document).
Aliased Type§
pub enum Str {
Borrowed(&'static str),
Owned(String),
}