pub struct PinWireInfo {
pub color: Color32,
pub style: WireStyle,
}Expand description
Contains information about a pin’s wire.
Used to draw the wire.
When two pins are connected, the wire is drawn between them,
using merged PinWireInfo from both pins.
Fields§
§color: Color32Desired color of the wire.
style: WireStyleDesired style of the wire. Zoomed with current scale.
Auto Trait Implementations§
impl Freeze for PinWireInfo
impl RefUnwindSafe for PinWireInfo
impl Send for PinWireInfo
impl Sync for PinWireInfo
impl Unpin for PinWireInfo
impl UnwindSafe for PinWireInfo
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