[−][src]Crate sauron_vdom
Modules
builder | |
event | |
util |
Structs
Attribute | |
Callback | A generic sized representation of a function that can be attached to a Node. The callback will essentially be owned by the element |
Cmd | Cmd is a command to be executed by the system. This is returned at the init function of a component and is executed right after instantiation of that component. Cmd required a DSP object which is the Program as an argument The emit function is called with the program argument. The callback is supplied with the program an is then executed/emitted. |
Element | |
Text |
Enums
AttribValue | |
Event | A container for generic event and the common values needed for the user. |
Node | This is the core data structure of the library.
Any tree can be represented by |
Patch | A Patch encodes an operation that modifies a real DOM element. |
Value | Value is an abstraction of the values used in the actual backend. Html and gtk-rs have different set of compatible values therefore a need for a storage of these intermediate value is needed |
Traits
Dispatch | This trait is used in the DomUpdater to call the dispatch method when an event occured |
Functions
diff | This is a sauron html specific functionality
diff 2 nodes with attribute using |