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§
fn key(&self) -> String
fn mount_layer(&self, layer: Layer)
fn render_layertree(&self) -> LayerTree
Implementations on Foreign Types§
source§impl RenderLayerTree for Arc<dyn RenderLayerTree>
impl RenderLayerTree for Arc<dyn RenderLayerTree>
Implementors§
impl RenderLayerTree for LayerTree
A layertree renders itself into a layertree