Crate azul_core

Source
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 and NodeType 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 and GetTextLayout 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 and Info, to prevent duplicating the functions
impl_text_api
impl_timer_api

Type Aliases§

FastHashMap
FastHashSet