pub enum TerminalId<N>where
N: NetlistBase + ?Sized,{
PinId(<N as NetlistBase>::PinId),
PinInstId(<N as NetlistBase>::PinInstId),
}Expand description
A terminal is a generalization of pins and pin instances.
Variants§
PinId(<N as NetlistBase>::PinId)
Terminal is a pin.
PinInstId(<N as NetlistBase>::PinInstId)
Terminal is a pin instance.
Trait Implementations§
Source§impl<N> Clone for TerminalId<N>where
N: NetlistBase + ?Sized,
<N as NetlistBase>::PinId: Clone,
<N as NetlistBase>::PinInstId: Clone,
impl<N> Clone for TerminalId<N>where
N: NetlistBase + ?Sized,
<N as NetlistBase>::PinId: Clone,
<N as NetlistBase>::PinInstId: Clone,
Source§fn clone(&self) -> TerminalId<N>
fn clone(&self) -> TerminalId<N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<N> Debug for TerminalId<N>where
N: Debug + NetlistBase + ?Sized,
<N as NetlistBase>::PinId: Debug,
<N as NetlistBase>::PinInstId: Debug,
impl<N> Debug for TerminalId<N>where
N: Debug + NetlistBase + ?Sized,
<N as NetlistBase>::PinId: Debug,
<N as NetlistBase>::PinInstId: Debug,
Source§impl<N> Hash for TerminalId<N>where
N: NetlistBase + ?Sized,
impl<N> Hash for TerminalId<N>where
N: NetlistBase + ?Sized,
Source§impl<'a, N> Into<TerminalId<N>> for TerminalRef<'a, N>where
N: NetlistBase,
impl<'a, N> Into<TerminalId<N>> for TerminalRef<'a, N>where
N: NetlistBase,
Source§fn into(self) -> TerminalId<N>
fn into(self) -> TerminalId<N>
Converts this type into the (usually inferred) input type.
Source§impl<N> PartialEq for TerminalId<N>where
N: NetlistBase + ?Sized,
impl<N> PartialEq for TerminalId<N>where
N: NetlistBase + ?Sized,
impl<N> Eq for TerminalId<N>where
N: NetlistBase + ?Sized,
Auto Trait Implementations§
impl<N> Freeze for TerminalId<N>
impl<N> RefUnwindSafe for TerminalId<N>where
<N as NetlistBase>::PinId: RefUnwindSafe,
<N as NetlistBase>::PinInstId: RefUnwindSafe,
N: ?Sized,
impl<N> Send for TerminalId<N>
impl<N> Sync for TerminalId<N>
impl<N> Unpin for TerminalId<N>
impl<N> UnwindSafe for TerminalId<N>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more