Struct libreda_db::chip::CircuitInstanceRef [−][src]
pub struct CircuitInstanceRef<'a> { /* fields omitted */ }
Expand description
A reference to a circuit instance.
This struct also keeps a reference to the parent netlist struct of the circuit.
Implementations
Get reference to the netlist struct where this instance lives in.
Get a reference to the parent of this instance.
Get a reference to the template of this instance.
Get a reference to the pin instance at position
.
pub fn each_pin_inst_ref(
self
) -> impl Iterator<Item = PinInstRef<'a>> + ExactSizeIterator + 'a
pub fn each_pin_inst_ref(
self
) -> impl Iterator<Item = PinInstRef<'a>> + ExactSizeIterator + 'a
Iterate over each pin instance.
Iterate over all nets that are connected externally to this circuit instance. Nets may appear multiple times.
Methods from Deref<Target = CircuitInst>
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.
Trait Implementations
type Target = CircuitInst
type Target = CircuitInst
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CircuitInstanceRef<'a>
impl<'a> !Send for CircuitInstanceRef<'a>
impl<'a> !Sync for CircuitInstanceRef<'a>
impl<'a> Unpin for CircuitInstanceRef<'a>
impl<'a> !UnwindSafe for CircuitInstanceRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more