pub struct FabHole {
pub id: String,
pub center: CoordNm,
pub diameter: i64,
pub plated: bool,
pub drill_pair: usize,
pub is_via: bool,
pub slot_rout: Option<(CoordNm, CoordNm)>,
pub net: Option<String>,
pub component: Option<String>,
pub pin: Option<String>,
pub source: Option<String>,
}Expand description
One drilled hole or routed oval slot.
Fields§
§id: String§center: CoordNm§diameter: i64§plated: bool§drill_pair: usize§is_via: bool§slot_rout: Option<(CoordNm, CoordNm)>When Some((p0, p1)), this hole is a routed slot from p0 to p1 with tool diameter.
net: Option<String>§component: Option<String>§pin: Option<String>§source: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for FabHole
impl<'de> Deserialize<'de> for FabHole
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 StructuralPartialEq for FabHole
Auto Trait Implementations§
impl Freeze for FabHole
impl RefUnwindSafe for FabHole
impl Send for FabHole
impl Sync for FabHole
impl Unpin for FabHole
impl UnsafeUnpin for FabHole
impl UnwindSafe for FabHole
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