pub enum NetKind {
Show 13 variants
Wire,
WAnd,
WOr,
Tri,
TriAnd,
TriOr,
Tri0,
Tri1,
TriReg,
Supply0,
Supply1,
UWire,
UserDefined,
}Expand description
Mirrors sv_lang::NetKind’s variant set minus Interconnect (state.md §4:
an interconnect net never gets a slot at all, so it has no NetLayout
value to represent) and minus the Unknown error placeholder (never a
real declared net’s kind). Kept as this crate’s own copy rather than a
re-export of sv_lang::NetKind so this module’s exhaustive-match
discipline (ARCHITECTURE §7 item 9) applies to a type this crate owns,
independent of sv_lang’s own variant set ever changing underneath it.
Variants§
Trait Implementations§
impl Copy for NetKind
Source§impl<'de> Deserialize<'de> for NetKind
impl<'de> Deserialize<'de> for NetKind
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 Eq for NetKind
impl StructuralPartialEq for NetKind
Auto Trait Implementations§
impl Freeze for NetKind
impl RefUnwindSafe for NetKind
impl Send for NetKind
impl Sync for NetKind
impl Unpin for NetKind
impl UnsafeUnpin for NetKind
impl UnwindSafe for NetKind
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.