Skip to main content

Module element_configs

Module element_configs 

Source
Expand description

Element configuration structs consumed by layout integrations. Element configuration data passed into Cotis layout.

This module defines the configuration payload attached to each element before layout runs, including style, optional image data, and optional custom payloads.

Modules§

image_config
Image-specific element payload wrappers.
premade_configs
Convenient type aliases for common element config signatures.
style
Styling structures and layout-related style primitives. Style structs used by crate::element_configs::ElementConfig.
text_config
Text and rich-text element configuration types. Text element configuration types.

Structs§

ElementConfig
Generic element configuration consumed by layout crates.