pub enum PortID {
Input(InputPortID),
Output(OutputPortID),
}
Variants§
Input(InputPortID)
Output(OutputPortID)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PortID
impl<'de> Deserialize<'de> for PortID
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<InputPortID> for PortID
impl From<InputPortID> for PortID
Source§fn from(port_id: InputPortID) -> PortID
fn from(port_id: InputPortID) -> PortID
Converts to this type from the input type.
Source§impl From<OutputPortID> for PortID
impl From<OutputPortID> for PortID
Source§fn from(port_id: OutputPortID) -> PortID
fn from(port_id: OutputPortID) -> PortID
Converts to this type from the input type.
Source§impl Ord for PortID
impl Ord for PortID
Source§impl PartialOrd for PortID
impl PartialOrd for PortID
impl Copy for PortID
impl Eq for PortID
impl StructuralPartialEq for PortID
Auto Trait Implementations§
impl Freeze for PortID
impl RefUnwindSafe for PortID
impl Send for PortID
impl Sync for PortID
impl Unpin for PortID
impl UnwindSafe for PortID
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