Crate hooks_core

source ·

Modules

Structs

Traits

How to impl Hook
This is a helper trait to define lifetime generic associated types (lifetime-GAT) for Hook.
NonLendingHook is a subset of Hook. Value of NonLendingHook is not generic, thus not borrowing from the hook. In other words, NonLendingHook doesn’t lend to its Value.
A type implementing RunHook is a hook runner.