pub trait HierarchyReferenceAccess: HierarchyBase {
    // Provided methods
    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§

source

fn each_cell_ref(&self) -> Box<dyn Iterator<Item = CellRef<'_, Self>> + '_>

Iterate over all cell objects.

source

fn cell_ref(&self, cell_id: &Self::CellId) -> CellRef<'_, Self>

Get a cell object by its ID.

source

fn cell_instance_ref(&self, inst_id: &Self::CellInstId) -> CellInstRef<'_, Self>

Get a cell instance object by its ID.

Implementors§