pub trait TraversableMut: Any {
// Required method
fn traverse_mut<V: VisitorMut>(
&mut self,
visitor: &mut V,
) -> ControlFlow<V::Break>;
}Expand description
A trait for types that can be traversed mutably by a visitor.
Required Methods§
Sourcefn traverse_mut<V: VisitorMut>(
&mut self,
visitor: &mut V,
) -> ControlFlow<V::Break>
fn traverse_mut<V: VisitorMut>( &mut self, visitor: &mut V, ) -> ControlFlow<V::Break>
Traverse the mutable data structure with the given visitor.
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.