pub struct PinInstRef<'a, N: NetlistBase + ?Sized> {
    pub(super) base: &'a N,
    pub(super) id: N::PinInstId,
}
Expand description

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

Fields

base: &'a N

Reference to the parent data structure.

id: N::PinInstId

ID of the pin instance.

Implementations

Get the pin instance ID.

Access the base structure.

Get the terminal ID of this pin instance.

Get the template of this pin instance.

Get the parent cell instance.

Get the net which is attached to this pin instance.

Convert the pin instance reference into a terminal reference.

Create a qualified name. For pin instances: ‘cell_name:cell_instance:pin_name’ Where : is defined by separator.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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.