Function libreda_pnr::db::traits::copy_shapes

source ·
pub fn copy_shapes<LS, LT, C>(
    target_layout: &mut LT,
    target_cell: &<LT as HierarchyIds>::CellId,
    target_layer: &<LT as LayoutIds>::LayerId,
    source_layout: &LS,
    source_cell: &<LS as HierarchyIds>::CellId,
    source_layer: &<LS as LayoutIds>::LayerId
)where
    C: CoordinateType,
    LS: LayoutBase<Coord = C>,
    LT: LayoutEdit<Coord = C>,
Expand description

Copy the shapes on a specific layer from one cell into another cell.