Trait lay_rs::view::RenderLayerTree

source ·
pub trait RenderLayerTree {
    // Required methods
    fn key(&self) -> String;
    fn mount_layer(&self, layer: Layer);
    fn render_layertree(&self) -> LayerTree;
}
Expand description

A trait for structs that can produce into a layertree

Required Methods§

source

fn key(&self) -> String

source

fn mount_layer(&self, layer: Layer)

source

fn render_layertree(&self) -> LayerTree

Implementations on Foreign Types§

source§

impl RenderLayerTree for Arc<dyn RenderLayerTree>

Implementors§

source§

impl RenderLayerTree for LayerTree

A layertree renders itself into a layertree

source§

impl<S: Hash + Clone> RenderLayerTree for View<S>