Expand description
Shared datatypes for azul-* crates
Modules§
- animation
- Animation system Core data structures for configuring and tracking CSS animations
- callbacks
- Type definitions for various types of callbacks plus focus and scroll handling
- debug
- Unified debug logging system Unified Debug Logging System for Azul
- diff
- Algorithms to create git-like diffs between two doms in linear time DOM Reconciliation Module
- dom
Domconstruction,NodeDataandNodeTypemanagement functions Defines the core Document Object Model (DOM) structures.- dom_
table - Table layout support (anonymous box generation)
- drag
- Unified drag context for text selection, scrollbar, node, and window drags Unified drag context for all drag operations.
- events
- Event handling (mouse, keyboard, window events) Event and callback filtering module
- geom
- Geometry module for physical and logical sizes
- gl
- Contains OpenGL helper functions (to compile / link shaders)
- gl_fxaa
- FXAA (Fast Approximate Anti-Aliasing) shader implementation FXAA (Fast Approximate Anti-Aliasing) shader implementation.
- glconst
- OpenGL constants Constants for OpenGL 1.1
- glyph
- Type definitions for Glyphs
- gpu
- GPU value synchronization (colors, transforms) for WebRender preparation GPU value caching for CSS transforms and opacity.
- hit_
test - Hit-testing module
- hit_
test_ tag - Type-safe hit-test tag system for WebRender integration Type-safe hit-test tag system for WebRender integration.
- icon
- Icon system for loading and resolving icons from fonts, images, or zip packs Generic icon provider system for Azul
- id
- Internal, arena-based storage for Dom nodes Node tree data structures and hierarchy management.
- macros
- Useful macros for implementing Azul APIs without duplicating code
- menu
- Types for handling menus (context menu, menubar) Menu system for context menus, dropdown menus, and application menus.
- prop_
cache - Cache for CSS Properties CSS property cache for efficient style resolution and animation.
- refany
- Type-erased reference wrapper (like
Box<dyn Any>but for references) Type-erased, reference-counted smart pointer with runtime borrow checking. - resources
- Functions to manage adding fonts + images, garbage collection
- selection
- Primitives for cursor and text selection handling Text selection and cursor positioning for inline content.
- style
- CSS cascading module DOM tree to CSS style tree cascading
- styled_
dom StyledDom= CSSOM- svg
- SVG module SVG rendering and path tessellation.
- task
- Async (task, thread, timer) helper functions Timer and thread management for asynchronous operations.
- transform
- CSS transform computation 3D transform matrix computations for CSS transforms.
- ua_css
- User-agent default stylesheet User-Agent Default Stylesheet for Azul
- ui_
solver - Handles the UI layout and UI layout solver
- window
- Window creation / interaction with the OS’ windowing API
- xml
- XML structures XML and XHTML parsing for declarative UI definitions.
Macros§
- impl_
callback - Implements
Display, Debug, Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Hashfor a Callback with a.cband.ctxfield. - impl_
callback_ simple - Macro to implement callback traits for simple system callbacks (no callable field)
- impl_
display - Implement
Displayfor an enum. - impl_
from - Implement the
Fromtrait for any type. - impl_
task_ api - Implements functions for
CallbackInfoandInfo, to prevent duplicating the functions - log_
debug - log_
error - log_
info - log_
trace - Convenience macro for logging with automatic category and format
- log_
warn