Sign in

    mizchi/layout/types does not have a README file

    AlignSelf

    pub(all) enum AlignSelf {
    Auto
    Start
    End
    Center
    Stretch
    Baseline
    } derive(Eq,
    Debug
    )

    Align-self value.
    impl Show for AlignSelf

    Alignment

    pub(all) enum Alignment {
    Start
    End
    FlexStart
    FlexEnd
    Center
    SpaceBetween
    SpaceAround
    SpaceEvenly
    Stretch
    Baseline
    } derive(Eq,
    Debug
    )

    Alignment for justify-content, align-items and similar properties.
    impl Show for Alignment

    Dimension

    pub(all) enum Dimension {
    Length(Double)
    Percent(Double)
    Auto
    MinContent
    MaxContent
    FitContent(Double)
    } derive(Eq,
    Debug
    )

    CSS dimension value.
    impl Show for Dimension

    FlexDirection

    pub(all) enum FlexDirection {
    Row
    RowReverse
    Column
    ColumnReverse
    } derive(Eq,
    Debug
    )

    Flex direction.

    Rect

    pub(all) struct Rect[T] {
    left : T
    right : T
    top : T
    bottom : T
    }

    Generic 4-edge rect.

    Rect::new

    fn[T] Rect::new(left : T, right : T, top : T, bottom : T) -> Rect[T]

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io