tailwind_css_fixes/modules/sizing/
mod.rs1mod builder;
2mod display;
3
4use super::*;
5
6#[derive(Copy, Clone, Debug)]
7enum TailwindSizingKind {
8 Width,
9 MinWidth,
10 MaxWidth,
11 Height,
12 MinHeight,
13 MaxHeight,
14}
15
16#[derive(Copy, Clone, Debug)]
17enum SizingUnit {
18 None,
19 Min,
20 Max,
21 Fit,
22 Auto,
23 Full,
24 Screen,
25 Fraction(usize, usize),
26 Length(LengthUnit),
27}
28
29#[doc = include_str!("sizing.md")]
30#[derive(Copy, Clone, Debug)]
31pub struct TailwindSizing {
32 kind: TailwindSizingKind,
33 size: SizingUnit,
34}