pub struct Connectivity {
pub items: Vec<CopperItem>,
pub islands: Vec<usize>,
pub island_count: usize,
pub item_nets: Vec<Option<String>>,
pub island_nets: Vec<BTreeSet<String>>,
pub zone_islands: Vec<Vec<usize>>,
}Expand description
Copper islands and the schematic nets each island carries.
Fields§
§items: Vec<CopperItem>§islands: Vec<usize>Island index for each item.
island_count: usize§item_nets: Vec<Option<String>>Schematic net of each pad item.
island_nets: Vec<BTreeSet<String>>§zone_islands: Vec<Vec<usize>>Island index of each piece of each zone’s fill, by zone then piece: a fill is copper, and joins every item it touches.
Implementations§
Source§impl Connectivity
impl Connectivity
Sourcepub fn island_net(&self, island: usize) -> Option<&str>
pub fn island_net(&self, island: usize) -> Option<&str>
The single net carried by an island, if it carries exactly one.
Trait Implementations§
Source§impl Clone for Connectivity
impl Clone for Connectivity
Source§impl Debug for Connectivity
impl Debug for Connectivity
Auto Trait Implementations§
impl Forget for Connectivity
impl Freeze for Connectivity
impl Move for Connectivity
impl RefUnwindSafe for Connectivity
impl Send for Connectivity
impl Sync for Connectivity
impl Unpin for Connectivity
impl UnsafeUnpin for Connectivity
impl UnwindSafe for Connectivity
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