cotis-defaults 0.1.0-alpha.1

Modular Rust UI framework core
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::element_configs::ElementConfig;
use crate::element_configs::style::sizing::Sizing;

/// Common `ElementConfig` alias used by Cotis examples and integrations.
///
/// This variant fixes:
/// - `Sizing` to [`Sizing`]
/// - `ExtraData` to `()`
pub type GenericElementConfig<'render, Image, Custom> =
    ElementConfig<'render, Sizing, Image, Custom, ()>;