Enum libreda_db::netlist::terminal_id::TerminalId
source · pub enum TerminalId<N: NetlistIds + ?Sized> {
PinId(N::PinId),
PinInstId(N::PinInstId),
}Expand description
A terminal is a generalization of pins and pin instances.
Variants§
Implementations§
source§impl<N1> TerminalId<N1>where
N1: NetlistIds,
impl<N1> TerminalId<N1>where N1: NetlistIds,
sourcepub fn cast<N2>(self) -> TerminalId<N2>where
N2: NetlistIds<PinId = N1::PinId, PinInstId = N1::PinInstId>,
pub fn cast<N2>(self) -> TerminalId<N2>where N2: NetlistIds<PinId = N1::PinId, PinInstId = N1::PinInstId>,
Cast the ID to other netlist types.
Trait Implementations§
source§impl<N: NetlistIds + ?Sized> Clone for TerminalId<N>where
N::PinId: Clone,
N::PinInstId: Clone,
impl<N: NetlistIds + ?Sized> Clone for TerminalId<N>where N::PinId: Clone, N::PinInstId: Clone,
source§impl<N: NetlistIds + ?Sized> Debug for TerminalId<N>where
N::PinId: Debug,
N::PinInstId: Debug,
impl<N: NetlistIds + ?Sized> Debug for TerminalId<N>where N::PinId: Debug, N::PinInstId: Debug,
source§impl<'a, N: NetlistBase> From<TerminalRef<'a, N>> for TerminalId<N>
impl<'a, N: NetlistBase> From<TerminalRef<'a, N>> for TerminalId<N>
source§fn from(t: TerminalRef<'a, N>) -> Self
fn from(t: TerminalRef<'a, N>) -> Self
Converts to this type from the input type.