1 2 3 4 5 6 7 8 9 10
//! Set parsed cache method for CacheState. use crate::widgets::markdown_widget::state::cache_state::{CacheState, ParsedCache}; impl CacheState { /// Set the parsed cache. pub fn set_parsed(&mut self, cache: ParsedCache) { self.parsed = Some(cache); } }