[−][src]Crate seed_hooks
Modules
topo |
|
unmount |
Structs
CallSite | A value unique to the source location where it is created. |
FilterVec | |
Local | |
Reaction | |
ReactiveContext | |
ReactiveStateAccess | Accessor struct that provides access to getting and setting the state of the stored type |
StateAccess | Accessor struct that provides access to getting and setting the state of the stored type |
TopoKey | |
UndoVec | |
Unmount |
Enums
AllowUndo | |
IsAReactionState | |
IsAnAtomState | |
NoUndo |
Traits
ChangedAtomState | |
ChangedState | |
CloneReactiveState | |
CloneState | |
LocalUpdateEl2 | |
Observable | |
ObservableVec | |
OverloadedUpdateStateAccess | |
StateAccessEventHandlers | |
StateAccessUnmount | |
StateAccessUpdateEl | |
UpdateElLocal |
Functions
after_render | |
after_render_once | |
atom | |
atom_with_undo | |
bind | |
clone_reactive_state_with_id | Clones the state of type T keyed to the given TopoId |
clone_state_with_topo_id | Clones the state of type T keyed to the given TopoId |
do_once | call the provided function once and once only returns a unmmunt which will allow the do_once to repeat if .execute_if_activated() is called on the unmount. Example |
execute_and_remove_unmounts | |
get_html_element_by_id | |
new_state | |
on_unmount | |
reaction | |
reactive_state_exists_for_id | |
register_app | |
remove_reactive_state_with_id | |
request_animation_frame | |
reset_unseen_id_list | Rudamentary Garbage Collection purges all unseen ids' state then resets the suneen ids list. Rudamentary Garbage Collection |
return_key_for_type_and_insert_if_required | |
schedule_update | |
set_inert_atom_state_with_id | Sets the state of type T keyed to the given TopoId |
set_state_with_topo_id | Sets the state of type T keyed to the given TopoId |
state_exists_for_topo_id | |
try_read_reactive_state_with_id | |
unlink_dead_links | |
unseen_ids | |
update_atom_state_with_id | |
update_state_with_topo_id | Provides mutable access to the stored state type T. |
use_state | Constructs a T accessor. T is stored keyed to the current topological context. The accessor always references this context therefore can you can set/update/ or get this T from anywhere. |
use_state_current | Uses the current topological id to create a new state accessor |
Attribute Macros
atom | |
reaction |