pub trait DynamicTypePath {
    // Required methods
    fn reflect_type_path(&self) -> &str;
    fn reflect_short_type_path(&self) -> &str;
    fn reflect_type_ident(&self) -> Option<&str>;
    fn reflect_crate_name(&self) -> Option<&str>;
    fn reflect_module_path(&self) -> Option<&str>;
}
Expand description

Dynamic dispatch for TypePath.

Since this is a supertrait of Reflect its methods can be called on a dyn Reflect.

Required Methods§

Implementors§

source§

impl<T> DynamicTypePath for T
where T: TypePath,