mirui 0.32.3

A lightweight, no_std ECS-driven UI framework for embedded, desktop, and WebAssembly
Documentation
extern crate alloc;

pub mod algorithm;
pub mod budget;
pub mod core;
pub mod error;
pub mod factory;
pub mod handle;
pub mod inspect;
pub mod lookup;
pub mod stats;

pub use self::core::{Cache, CacheBuilder, Entry, OccupiedEntry, VacantEntry};
pub use algorithm::{Algorithm, Lru, NoEvict};
pub use budget::{HasSize, MaxSize};
pub use error::CacheError;
pub use factory::WithFactory;
pub use handle::Handle;
pub use inspect::{CacheInspect, CacheRegistry, CacheStatsSnapshot, InspectCaches};
pub use lookup::{HashLookup, LinearLookup, Lookup, NodeId};
pub use stats::CacheStats;

pub type LruCache<K, V> = Cache<K, V, Lru, HashLookup<K>>;
pub type LruLinearCache<K, V> = Cache<K, V, Lru, LinearLookup<K>>;
pub type UnboundCache<K, V> = Cache<K, V, NoEvict, HashLookup<K>>;