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§
Sourcefn 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.
Sourcefn 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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.