rustc_target::spec

Type Alias StaticCow

Source
type StaticCow<T> = Cow<'static, T>;

Aliased Type§

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

Variants§

§

Borrowed(&'static T)

Borrowed data.

§

Owned(<T as ToOwned>::Owned)

Owned data.

Layout§

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