pub trait IntoStatic {
type Static: 'static;
// Required method
fn into_static(self) -> Self::Static;
}Expand description
Upgrading to 'static lifetimes.
Required Associated Types§
Required Methods§
Sourcefn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Upgrades Self to Self::Static.
Implementations on Foreign Types§
Source§impl<T: ToOwned + ?Sized + 'static> IntoStatic for Cow<'_, T>
Available on crate features std or alloc only.
impl<T: ToOwned + ?Sized + 'static> IntoStatic for Cow<'_, T>
Available on crate features
std or alloc only.