pub struct Net {
pub ports: Vec<PortId>,
pub edges: Vec<EdgeId>,
}Expand description
A maximal set of ports connected (transitively) by edges.
Isolated ports form singleton nets with no edges — solvers usually want to see those too (a floating pin is a modeling fact, often a bug to report).
Fields§
§ports: Vec<PortId>All ports on this net.
edges: Vec<EdgeId>All edges whose endpoints lie on this net.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Net
impl RefUnwindSafe for Net
impl Send for Net
impl Sync for Net
impl Unpin for Net
impl UnsafeUnpin for Net
impl UnwindSafe for Net
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