pub trait TreeFormatter: Send + Sync {
// Required method
fn format(
&self,
filtered_tree: Option<&Value>,
phone_state: &Value,
screen_width: i32,
screen_height: i32,
use_normalized: bool,
) -> (String, String, Vec<Element>, PhoneState);
}Expand description
Trait for formatting filtered trees.