Expand description
Shared datatypes for azul-* crates
Modules§
- app_
resources - Functions to manage adding fonts + images, garbage collection
- callbacks
- Type definitions for various types of callbacks, as well as focus and scroll handling
- diff
- Algorithms to create git-like diffs between two doms in linear time
- display_
list - Layout and display list creation algorithm, z-index reordering of a
CachedDisplayList
- dom
Dom
construction,NodeData
andNodeType
management functions- gl
- Contains OpenGL helper functions (to compile / link shaders),
VirtualGlDriver
for unit testing - id_tree
- Internal, arena-based storage for Dom nodes
- macros
- Useful macros for implementing Azul APIs without duplicating code
- style
- CSS cascading module DOM tree to CSS style tree cascading
- task
- Async (task, thread, timer) helper functions
- traits
- Main
Layout
andGetTextLayout
trait definition - ui_
description UiDescription
= CSSOM, cascading- ui_
solver - Handles the UI layout and UI layout solver
- ui_
state - Contains functions to build the
Dom
- window
- Window creation / interaction with the OS’ windowing API
- window_
state - Window state handling / synchronization
Macros§
- impl_
callback - Implements
Display, Debug, Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Hash
for a Callback with a.0
field: - impl_
display - Implement
Display
for an enum. - impl_
font_ api - impl_
from - Implement the
From
trait for any type. Example usage: - impl_
image_ api - impl_
task_ api - Implements functions for
CallbackInfo
andInfo
, to prevent duplicating the functions - impl_
text_ api - impl_
timer_ api