[][src]Trait sixtyfps_compilerlib::layout::gen::LayoutItemCodeGen

pub trait LayoutItemCodeGen<L: Language> {
    fn get_property_ref(&self, name: &str) -> L::CompiledCode;
fn get_layout_info_ref<'a, 'b>(
        &'a self,
        layout_tree: &'b mut Vec<LayoutTreeItem<'a, L>>,
        component: &Rc<Component>
    ) -> L::CompiledCode; }

Required methods

fn get_property_ref(&self, name: &str) -> L::CompiledCode

fn get_layout_info_ref<'a, 'b>(
    &'a self,
    layout_tree: &'b mut Vec<LayoutTreeItem<'a, L>>,
    component: &Rc<Component>
) -> L::CompiledCode

Loading content...

Implementors

impl<L: Language> LayoutItemCodeGen<L> for LayoutItem where
    LayoutElement: LayoutItemCodeGen<L>,
    Layout: LayoutItemCodeGen<L>, 
[src]

Loading content...