Type Alias FluentId

Source
pub(crate) type FluentId = Cow<'static, str>;
Expand description

Identifier for the Fluent message/attribute corresponding to a diagnostic message.

Aliased Type§

pub(crate) enum FluentId {
    Borrowed(&'static str),
    Owned(String),
}

Variants§

§

Borrowed(&'static str)

Borrowed data.

§

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.