Function copy_all_layers

Source
pub fn copy_all_layers<LS, LT>(target_layout: &mut LT, source_layout: &LS)
where LS: LayoutBase, LT: LayoutEdit,
Expand description

Copy all layers (without their contents) from a source layout into a destination layout.

ยงPanics

Panics if a layer number or layer name already exists.