pub enum PadShape {
Rect,
Circle,
Oval,
RoundRect,
Trapezoid,
Custom,
}Variants§
Rect
Circle
Oval
RoundRect
A rectangle with rounded corners, of Pad::corner_radius.
Trapezoid
A rectangle tapered by Pad::trapezoid_delta (KiCad’s rect_delta):
one pair of opposite sides lengthened and the other shortened.
Custom
Any simple polygon, Pad::polygon, around the pad’s position, its
outline rounded by Pad::corner_radius.
Trait Implementations§
impl Copy for PadShape
Source§impl<'de> Deserialize<'de> for PadShape
impl<'de> Deserialize<'de> for PadShape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PadShape
impl StructuralPartialEq for PadShape
Auto Trait Implementations§
impl Forget for PadShape
impl Freeze for PadShape
impl Move for PadShape
impl RefUnwindSafe for PadShape
impl Send for PadShape
impl Sync for PadShape
impl Unpin for PadShape
impl UnsafeUnpin for PadShape
impl UnwindSafe for PadShape
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