// Generated using `moon info`, DON'T EDIT IT package "moonplasma/desktop/components/shell/gen/interface/moonplasma/desktop/panel-layout" import { "moonplasma/desktop/interface/moonplasma/desktop/types", } // Values pub fn compute_layout(@types.Size, Array[Slot]) -> Layout pub fn popup_position(@types.Size, @types.Rect, @types.Rect, @types.Size) -> @types.Rect pub fn render_panel(@types.Size, @types.Rect) -> Array[@types.DrawOp] // Errors // Types and methods pub(all) enum Edge { START END } pub fn Edge::from(Int32) -> Self pub fn Edge::ordinal(Self) -> Int32 pub(all) struct Layout { panel : @types.Rect placements : Array[Placement] } pub(all) struct Placement { id : String rect : @types.Rect } pub(all) struct Slot { id : String preferred : @types.Size min_width : UInt32 stretch : Bool align : Edge } // Type aliases // Traits