Trait narui_core::layout::layouter::Layout[][src]

pub trait Layout: Debug + TraitComparable {
    fn layout(
        &self,
        constraint: BoxConstraints,
        children: LayoutableChildren<'_>
    ) -> (Size, u32); fn eq(&self, other: &dyn Layout) -> bool { ... }
fn query(
        &'a self,
        _query: &(dyn Any + 'static),
        _children: LayoutableChildren<'a>
    ) -> Option<&'a (dyn Any + 'static)> { ... } }

Required methods

Provided methods

Implementors