ratatui_toolkit/widgets/markdown_widget/state/cache_state/constructors/
new.rs

1//! Constructor for CacheState.
2
3use crate::widgets::markdown_widget::state::cache_state::CacheState;
4
5impl CacheState {
6    /// Create a new cache state with empty caches.
7    pub fn new() -> Self {
8        Self {
9            parsed: None,
10            render: None,
11        }
12    }
13}