pub trait DynCastExtHelper<T> where
T: ?Sized, {
type Target;
type Source;
type Config;
fn _dyn_cast(self) -> Result<Self::Target, Self::Source>;
}
Expand description
Used to implement DynCastExt
.
Required Associated Types
type Target
type Target
The wanted trait object that is returned if the cast succeeded.
type Source
type Source
The original trait object that is returned if the cast failed.
type Config
type Config
The DynCastConfig
that is used to preform the conversion.