Expand description
Native Rust structural mutation and mapping.
structural_mutate lets a mutator drive recursion, while
structural_map applies callbacks around engine-owned recursion.
Structs§
- Mutation
View - A borrowed value that a structural mutation may rewrite in place.
- Structural
Mutate Engine - Scoped Rust mutator runtime with a statically selected native base.
- Structural
Mutator Obj - The native mutator state, laid out as the prefix of the C++
StructuralMutatorObj, with no Rust traversal state. - Structural
Mutator View - The running structural mutation, passed to each handler.
Enums§
- Inplace
Mode - Whether a
MutationViewmay reuse its value’s storage in place.
Traits§
- Structural
Mutator Base - Native state and default mutation for
StructuralMutateEngine. The engine owns allocation, scoped dispatch, identity remaps and results.
Functions§
- structural_
mutate - Mutate a structured value with an owned or borrowed
Dispatcher.