//! # DecayPolicy trait
//!
//! Defines the interface for computing the current memory strength of an item
//! given its creation time and the current time.
use ;
/// A memory decay policy.
///
/// Implementors compute a strength value in `[0.0, 1.0]` representing how
/// much of the original memory signal remains after elapsed time.
///
/// # Guarantees
/// - `strength_at` must return a value in `[0.0, 1.0]`.
/// - `strength_at` must never panic.