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
css
Contains functions to format a CSS stylesheet to a Rust string Module for printing the CSS to Rust code
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
pagination
Functions to paginate a DOM into multiple pages (sub-DOMs) for printing
style
CSS cascading module DOM tree to CSS style tree cascading
styled_dom
StyledDom = CSSOM
svg
SVG module SVG rendering module
task
Async (task, thread, timer) helper functions
traits
Main Layout and GetTextLayout trait definition
ui_solver
Handles the UI layout and UI layout solver
window
Window creation / interaction with the OS’ windowing API
window_state
Window state handling / synchronization Event and callback filtering module
xml
XML structures XML structure definitions

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_from
Implement the From trait for any type. Example usage:
impl_task_api
Implements functions for CallbackInfo and Info, to prevent duplicating the functions

Type Aliases§

FastBTreeSet
FastHashMap