Trait libreda_db::hierarchy_utils::HierarchyEditUtil [−][src]
pub trait HierarchyEditUtil: HierarchyEdit {
fn create_named_cell_instance<S: Into<Self::NameType>>(
&mut self,
parent: &Self::CellId,
template: &Self::CellId,
name: S
) -> Self::CellInstId { ... }
fn create_unnamed_cell_instance(
&mut self,
parent: &Self::CellId,
template: &Self::CellId
) -> Self::CellInstId { ... }
}
Expand description
Modifying utility functions for the cell hierarchy..
Import the this trait to use the utility functions all types that implement the HierarchyEdit
trait.
Provided methods
fn create_named_cell_instance<S: Into<Self::NameType>>(
&mut self,
parent: &Self::CellId,
template: &Self::CellId,
name: S
) -> Self::CellInstId
fn create_named_cell_instance<S: Into<Self::NameType>>(
&mut self,
parent: &Self::CellId,
template: &Self::CellId,
name: S
) -> Self::CellInstId
Create a named cell instance.
This is just a convenience function for create_cell_instance()
.
fn create_unnamed_cell_instance(
&mut self,
parent: &Self::CellId,
template: &Self::CellId
) -> Self::CellInstId
fn create_unnamed_cell_instance(
&mut self,
parent: &Self::CellId,
template: &Self::CellId
) -> Self::CellInstId
Create an anonymous cell instance.
This is just a convenience function for create_cell_instance()
.