Skip to main content

Label

Type Alias Label 

Source
type Label = Cow<'static, str>;
Expand description

The text of one string of a choice value.

Aliased Type§

enum Label {
    Borrowed(&'static str),
    Owned(String),
}

Variants§

§1.0.0

Borrowed(&'static str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.