pub fn port_name(&self) -> &Id {
        match self {
            Port::Comp { port, .. } => port,
            Port::This { port } => port,
            Port::Hole { name, .. } => name,
        }
    }
/// Returns the name of the port being referenced.
///  - `(@ comp A)` returns `A`
///  - `(@ this B)` returns `B`
Returns the name of the port being referenced.
Returns the name of the port being referenced .
pub fn port_name(&self) -> &Id {
        match self {
            Port::Comp { port, .. } => port,
            Port::This { port } => port,
            Port::Hole { name, .. } => name,
        }
    }
pub fn port_name ( & self ) -> & Id { match self { Port :: Comp { port , .. } => port , Port :: This { port } => port , Port :: Hole { name , .. } => name , } }
Returns the name of the port being referenced.
Returns the name of the port being referenced .
&self