Module fat

Module fat 

Source
Expand description

We define a type FatNode, named for analogy with a “fat pointer”.

We define a trait FatExt, an extension trait for HugrView. It provides methods that return FatNodes rather than Nodes.

Structs§

FatNode
A Fat Node is a Node along with a reference to the HugrView whence it originates.

Traits§

FatExt
An extension trait for HugrView which provides methods that delegate to HugrView and then return the result in FatNode form. See for example FatExt::fat_io.