Skip to main content

Crate azul_layout

Crate azul_layout 

Source

Re-exports§

pub use fmt::FmtArg;
pub use fmt::FmtArgVec;
pub use fmt::FmtArgVecDestructor;
pub use fmt::FmtValue;
pub use fmt::fmt_string;
pub use file::dir_create;
pub use file::dir_create_all;
pub use file::dir_list;
pub use file::dir_delete;
pub use file::dir_delete_all;
pub use file::file_copy;
pub use file::path_exists;
pub use file::file_metadata;
pub use file::file_read;
pub use file::file_delete;
pub use file::file_rename;
pub use file::file_write;
pub use file::path_is_dir;
pub use file::path_is_file;
pub use file::path_join;
pub use file::temp_dir;
pub use file::DirEntry;
pub use file::DirEntryVec;
pub use file::DirEntryVecDestructor;
pub use file::DirEntryVecDestructorType;
pub use file::FileError;
pub use file::FileErrorKind;
pub use file::FileMetadata;
pub use file::FilePath;
pub use file::OptionFilePath;
pub use zip::zip_create;
pub use zip::zip_create_from_files;
pub use zip::zip_extract_all;
pub use zip::zip_list_contents;
pub use zip::ZipFile;
pub use zip::ZipFileEntry;
pub use zip::ZipFileEntryVec;
pub use zip::ZipPathEntry;
pub use zip::ZipPathEntryVec;
pub use zip::ZipReadConfig;
pub use zip::ZipWriteConfig;
pub use zip::ZipReadError;
pub use zip::ZipWriteError;
pub use icon::default_icon_resolver;
pub use icon::ImageIconData;
pub use icon::FontIconData;
pub use icon::create_default_icon_provider;
pub use icon::register_material_icons;
pub use icon::register_embedded_material_icons;
pub use font::parsed::FontParseWarning;
pub use font::parsed::FontParseWarningSeverity;
pub use font::parsed::FontType;
pub use font::parsed::OwnedGlyph;
pub use font::parsed::ParsedFont;
pub use font::parsed::PdfFontMetrics;
pub use font::parsed::SubsetFont;
pub use fragmentation::BoxBreakBehavior;
pub use fragmentation::BreakDecision;
pub use fragmentation::FragmentationDefaults;
pub use fragmentation::FragmentationLayoutContext;
pub use fragmentation::KeepTogetherPriority;
pub use fragmentation::PageCounter;
pub use fragmentation::PageFragment;
pub use fragmentation::PageMargins;
pub use fragmentation::PageNumberStyle;
pub use fragmentation::PageSlot;
pub use fragmentation::PageSlotContent;
pub use fragmentation::PageSlotPosition;
pub use fragmentation::PageTemplate;
pub use hit_test::CursorTypeHitTest;
pub use paged::FragmentationState;
pub use solver3::cache::LayoutCache as Solver3LayoutCache;
pub use solver3::display_list::DisplayList as DisplayList3;
pub use solver3::layout_document;
pub use solver3::paged_layout::layout_document_paged;
pub use solver3::LayoutContext;
pub use solver3::LayoutError;
pub use solver3::Result as LayoutResult3;
pub use text3::cache::FontManager;
pub use text3::cache::LayoutCache as TextLayoutCache;
pub use window::CursorBlinkTimerAction;
pub use window::LayoutWindow;
pub use window::ScrollbarDragState;
pub use managers::text_input::PendingTextEdit;
pub use managers::text_input::OptionPendingTextEdit;
pub use hyphenation;

Modules§

callbacks
Callback handling for layout events
cpurender
CPU rendering for solver3 DisplayList
default_actions
Default Action Processing for Keyboard Events
desktop
Desktop-specific APIs (dialogs, file operations)
event_determination
Unified Event Determination
extra
file
File system operations module for C API
fmt
font
font_traits
Font traits that are always available, regardless of text_layout feature.
fragmentation
CSS Fragmentation Engine for Paged Media
hit_test
Hit-testing logic for layout windows
icon
Default icon resolver implementations for Azul
image
managers
paged
Paged media layout engine.
solver3
solver3/mod.rs
text3
thread
Thread callback information and utilities for azul-layout
timer
Timer callback information and utilities for azul-layout
widgets
Built-in widgets for the Azul GUI system
window
Window layout management for solver3/text3
window_state
Window state types for azul-layout
xml
zip
ZIP file manipulation module for C API exposure

Macros§

debug_bfc_layout
Lazy debug_bfc_layout macro - only evaluates format args when debug_messages is Some
debug_box_props
Lazy debug_box_props macro - only evaluates format args when debug_messages is Some
debug_css_getter
Lazy debug_css_getter macro - only evaluates format args when debug_messages is Some
debug_display_type
Lazy debug_display_type macro - only evaluates format args when debug_messages is Some
debug_error
Lazy debug_error macro - only evaluates format args when debug_messages is Some
debug_ifc_layout
Lazy debug_ifc_layout macro - only evaluates format args when debug_messages is Some
debug_info
Lazy debug_info macro - only evaluates format args when debug_messages is Some
debug_log
Lazy debug_log macro - only evaluates format args when debug_messages is Some
debug_table_layout
Lazy debug_table_layout macro - only evaluates format args when debug_messages is Some
debug_warning
Lazy debug_warning macro - only evaluates format args when debug_messages is Some
impl_widget_callback
Implements Display, Debug, Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Hash for a Callback with a .cb field.

Structs§

FullHitTest
IconProviderHandle
Icon provider stored in AppConfig.

Enums§

CmapTarget
Target cmap format to use when subsetting
OptionIconProviderHandle

Functions§

font_ref_to_parsed_font
parse_font_fn
parsed_font_to_font_ref
resolve_icons_in_styled_dom
Resolve all Icon nodes in a StyledDom to their actual content.

Type Aliases§

IconResolverCallbackType
Callback type for resolving icon data to a StyledDom.