Struct libreda_db::chip::Net[][src]

pub struct Net {
    pub name: Option<String>,
    pub parent_id: CellId,
    pub pins: FnvHashSet<PinId>,
    pub pin_instances: FnvHashSet<PinInstId>,
    pub net_shapes: FnvHashSet<ShapeId>,
}
Expand description

A net represents an electric potential or a wire.

Fields

name: Option<String>

Name of the net.

parent_id: CellId

Parent circuit of the net.

pins: FnvHashSet<PinId>

Pins connected to this net.

pin_instances: FnvHashSet<PinInstId>

Pin instances connected to this net.

net_shapes: FnvHashSet<ShapeId>

List of shapes in the layout that represent the physical net.

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.