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 { ... }
}
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 { ... }
}