Struct libreda_pnr::db::CellRef[][src]

pub struct CellRef<'a, H> where
    H: HierarchyBase + ?Sized
{ /* fields omitted */ }
Expand description

A reference to a cell. This is just a wrapper around a netlist and a cell ID.

Implementations

Access the base structure.

Get the ID of this cell.

Get the name of the cell.

Iterate over the IDs of all child instances.

Iterate over all child instances.

Find a child instance by its name.

Iterate over the IDs of all instances of this cell.

Iterate over the of all instances of this cell.

Get the total number of usages of this cell.

Iterate over all dependencies of this cell.

Get the total number of direct dependencies of this cell.

Iterate over all cells that directly depend on this cell.

Get the total number of cells which depend on this cell (i.e. use it).

Get the number of cell instances inside the cell.

Iterate over the IDs of all pins of this cell.

Iterate over all pins of this cell.

Iterate over all input pins of this cell.

Iterate over all output pins of this cell.

Find a pin by it’s name.

Iterate over all nets that live directly in this cell.

Find a net by its name.

Iterate over all shapes on a layer.

Iterate over all shapes defined in this cell.

Get the bounding box of the shapes on a specific layer.

Get the bounding box of the shapes on all layers.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.