pub trait LayerGroup {
// Required methods
fn clear(&mut self);
fn insert(&mut self, order: SceneOrder, layer: Layer);
fn remove(&mut self, order: SceneOrder);
}
Expand description
Trait used by facets to mutate layers.
Required Methods§
Sourcefn insert(&mut self, order: SceneOrder, layer: Layer)
fn insert(&mut self, order: SceneOrder, layer: Layer)
Insert a order-layer pair into the group.
Sourcefn remove(&mut self, order: SceneOrder)
fn remove(&mut self, order: SceneOrder)
Removes a layer from the group.