Skip to main content

Module wire

Module wire 

Source
Expand description

Wires, and the bundle they make: how thick each is, by its gauge or its diameter, and how thick they are together.

Structs§

Wire
A wire of a route: what it is called, how thick it is, and its colour.

Enums§

WireSize
How thick a wire is.

Constants§

GAUGES
The gauges WireSize::Awg takes.

Functions§

bundle_diameter
How thick wires are, bundled: the diameter of a circle whose area is theirs over fill, the fraction of a bundle’s section its wires fill — round wires never fill it all — sqrt(sum d² / fill).