pub trait ReplacePaths: ValuesCollection {
type Value;
// Required methods
fn replace_paths<I, C>(&mut self, paths: I, from: FieldType, to: FieldType)
where I: IntoIterator<Item = C>,
C: AsRef<str>;
fn replace_path(
&mut self,
path: &str,
from: FieldType,
to: FieldType,
) -> Option<()>;
fn get_path_mut(
&mut self,
path: &str,
) -> Option<&mut <Self as ReplacePaths>::Value>;
}Required Associated Types§
Required Methods§
fn replace_paths<I, C>(&mut self, paths: I, from: FieldType, to: FieldType)
fn replace_path( &mut self, path: &str, from: FieldType, to: FieldType, ) -> Option<()>
fn get_path_mut( &mut self, path: &str, ) -> Option<&mut <Self as ReplacePaths>::Value>
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.