Type Alias transient::Timeless

source ·
pub type Timeless = ();
Expand description

Used as the Transience of a type to declare that it is 'static and not dependent on any lifetime parameters.

Such types only contain owned data and static references, and are thus much safer to work with and allow several restrictions imposed by the crate to be loosened. The transient::Any trait is parameterized with this transience by default so that it can mimic the simplicity of the std::any::Any trait in the simple case of 'static types.

Trait Implementations§