pub enum WireStyle {
Line,
AxisAligned {
corner_radius: f32,
},
Bezier3,
Bezier5,
}Expand description
Controls style in which wire is rendered.
Variants are given in order of precedence when two pins require different styles.
Variants§
Line
Straight line from one endpoint to another.
AxisAligned
Draw wire as straight lines with 90 degree turns.
Corners has radius of corner_radius.
Bezier3
Draw wire as 3rd degree Bezier curve.
Bezier5
Draw wire as 5th degree Bezier curve.
Trait Implementations§
impl Copy for WireStyle
impl StructuralPartialEq for WireStyle
Auto Trait Implementations§
impl Freeze for WireStyle
impl RefUnwindSafe for WireStyle
impl Send for WireStyle
impl Sync for WireStyle
impl Unpin for WireStyle
impl UnwindSafe for WireStyle
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