pub trait Visit<'doc> {
Show 14 methods
fn visit_document(&mut self, node: &'doc Document) { ... }
fn visit_item(&mut self, node: &'doc Item) { ... }
fn visit_table(&mut self, node: &'doc Table) { ... }
fn visit_inline_table(&mut self, node: &'doc InlineTable) { ... }
fn visit_table_like(&mut self, node: &'doc dyn TableLike) { ... }
fn visit_table_like_kv(&mut self, key: &'doc str, node: &'doc Item) { ... }
fn visit_array(&mut self, node: &'doc Array) { ... }
fn visit_array_of_tables(&mut self, node: &'doc ArrayOfTables) { ... }
fn visit_value(&mut self, node: &'doc Value) { ... }
fn visit_boolean(&mut self, node: &'doc Formatted<bool>) { ... }
fn visit_datetime(&mut self, node: &'doc Formatted<Datetime>) { ... }
fn visit_float(&mut self, node: &'doc Formatted<f64>) { ... }
fn visit_integer(&mut self, node: &'doc Formatted<i64>) { ... }
fn visit_string(&mut self, node: &'doc Formatted<String>) { ... }
}
Expand description
Document tree traversal to mutate an exclusive borrow of a document tree in-place.
See the module documentation for details.