1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Values that you can using in setters

use ordered_float::OrderedFloat;
use types::Appearance;

pub type BorderWidth = OrderedFloat<f32>;
pub type AspectRatio = OrderedFloat<f32>;
pub type FlexShrink = OrderedFloat<f32>;
pub type FlexFactor = OrderedFloat<f32>;
pub type FlexGrow = OrderedFloat<f32>;

pub use types::SharedUnit;

pub use properties::{
    BorderStyles,
    BorderStyle,
    Background,
    Transforms,
    Filters,
    Color,
};

pub use yoga::{
    Layout as Dimensions,
    FlexDirection,
    PositionType,
    Overflow,
    Display,
    Justify,
    Align,
    Wrap,
};

pub use yoga::StyleUnit::{
    Percent,
    Point
};

pub use self::SharedUnit::{
    StyleUnit,
    CalcExpr,
};

pub use self::Appearance::{
    BorderRadius,
    BorderColor,
};