pub trait DynCastExtAdvHelper<F, T> where
F: ?Sized,
T: ?Sized, {
type Target;
type Source;
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.