pub trait VisitMut {
Show 14 methods // Provided methods fn visit_document_mut(&mut self, node: &mut DocumentMut) { ... } 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§

source

fn visit_document_mut(&mut self, node: &mut DocumentMut)

source

fn visit_item_mut(&mut self, node: &mut Item)

source

fn visit_table_mut(&mut self, node: &mut Table)

source

fn visit_inline_table_mut(&mut self, node: &mut InlineTable)

source

fn visit_table_like_mut(&mut self, node: &mut dyn TableLike)

visit_table_mut and visit_inline_table_mut both recurse into this method.

source

fn visit_table_like_kv_mut(&mut self, key: KeyMut<'_>, node: &mut Item)

source

fn visit_array_mut(&mut self, node: &mut Array)

source

fn visit_array_of_tables_mut(&mut self, node: &mut ArrayOfTables)

source

fn visit_value_mut(&mut self, node: &mut Value)

source

fn visit_boolean_mut(&mut self, node: &mut Formatted<bool>)

source

fn visit_datetime_mut(&mut self, node: &mut Formatted<Datetime>)

source

fn visit_float_mut(&mut self, node: &mut Formatted<f64>)

source

fn visit_integer_mut(&mut self, node: &mut Formatted<i64>)

source

fn visit_string_mut(&mut self, node: &mut Formatted<String>)

Implementors§