Trait IntoHook

Source
pub trait IntoHook {
    type Hook: Hook;

    // Required method
    fn into_hook(self) -> Self::Hook;

    // Provided method
    fn into_hook_values(self) -> Values<Self::Hook>
       where Self: Sized { ... }
}

Required Associated Types§

Required Methods§

Source

fn into_hook(self) -> Self::Hook

Provided Methods§

Source

fn into_hook_values(self) -> Values<Self::Hook>
where Self: Sized,

Implementors§

Source§

impl<H> IntoHook for H
where H: Hook,

Source§

type Hook = H

Source§

impl<InnerHook, U> IntoHook for UseFnHook<InnerHook, U>

Source§

type Hook = FnHook<InnerHook, U, bool>