Function libreda_db::layout::util::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.