Skip to main content

Node

Trait Node 

Source
pub trait Node: Send + Sync {
    // Required methods
    fn id(&self) -> NodeId;
    fn input_port_defs(&self) -> &'static [InputPortDef];

    // Provided method
    fn output_port_defs(&self) -> &'static [OutputPortDef] { ... }
}

Required Methods§

Source

fn id(&self) -> NodeId

Source

fn input_port_defs(&self) -> &'static [InputPortDef]

Provided Methods§

Source

fn output_port_defs(&self) -> &'static [OutputPortDef]

Implementors§