Trait HierarchyEditUtil

Source
pub trait HierarchyEditUtil: HierarchyEdit {
    // Provided methods
    fn clear_cell_instances(&mut self, cell: &Self::CellId) { ... }
    fn prune_cell_instance(&mut self, inst: &Self::CellInstId) { ... }
    fn prune_cell(&mut self, cell: &Self::CellId) { ... }
}
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§

Source

fn clear_cell_instances(&mut self, cell: &Self::CellId)

Remove all child instances inside the cell.

Source

fn prune_cell_instance(&mut self, inst: &Self::CellInstId)

Remove the cell instance and all cells which are then not used anymore.

Source

fn prune_cell(&mut self, cell: &Self::CellId)

Remove the cell and all other cells which are then not used anymore.

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.

Implementors§