azul_css/props/basic/mod.rs
1//! Basic / primitive CSS property types and their parsing code.
2//!
3//! This barrel module collects the foundational types used throughout
4//! `css::props::layout`, `css::props::style`, and `css::props::property`:
5//!
6//! - `angle` — angle units (`deg`, `rad`, `grad`, `turn`)
7//! - `animation` — animation / transition descriptors
8//! - `color` — color values and parsing (`rgb`, `hsl`, named colors, …)
9//! - `direction` — directional enums (LTR / RTL, writing modes)
10//! - `error` — CSS-parsing error types
11//! - `font` — font-family, font-weight, and related types
12//! - `geometry` — geometric primitives (points, sizes, rects)
13//! - `length` — CSS length units (`px`, `em`, `%`, …)
14//! - `parse` — shared low-level parsing helpers (not glob-re-exported;
15//! use qualified paths, e.g. `basic::parse::parse_pixel_value`)
16//! - `pixel` — device-pixel types
17//! - `time` — duration / time units
18
19pub mod angle;
20pub mod animation;
21pub mod color;
22pub mod direction;
23pub mod error;
24pub mod font;
25pub mod geometry;
26pub mod length;
27/// Shared low-level parsing helpers — not glob-re-exported because its
28/// items are meant to be used via qualified paths.
29pub mod parse;
30pub mod pixel;
31pub mod time;
32
33pub use self::{
34 angle::*, animation::*, color::*, direction::*, error::*, font::*, geometry::*,
35 length::*, pixel::*, time::*,
36 parse::{CssImageParseError, CssImageParseErrorOwned, parse_image},
37};