pub struct NetRef<'a, N> where
    N: NetlistBase + ?Sized
{ /* private fields */ }
Expand description

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

Implementations

Get the net ID.

Get the name of the net.

Get the cell where this net lives in.

Iterate over each pin attached to this net.

Iterate over each pin instance attached to this net.

Iterate over terminal attached to this net.

Iterate over all terminals that drive the net. This should usually be one. Returns the pins that are marked as inputs and pin instances marked as outputs. Skips InOut terminals.

Iterate over all terminals that drive the net. This should usually be one. Returns the pins that are marked as inputs and pin instances marked as outputs. Skips InOut terminals.

Get a qualified name for this net.

Get the number of external pins attached to this net (pins towards the outside of the circuit).

Get the number of pin instances attached to this net. Excludes the pins towards the outside of the circuit.

Get the total number of pins and pin instances connected to this net.

Iterate over all shapes attached to this net.

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 alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. 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.