use crate::widgets::markdown_widget::foundation::elements::MarkdownElement;
#[derive(Debug, Clone)]
pub struct ParsedCache {
pub content_hash: u64,
pub elements: Vec<MarkdownElement>,
}
impl ParsedCache {
pub fn new(content_hash: u64, elements: Vec<MarkdownElement>) -> Self {
Self {
content_hash,
elements,
}
}
}