A comprehensive collection of reusable TUI components for ratatui including resizable splits, tree views, markdown rendering, toast notifications, dialogs, and terminal embedding
//! Lightweight render cache marker for document viewers.
/// Stores the content hash used by the latest render.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]pubstructCacheState{/// Hash of the last rendered content and display settings.
pubcontent_hash:u64,
}implCacheState{/// Replaces the cached content hash.
pubfnset_content_hash(&mutself, content_hash:u64){self.content_hash = content_hash;}}