Lifetime

Trait Lifetime 

Source
pub trait Lifetime:
    Debug
    + Copy
    + Hash
    + Eq
    + PartialEq { }
Expand description

The lifetime of an allocation. Used to pool allocations and reduce fragmentation.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§