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: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.