Enum sixtyfps_compilerlib::layout::gen::LayoutTreeItem [−][src]
pub enum LayoutTreeItem<'a, L: Language> { GridLayout { geometry: &'a LayoutGeometry, spacing: L::CompiledCode, padding: L::CompiledCode, var_creation_code: L::CompiledCode, cell_ref_variable: L::CompiledCode, }, BoxLayout { geometry: &'a LayoutGeometry, spacing: L::CompiledCode, padding: L::CompiledCode, alignment: L::CompiledCode, var_creation_code: L::CompiledCode, cell_ref_variable: L::CompiledCode, is_horizontal: bool, }, PathLayout(&'a PathLayout), }
Variants
Show fields
Fields of GridLayout
geometry: &'a LayoutGeometryspacing: L::CompiledCodepadding: L::CompiledCodevar_creation_code: L::CompiledCodecell_ref_variable: L::CompiledCodeShow fields
Fields of BoxLayout
geometry: &'a LayoutGeometryspacing: L::CompiledCodepadding: L::CompiledCodealignment: L::CompiledCodevar_creation_code: L::CompiledCodecell_ref_variable: L::CompiledCodeis_horizontal: boolPathLayout(&'a PathLayout)Implementations
impl<'a, L: Language> LayoutTreeItem<'a, L>[src]
impl<'a, L: Language> LayoutTreeItem<'a, L>[src]pub fn geometry(&self) -> Option<&LayoutGeometry>[src]
Trait Implementations
impl<'a, L: Language> From<&'a PathLayout> for LayoutTreeItem<'a, L>[src]
impl<'a, L: Language> From<&'a PathLayout> for LayoutTreeItem<'a, L>[src]fn from(original: &'a PathLayout) -> LayoutTreeItem<'a, L>[src]
Auto Trait Implementations
impl<'a, L> !RefUnwindSafe for LayoutTreeItem<'a, L>
impl<'a, L> !RefUnwindSafe for LayoutTreeItem<'a, L>impl<'a, L> !Send for LayoutTreeItem<'a, L>
impl<'a, L> !Send for LayoutTreeItem<'a, L>impl<'a, L> !Sync for LayoutTreeItem<'a, L>
impl<'a, L> !Sync for LayoutTreeItem<'a, L>impl<'a, L> Unpin for LayoutTreeItem<'a, L> where
<L as Language>::CompiledCode: Unpin,
impl<'a, L> Unpin for LayoutTreeItem<'a, L> where
<L as Language>::CompiledCode: Unpin, impl<'a, L> !UnwindSafe for LayoutTreeItem<'a, L>
impl<'a, L> !UnwindSafe for LayoutTreeItem<'a, L>