Struct flow_graph::NodePort
source · pub struct NodePort { /* private fields */ }
Implementations§
source§impl NodePort
impl NodePort
pub fn is_graph_output(&self) -> bool
pub fn is_graph_input(&self) -> bool
pub fn connections(&self) -> &[ConnectionIndex]
pub fn name(&self) -> &str
pub fn detached(&self) -> PortReference
pub fn direction(&self) -> &PortDirection
Trait Implementations§
source§impl AsRef<PortReference> for NodePort
impl AsRef<PortReference> for NodePort
source§fn as_ref(&self) -> &PortReference
fn as_ref(&self) -> &PortReference
Converts this type into a shared reference of the (usually inferred) input type.