Trait otter_api_tests::imports::cast_trait_object::DynCastExtAdvHelper [−]
pub trait DynCastExtAdvHelper<F, T> where
T: ?Sized,
F: ?Sized, { type Target; type Source; fn _dyn_cast(self) -> Result<Self::Target, Self::Source>; }
Expand description
Used to implement DynCastExt
.
Associated Types
Required methods
Implementations on Foreign Types
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for Rc<A> where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for Rc<A> where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for &'a A where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for &'a A where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for &'a mut A where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for &'a mut A where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for Box<A, Global> where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for Box<A, Global> where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
Implementors
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for Arc<A> where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for Arc<A> where
T: 'static + ?Sized,
A: 'static + DynCast<<F as GetDynCastConfig<T>>::Config> + ?Sized,
F: 'static + GetDynCastConfig<T> + ?Sized,