Crate hooks_core
source ·Modules
Macros
- Use this macro to getHookValue::Value.
- This macro should only be used inhook_fnor#[hook].
- Write hook fn without any proc-macro.
- Easily impl traits.
Structs
- A future which pollsHookPollNextUpdate::poll_next_update. SeeHookExt::next_update.
- A future which outputs the next value of the hook. SeeHookExt::next_value.
- A stream of hook values. SeeHookExt::into_valuesandHookExt::values
Traits
- Defines how to use a hook (get value from the hook).
- ExtendHookwith convenient methods.
- Defines reactivity of a hook.
- ExtendHookPollNextUpdatewith convenient methods.
- Defines how to cleanup a hook.
- A helper trait to define lifetime generic associated types (lifetime-GAT) forHook.
- NonLendingHookis a subset of- Hook.- Valueof- NonLendingHookis not generic, thus not borrowing from the hook. In other words,- NonLendingHookdoesn’t lend to its- Value.