Struct libreda_db::region_search::CellInstanceEntry
source · pub struct CellInstanceEntry<L: LayoutBase> {
bounding_box: Rect<L::Coord>,
cell_inst_id: L::CellInstId,
}Expand description
Wrapper for cell instances
Fields§
§bounding_box: Rect<L::Coord>§cell_inst_id: L::CellInstIdTrait Implementations§
source§impl<L> BoundingBox<<L as LayoutIds>::Coord> for CellInstanceEntry<L>where
L: LayoutBase,
L::Coord: PrimInt,
impl<L> BoundingBox<<L as LayoutIds>::Coord> for CellInstanceEntry<L>where L: LayoutBase, L::Coord: PrimInt,
source§fn bounding_box(&self) -> Rect<L::Coord>
fn bounding_box(&self) -> Rect<L::Coord>
Return the bounding box of this geometry.
source§impl<L: Clone + LayoutBase> Clone for CellInstanceEntry<L>where
L::Coord: Clone,
L::CellInstId: Clone,
impl<L: Clone + LayoutBase> Clone for CellInstanceEntry<L>where L::Coord: Clone, L::CellInstId: Clone,
source§fn clone(&self) -> CellInstanceEntry<L>
fn clone(&self) -> CellInstanceEntry<L>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<L: Debug + LayoutBase> Debug for CellInstanceEntry<L>where
L::Coord: Debug,
L::CellInstId: Debug,
impl<L: Debug + LayoutBase> Debug for CellInstanceEntry<L>where L::Coord: Debug, L::CellInstId: Debug,
source§impl<L: PartialEq + LayoutBase> PartialEq<CellInstanceEntry<L>> for CellInstanceEntry<L>where
L::Coord: PartialEq,
L::CellInstId: PartialEq,
impl<L: PartialEq + LayoutBase> PartialEq<CellInstanceEntry<L>> for CellInstanceEntry<L>where L::Coord: PartialEq, L::CellInstId: PartialEq,
source§fn eq(&self, other: &CellInstanceEntry<L>) -> bool
fn eq(&self, other: &CellInstanceEntry<L>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.