hugr_core::ops

Trait OpParent

source
pub trait OpParent {
    // Provided method
    fn inner_function_type(&self) -> Option<Signature> { ... }
}
Expand description

Properties of child graphs of ops, if the op has children.

Provided Methods§

source

fn inner_function_type(&self) -> Option<Signature>

The inner function type of the operation, if it has a child dataflow sibling graph.

Non-container ops like FuncDecl return None even though they represent a function.

Implementors§