[−][src]Trait sixtyfps_compilerlib::layout::gen::Language
Associated Types
type CompiledCode
[src]
Required methods
pub fn make_grid_layout_cell_data<'a, 'b>(
item: &'a LayoutItem,
col: u16,
row: u16,
colspan: u16,
rowspan: u16,
layout_tree: &'b mut Vec<LayoutTreeItem<'a, Self>>,
component: &Rc<Component>
) -> Self::CompiledCode
[src]
item: &'a LayoutItem,
col: u16,
row: u16,
colspan: u16,
rowspan: u16,
layout_tree: &'b mut Vec<LayoutTreeItem<'a, Self>>,
component: &Rc<Component>
) -> Self::CompiledCode
Generate the code that instentiate the runtime struct GridLayoutCellData
for the given cell parameter
pub fn grid_layout_tree_item<'a, 'b>(
layout_tree: &'b mut Vec<LayoutTreeItem<'a, Self>>,
geometry: &'a LayoutGeometry,
cells: Vec<Self::CompiledCode>,
component: &Rc<Component>
) -> LayoutTreeItem<'a, Self>
[src]
layout_tree: &'b mut Vec<LayoutTreeItem<'a, Self>>,
geometry: &'a LayoutGeometry,
cells: Vec<Self::CompiledCode>,
component: &Rc<Component>
) -> LayoutTreeItem<'a, Self>
Returns a LayoutTree::GridLayout
cells
is the list of runtime GridLayoutCellData
pub fn box_layout_tree_item<'a, 'b>(
layout_tree: &'b mut Vec<LayoutTreeItem<'a, Self>>,
box_layout: &'a BoxLayout,
component: &Rc<Component>
) -> LayoutTreeItem<'a, Self>
[src]
layout_tree: &'b mut Vec<LayoutTreeItem<'a, Self>>,
box_layout: &'a BoxLayout,
component: &Rc<Component>
) -> LayoutTreeItem<'a, Self>
Returns a LayoutTree:BoxLayout