layers::view

Trait BuildLayerTree

Source
pub trait BuildLayerTree {
    // Required method
    fn build_layer_tree_internal(
        &self,
        viewlayer_tree: &LayerTree,
        cache_viewlayer: &mut HashMap<String, VecDeque<NodeRef>>,
    );

    // Provided method
    fn build_layer_tree(&self, viewlayer_tree: impl AsRef<LayerTree>) { ... }
}
Expand description

A trait for structs that accept a layertree. It is implemented for Layer it generates and updates the properties of a hierarchy of layers described by the layertree

Required Methods§

Source

fn build_layer_tree_internal( &self, viewlayer_tree: &LayerTree, cache_viewlayer: &mut HashMap<String, VecDeque<NodeRef>>, )

Provided Methods§

Source

fn build_layer_tree(&self, viewlayer_tree: impl AsRef<LayerTree>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§