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 LayoutGeometry
spacing: L::CompiledCode
padding: L::CompiledCode
var_creation_code: L::CompiledCode
cell_ref_variable: L::CompiledCode
Show fields
Fields of 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)
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>