pub struct PcbHole {Show 13 fields
pub owner: PcbHoleOwner,
pub owner_index: usize,
pub footprint_index: Option<usize>,
pub center: PcbPoint,
pub offset: PcbPoint,
pub shape: PcbHoleShape,
pub width: f64,
pub height: f64,
pub angle: f64,
pub plated: bool,
pub layers: Vec<String>,
pub uuid: Option<String>,
pub source_range: Range<usize>,
}Fields§
§owner: PcbHoleOwner§owner_index: usize§footprint_index: Option<usize>§center: PcbPointBoard coordinates for vias; footprint-local coordinates for pads.
offset: PcbPointDrill offset in the pad’s local coordinate system.
shape: PcbHoleShape§width: f64§height: f64§angle: f64§plated: bool§layers: Vec<String>§uuid: Option<String>§source_range: Range<usize>Trait Implementations§
impl StructuralPartialEq for PcbHole
Auto Trait Implementations§
impl Freeze for PcbHole
impl RefUnwindSafe for PcbHole
impl Send for PcbHole
impl Sync for PcbHole
impl Unpin for PcbHole
impl UnsafeUnpin for PcbHole
impl UnwindSafe for PcbHole
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