Enum protoflow_core::PortID
source · pub enum PortID {
Input(InputPortID),
Output(OutputPortID),
}
Variants§
Input(InputPortID)
Output(OutputPortID)
Trait Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)