hugr_core::ops::dataflow

Trait IOTrait

source
pub trait IOTrait {
    // Required method
    fn new(types: impl Into<TypeRow>) -> Self;
}
Expand description

Helpers to construct input and output nodes

Required Methods§

source

fn new(types: impl Into<TypeRow>) -> Self

Construct a new I/O node from a type row with no extension requirements

Object Safety§

This trait is not object safe.

Implementors§