Modules§
Macros§
- Hook
- Expands to an opaque type
impl Hookwith type ofValue. - Update
Hook Uninitialized - Expands to an opaque type
impl UpdateHookUninitializedwith type ofHook::Value. - h
- This macro should only be used in
hook_fnor#[hook]. - hook_fn
- Write hook fn without any proc-macro.
- impl_
hook - Easily impl traits.
- transform_
hook_ fn_ body_ as_ closure
Structs§
- Hook
Tuple - Next
Update - A future which polls
HookPollNextUpdate::poll_next_update. SeeHookExt::next_update. - Next
Value - A future which outputs the next value of the hook.
See
HookExt::next_value. - Values
- A stream of hook values.
See
HookExt::into_valuesandHookExt::values
Traits§
- Captures
- The Captures trick
- Hook
- Defines how to use a hook (get value from the hook).
- HookExt
- Extend
Hookwith convenient methods. - Hook
Poll Next Update - Defines reactivity of a hook.
- Hook
Poll Next Update Ext - Extend
HookPollNextUpdatewith convenient methods. - Hook
Unmount - Defines how to cleanup a hook.
- Hook
Value - A helper trait to define
lifetime generic associated types (lifetime-GAT)
for
Hook. - Hook
Value Bounds - Into
Hook - NonLending
Hook NonLendingHookis a subset ofHook.ValueofNonLendingHookis not generic, thus not borrowing from the hook. In other words,NonLendingHookdoesn’t lend to itsValue.- Update
Hook - Update
Hook Uninitialized
Type Aliases§
- Value
- Type alias for
HookValue::Value.