Enum libreda_db::netlist::traits::TerminalId
source · [−]pub enum TerminalId<N: NetlistBase + ?Sized> {
PinId(N::PinId),
PinInstId(N::PinInstId),
}Expand description
A terminal is a generalization of pins and pin instances.
Variants
PinId(N::PinId)
Terminal is a pin.
PinInstId(N::PinInstId)
Terminal is a pin instance.
Trait Implementations
sourceimpl<N: NetlistBase + ?Sized> Clone for TerminalId<N> where
N::PinId: Clone,
N::PinInstId: Clone,
impl<N: NetlistBase + ?Sized> Clone for TerminalId<N> where
N::PinId: Clone,
N::PinInstId: Clone,
sourceimpl<N: Debug + NetlistBase + ?Sized> Debug for TerminalId<N> where
N::PinId: Debug,
N::PinInstId: Debug,
impl<N: Debug + NetlistBase + ?Sized> Debug for TerminalId<N> where
N::PinId: Debug,
N::PinInstId: Debug,
sourceimpl<N: NetlistBase> Hash for TerminalId<N>
impl<N: NetlistBase> Hash for TerminalId<N>
sourceimpl<'a, N: NetlistBase> Into<TerminalId<N>> for TerminalRef<'a, N>
impl<'a, N: NetlistBase> Into<TerminalId<N>> for TerminalRef<'a, N>
sourcefn into(self) -> TerminalId<N>
fn into(self) -> TerminalId<N>
Performs the conversion.
sourceimpl<N: NetlistBase + ?Sized> PartialEq<TerminalId<N>> for TerminalId<N>
impl<N: NetlistBase + ?Sized> PartialEq<TerminalId<N>> for TerminalId<N>
impl<N: NetlistBase + ?Sized> Eq for TerminalId<N>
Auto Trait Implementations
impl<N: ?Sized> RefUnwindSafe for TerminalId<N> where
<N as NetlistBase>::PinId: RefUnwindSafe,
<N as NetlistBase>::PinInstId: RefUnwindSafe,
impl<N: ?Sized> Send for TerminalId<N> where
<N as NetlistBase>::PinId: Send,
<N as NetlistBase>::PinInstId: Send,
impl<N: ?Sized> Sync for TerminalId<N> where
<N as NetlistBase>::PinId: Sync,
<N as NetlistBase>::PinInstId: Sync,
impl<N: ?Sized> Unpin for TerminalId<N> where
<N as NetlistBase>::PinId: Unpin,
<N as NetlistBase>::PinInstId: Unpin,
impl<N: ?Sized> UnwindSafe for TerminalId<N> where
<N as NetlistBase>::PinId: UnwindSafe,
<N as NetlistBase>::PinInstId: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more