pub fn copy_layer<LS, LT>(
target_layout: &mut LT,
source_layout: &LS,
source_layer: &LS::LayerId,
) -> LT::LayerIdwhere
LS: LayoutBase,
LT: LayoutEdit,Expand description
Copy a layer (without its content) from a source layout into a destination layout.
ยงPanics
Panics if the layer number or layer name already exists.