pub enum RegularWiringElement {
Point {
x: Coord,
y: Coord,
ext_value: Option<Coord>,
},
Via {
via_name: String,
},
MaskNum(u32),
ViaMaskNum(ViaMaskNum),
Virtual {
x: Coord,
y: Coord,
},
Rect(),
}Expand description
Represent an element of regular (non-special) wiring.
Variants§
Point
A point in the euclidean plane.
Via
Via.
MaskNum(u32)
Mask number.
ViaMaskNum(ViaMaskNum)
Via-mask number.
Virtual
Virtual wiring element. A point in the euclidean plane.
Rect()
An axis aligned rectangle. TODO
Trait Implementations§
source§impl Clone for RegularWiringElement
impl Clone for RegularWiringElement
source§fn clone(&self) -> RegularWiringElement
fn clone(&self) -> RegularWiringElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more