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.
NonLendingHook
is a subset ofHook
.Value
ofNonLendingHook
is not generic, thus not borrowing from the hook. In other words,NonLendingHook
doesn’t lend to itsValue
.