euv_core/renderer/render/struct.rs
1use crate::*;
2
3/// Manages the rendering of virtual DOM nodes to the real DOM.
4///
5/// Maintains a mapping between virtual nodes and real DOM elements,
6/// and handles creation, diffing, and patching of the DOM tree.
7#[derive(Debug)]
8pub struct Renderer {
9 /// The root DOM element.
10 pub(crate) root: Element,
11 /// The current virtual DOM tree.
12 pub(crate) current_tree: Option<VirtualNode>,
13}