Struct libreda_db::chip::CircuitInst[][src]

pub struct CircuitInst<C = Coord, U = ()> where
    C: CoordinateType
{ /* fields omitted */ }
Expand description

Instance of a circuit.

Template parameters:

  • U: User defined data.

Implementations

Get the name of this instance.

Get ID of the pin instance at position.

Get the ID of the template circuit.

Get the ID of the parent circuit.

Get a reference to the vector containing the pin instance IDs.

Iterate over the IDs of the pin instances.

Get the transformation that represents the location and orientation of this instance.

Set the transformation that represents the location and orientation of this instance.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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.