pub trait DirectMut<V: ?Sized, N: ?Sized> {
// Required method
fn direct_mut(director: Director<'_, Self, V>, node: &mut N);
}Expand description
Determines how to traverse the nodes within the input. This must be implemented for all node types in the input.
Required Methods§
Sourcefn direct_mut(director: Director<'_, Self, V>, node: &mut N)
fn direct_mut(director: Director<'_, Self, V>, node: &mut N)
Determines all the sub-nodes of the given node. For each sub-node, call
Director::direct_mut(&mut director, &mut node.my_subnode).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.