Trait LayoutGenerator

Source
pub trait LayoutGenerator {
    // Required method
    fn layout(&self, window_count: u32) -> LayoutNode;
}
Expand description

Types that can generate layouts by computing a tree of LayoutNodes.

Required Methods§

Source

fn layout(&self, window_count: u32) -> LayoutNode

Generates a tree of LayoutNodes.

Implementations on Foreign Types§

Source§

impl<T: LayoutGenerator + ?Sized> LayoutGenerator for Box<T>

Source§

fn layout(&self, window_count: u32) -> LayoutNode

Source§

impl<T: LayoutGenerator + ?Sized> LayoutGenerator for Rc<T>

Source§

fn layout(&self, window_count: u32) -> LayoutNode

Source§

impl<T: LayoutGenerator + ?Sized> LayoutGenerator for Arc<T>

Source§

fn layout(&self, window_count: u32) -> LayoutNode

Implementors§