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§
Trait Implementations§
1.0.0 · source§impl<B> Deref for Cow<'_, B>where
B: ToOwned + ?Sized,
<B as ToOwned>::Owned: Borrow<B>,
impl<B> Deref for Cow<'_, B>where B: ToOwned + ?Sized, <B as ToOwned>::Owned: Borrow<B>,
Layout§
Note: Encountered an error during type layout; the type failed to be normalized.