pub struct PinOverlay {
pub name: String,
pub net: String,
pub x: f64,
pub y: f64,
}Expand description
One terminal of an element: where it is drawn and the net it is on.
Element pins are invisible markers inside the element’s own shapes,
so a net whose elements touch pin to pin has no wire of its own in
NetOverlay::shapes; the pins still give a probe target for it.
Fields§
§name: StringThe pin’s prelude name (P, N, C, B, E, D, G, S,
Inp, Cp, P1, …; D-0020; P1 … PN on a generic X).
net: StringThe node name on the card, as in NetOverlay::name.
x: f64The terminal point, in pic inches, in the frame of the compiled
drawing’s shapes (y up, after the whole-picture rescale) — the
frame of rpic’s scene; OverlayMap::canvas maps it to the
SVG’s user units.
y: f64Trait Implementations§
Source§impl Clone for PinOverlay
impl Clone for PinOverlay
Source§impl Debug for PinOverlay
impl Debug for PinOverlay
Source§impl PartialEq for PinOverlay
impl PartialEq for PinOverlay
impl StructuralPartialEq for PinOverlay
Auto Trait Implementations§
impl Forget for PinOverlay
impl Freeze for PinOverlay
impl Move for PinOverlay
impl RefUnwindSafe for PinOverlay
impl Send for PinOverlay
impl Sync for PinOverlay
impl Unpin for PinOverlay
impl UnsafeUnpin for PinOverlay
impl UnwindSafe for PinOverlay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more