Struct libreda_pnr::place::stdcell_placer::db::ShapeRef
source · pub struct ShapeRef<'a, L>where
L: LayoutBase + ?Sized,{
pub(super) base: &'a L,
pub(super) id: <L as LayoutIds>::ShapeId,
}Expand description
Reference to a shape.
Fields§
§base: &'a L§id: <L as LayoutIds>::ShapeIdImplementations§
source§impl<'a, L> ShapeRef<'a, L>where
L: LayoutBase,
impl<'a, L> ShapeRef<'a, L>where L: LayoutBase,
sourcepub fn geometry_cloned(&self) -> Geometry<<L as LayoutIds>::Coord>
pub fn geometry_cloned(&self) -> Geometry<<L as LayoutIds>::Coord>
Get the cloned geometry struct representing this shape.