Module hooks_core::prelude
source · Re-exports
pub use crate::HookExt as _;pub use crate::HookPollNextUpdateExt as _;pub use crate::IntoHook as _;
Macros
- Write hook fn without any proc-macro.
Traits
- Defines how to use a hook (get value from the hook).
- Defines reactivity of a hook.
NonLendingHookis a subset ofHook.ValueofNonLendingHookis not generic, thus not borrowing from the hook. In other words,NonLendingHookdoesn’t lend to itsValue.