pub trait ErasedHook<Args>: HookPollNextUpdate {
    type ValueGat: ?Sized + for<'hook> ValueGat<'hook>;

    fn erased_use_hook<'hook>(
        self: Pin<&'hook mut Self>,
        args: Args
    ) -> <Self::ValueGat as ValueGat<'hook>>::Value; }
Expand description

This trait follows the Dyn safety section of better GAT pattern.

Required Associated Types§

Required Methods§

Trait Implementations§

Implementors§