use super::unwind_rule::*; use crate::cache::*; /// The unwinder cache type for [`UnwinderX86_64`](super::UnwinderX86_64). pub struct CacheX86_64( pub Cache, ); impl CacheX86_64 { /// Create a new cache. pub fn new() -> Self { Self(Cache::new()) } } impl CacheX86_64

{ /// Create a new cache. pub fn new_in() -> Self { Self(Cache::new()) } /// Returns a snapshot of the cache usage statistics. pub fn stats(&self) -> CacheStats { self.0.rule_cache.stats() } } impl Default for CacheX86_64

{ fn default() -> Self { Self::new_in() } }