pub trait HierarchyReferenceAccess: HierarchyBase {
fn each_cell_ref(&self) -> Box<dyn Iterator<Item = CellRef<'_, Self>> + '_> { ... }
fn cell_ref(&self, cell_id: &Self::CellId) -> CellRef<'_, Self> { ... }
fn cell_instance_ref(
&self,
inst_id: &Self::CellInstId
) -> CellInstRef<'_, Self> { ... }
}
Expand description
Trait that provides object-like read access to a cell hierarchy structure and its elements.
Provided Methods
fn each_cell_ref(&self) -> Box<dyn Iterator<Item = CellRef<'_, Self>> + '_>
fn each_cell_ref(&self) -> Box<dyn Iterator<Item = CellRef<'_, Self>> + '_>
Iterate over all cell objects.
fn cell_instance_ref(&self, inst_id: &Self::CellInstId) -> CellInstRef<'_, Self>
fn cell_instance_ref(&self, inst_id: &Self::CellInstId) -> CellInstRef<'_, Self>
Get a cell instance object by its ID.