Milky2018/chicle/tree does not have a README file
pub struct ChicleTree[C] {
// private fields
}fn[C] ChicleTree::add_child(tree : ChicleTree[C], parent : Int, child : Int) -> Unit raise ChicleErrorfn[C] ChicleTree::compute_layout(self : ChicleTree[C], root : Int, available_space : Size[AvailableSpace]) -> Unit raise ChicleErrorfn[C] ChicleTree::compute_layout_with_measure(self : ChicleTree[C], root : Int, available_space : Size[AvailableSpace], measure_function : (Size[Double?], Size[AvailableSpace], Int, C?, Style) -> Size[Double]) -> Unit raise ChicleErrorfn[C] ChicleTree::new_with_children(self : ChicleTree[C], style : Style, children : Array[Int]) -> Intfn[C] ChicleTree::remove_child(tree : ChicleTree[C], parent : Int, child : Int) -> Int raise ChicleErrorfn[C] ChicleTree::set_children(tree : ChicleTree[C], parent : Int, children : Array[Int]) -> Unit raise ChicleErrorfn[C] ChicleTree::set_node_context(tree : ChicleTree[C], node : Int, context : C) -> Unit raise ChicleErrorfn[C] ChicleTree::set_style(tree : ChicleTree[C], node : Int, style : Style) -> Unit raise ChicleErrorpub(all) struct LayoutInput {
run_mode : RunMode
sizing_mode : SizingMode
axis : RequestedAxis
known_dimensions : Size[Double?]
parent_size : Size[Double?]
available_space : Size[AvailableSpace]
vertical_margins_are_collapsible : Line[Bool]
}pub(all) enum RequestedAxis {
RequestedHorizontal
RequestedVertical
RequestedBoth
}fn layout_input_for_compute_size(known_dimensions : Size[Double?], parent_size : Size[Double?], available_space : Size[AvailableSpace], sizing_mode : SizingMode, axis : RequestedAxis, vertical_margins_are_collapsible : Line[Bool]) -> LayoutInputfn layout_input_for_perform_layout(known_dimensions : Size[Double?], available_space : Size[AvailableSpace]) -> LayoutInputA UI layout engine for MoonBit
Dependencies