pub trait IntoStatic {
type Static: IntoStatic<Static = Self::Static> + 'static;
// Required method
fn into_static(self) -> Self::Static;
}Expand description
Upgrading to 'static lifetimes.
Required Associated Types§
Sourcetype Static: IntoStatic<Static = Self::Static> + 'static
type Static: IntoStatic<Static = Self::Static> + 'static
The type with 'static lifetimes.
Required Methods§
Sourcefn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Upgrades Self to Self::Static.