pub struct Pin {
pub name: String,
pub number: String,
pub x_mm: Decimal,
pub y_mm: Decimal,
pub radius_mm: Decimal,
}Expand description
Represents a pin in a footprint.
Fields§
§name: StringThe name of the pin.
number: StringThe number of the pin.
x_mm: DecimalThe X-coordinate in millimeters.
y_mm: DecimalThe Y-coordinate in millimeters.
radius_mm: DecimalThe radius of the pin in millimeters.
Trait Implementations§
impl Eq for Pin
impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnsafeUnpin for Pin
impl UnwindSafe for Pin
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