Type Alias rustc_target::spec::StaticCow

source ·
type StaticCow<T> = Cow<'static, T>;

Aliased Type§

enum StaticCow<T> {
    Borrowed(&'static T),
    Owned(<T as ToOwned>::Owned),
}

Variants§

§1.0.0

Borrowed(&'static T)

Borrowed data.

§1.0.0

Owned(<T as ToOwned>::Owned)

Owned data.

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.