Skip to main content

PortRef

Trait PortRef 

Source
pub trait PortRef {
    // Required methods
    fn id(&self) -> PortId;
    fn name(&self) -> &str;
    fn kind(&self) -> PortKind;
}

Required Methods§

Source

fn id(&self) -> PortId

Source

fn name(&self) -> &str

Source

fn kind(&self) -> PortKind

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: 'static> PortRef for Inlet<T>

Source§

impl<T: 'static> PortRef for Outlet<T>