Enum libreda_db::chip::TerminalId
source · pub enum TerminalId {
Pin(PinId),
PinInst(PinInstId),
}Expand description
Either a pin or pin instance identifier.
Variants§
Trait Implementations§
source§impl Clone for TerminalId
impl Clone for TerminalId
source§fn clone(&self) -> TerminalId
fn clone(&self) -> TerminalId
Returns a copy 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 Debug for TerminalId
impl Debug for TerminalId
source§impl<'de> Deserialize<'de> for TerminalId
impl<'de> Deserialize<'de> for TerminalId
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
source§impl From<PinId> for TerminalId
impl From<PinId> for TerminalId
source§impl From<PinInstId> for TerminalId
impl From<PinInstId> for TerminalId
source§impl Hash for TerminalId
impl Hash for TerminalId
source§impl PartialEq<TerminalId> for TerminalId
impl PartialEq<TerminalId> for TerminalId
source§fn eq(&self, other: &TerminalId) -> bool
fn eq(&self, other: &TerminalId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.