pub trait ResolvePath {
// Required methods
fn resolve_path<'p>(
&self,
path: &'p str,
func: &mut dyn FnMut(Result<&(dyn Reflect + 'static), ReflectPathError<'p>>),
);
fn resolve_path_mut<'p>(
&mut self,
path: &'p str,
func: &mut dyn FnMut(Result<&mut (dyn Reflect + 'static), ReflectPathError<'p>>),
);
// Provided methods
fn get_resolve_path<'p, T>(
&self,
path: &'p str,
func: &mut dyn FnMut(Result<&T, ReflectPathError<'p>>),
)
where T: Reflect { ... }
fn get_resolve_path_mut<'p, T>(
&mut self,
path: &'p str,
func: &mut dyn FnMut(Result<&mut T, ReflectPathError<'p>>),
)
where T: Reflect { ... }
}
Required Methods§
fn resolve_path<'p>( &self, path: &'p str, func: &mut dyn FnMut(Result<&(dyn Reflect + 'static), ReflectPathError<'p>>), )
fn resolve_path_mut<'p>( &mut self, path: &'p str, func: &mut dyn FnMut(Result<&mut (dyn Reflect + 'static), ReflectPathError<'p>>), )
Provided Methods§
fn get_resolve_path<'p, T>(
&self,
path: &'p str,
func: &mut dyn FnMut(Result<&T, ReflectPathError<'p>>),
)where
T: Reflect,
fn get_resolve_path_mut<'p, T>(
&mut self,
path: &'p str,
func: &mut dyn FnMut(Result<&mut T, ReflectPathError<'p>>),
)where
T: Reflect,
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.