[−][src]Module azul_core::dom
Dom
construction, NodeData
and NodeType
management functions
Re-exports
pub use crate::id_tree::NodeHierarchy; |
pub use crate::id_tree::Node; |
Structs
CompactDom | Same as |
Dom | The document model, similar to HTML. This is a create-only structure, you don't actually read anything back |
DomHash | Calculated hash of a DOM node, used for querying attributes of the DOM node |
DomId | DomID - used for identifying different DOMs (for example IFrameCallbacks) have a different DomId than the root DOM |
DomPtr | Pointer to rust-allocated |
NodeData | Represents one single DOM node (node type, classes, ids and callbacks are stored here) |
NodeId | A node identifier within a particular |
ScrollTagId | Same as the |
TagId | Unique Ttag" that is used to annotate which rectangles are relevant for hit-testing |
Enums
DomString | Most strings are known at compile time, spares a bit of
heap allocations - for |
EventFilter | Sets the target for what events can reach the callbacks specifically. |
FocusEventFilter | Event filter similar to |
HoverEventFilter | Event filter that only fires when an element is hovered over |
NodeType | List of core DOM node types built-into by |
NotEventFilter | The inverse of an |
On | When to call a callback action - |
TabIndex | |
WindowEventFilter | Event filter that fires when any action fires on the entire window (regardless of whether any element is hovered or focused over). |