pub trait VisitMut {
Show 14 methods
fn visit_document_mut(&mut self, node: &mut Document) { ... }
fn visit_item_mut(&mut self, node: &mut Item) { ... }
fn visit_table_mut(&mut self, node: &mut Table) { ... }
fn visit_inline_table_mut(&mut self, node: &mut InlineTable) { ... }
fn visit_table_like_mut(&mut self, node: &mut dyn TableLike) { ... }
fn visit_table_like_kv_mut(&mut self, key: KeyMut<'_>, node: &mut Item) { ... }
fn visit_array_mut(&mut self, node: &mut Array) { ... }
fn visit_array_of_tables_mut(&mut self, node: &mut ArrayOfTables) { ... }
fn visit_value_mut(&mut self, node: &mut Value) { ... }
fn visit_boolean_mut(&mut self, node: &mut Formatted<bool>) { ... }
fn visit_datetime_mut(&mut self, node: &mut Formatted<Datetime>) { ... }
fn visit_float_mut(&mut self, node: &mut Formatted<f64>) { ... }
fn visit_integer_mut(&mut self, node: &mut Formatted<i64>) { ... }
fn visit_string_mut(&mut self, node: &mut Formatted<String>) { ... }
}
Expand description
Document tree traversal to mutate an exclusive borrow of a document tree in-place.
See the module documentation for details.
Provided Methods
fn visit_document_mut(&mut self, node: &mut Document)
fn visit_item_mut(&mut self, node: &mut Item)
fn visit_table_mut(&mut self, node: &mut Table)
fn visit_inline_table_mut(&mut self, node: &mut InlineTable)
fn visit_table_like_mut(&mut self, node: &mut dyn TableLike)
fn visit_table_like_mut(&mut self, node: &mut dyn TableLike)
visit_table_mut
and
visit_inline_table_mut
both recurse into this method.