pub trait ToStatic: Sealed {
type Static<'a>
where 'a: 'static;
// Required method
fn to_static(&self) -> Self::Static<'static>;
}Expand description
Helper trait to detach objects with lifetimes attached to a compiler or context.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.