1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Shared datatypes for azul-* crates
extern crate azul_css;
extern crate gleam;
extern crate azul_css_parser;
/// Useful macros for implementing Azul APIs without duplicating code
/// Type definitions for various types of callbacks, as well as focus and scroll handling
/// Functions to manage adding fonts + images, garbage collection
/// Layout and display list creation algorithm, z-index reordering of
/// `Dom` construction, `NodeData` and `NodeType` management functions
/// Algorithms to create git-like diffs between two doms in linear time
/// Contains OpenGL helper functions (to compile / link shaders), `VirtualGlDriver` for unit testing
/// Internal, arena-based storage for Dom nodes
/// CSS cascading module
/// Main `Layout` and `GetTextLayout` trait definition
/// Async (task, thread, timer) helper functions
/// `UiDescription` = CSSOM, cascading
/// Contains functions to build the `Dom`
// Typedef for possible faster implementation of hashing
pub type FastHashMap<T, U> = HashMap;
pub type FastHashSet<T> = HashSet;