pub struct NetLayout {
pub kind: NetKind,
pub shape: NetShape,
}Expand description
A net member’s electrical classification, when known (ledger ST-141).
Deferred conversion (see Task 3/6 of the wave-A state plan and the
plan’s Deferred section): verified against the pinned sv-lang=0.1.9 C
API (source/capi/CApiAst.cpp) — while slang::ast::NetSymbol has a
netType field and slang’s own Python bindings expose it, CApiAst.cpp
exposes no slang_symbol_net_type/equivalent accessor for it, so no
function in the pinned sv-lang Rust crate can recover a declared Net
symbol’s real NetKind this wave. SlotDescriptor::net_info therefore
stays structurally correct (an Option, None for every real member this
wave’s layout builder produces, Net-kind included) but is never Some
for a real elaborated net in this plan; every Some(NetLayout{..}) this
plan’s own tests construct (Task 14/15) is hand-built, exercising the
multi-driver resolution logic, not a connection to real elaboration.
Fields§
§kind: NetKind§shape: NetShapeTrait Implementations§
impl Copy for NetLayout
impl Eq for NetLayout
impl StructuralPartialEq for NetLayout
Auto Trait Implementations§
impl Freeze for NetLayout
impl RefUnwindSafe for NetLayout
impl Send for NetLayout
impl Sync for NetLayout
impl Unpin for NetLayout
impl UnsafeUnpin for NetLayout
impl UnwindSafe for NetLayout
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.