pub struct PortRef {
pub element: ElementId,
pub port: Arc<str>,
}Expand description
One end of an edge: the element, and the name of the pad on it.
Fields§
§element: ElementIdStable identity of the element that owns this port.
port: Arc<str>Element-defined port name used in topology output.
Trait Implementations§
impl Eq for PortRef
impl StructuralPartialEq for PortRef
Auto Trait Implementations§
impl Freeze for PortRef
impl RefUnwindSafe for PortRef
impl Send for PortRef
impl Sync for PortRef
impl Unpin for PortRef
impl UnsafeUnpin for PortRef
impl UnwindSafe for PortRef
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