StringId

Type Alias StringId 

Source
pub type StringId<'a> = CowStr<'a>;
Expand description

A string identifier for a plugin, used to reference it in the app.

Aliased Type§

pub enum StringId<'a> {
    Borrowed(&'a str),
    Owned(SmolStr),
}

Variants§

§

Borrowed(&'a str)

&str varaiant

§

Owned(SmolStr)

Smolstr variant