Module hooks_core::prelude

source ·

Re-exports

Macros

Traits

  • Defines how to use a hook (get value from the hook).
  • Defines reactivity of a 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.