pub type HugrSumType = SumType;
Expand description
A type alias for a hugr sum type.
Aliased Type§
pub enum HugrSumType {
Unit {
size: u8,
},
General {
rows: Vec<TypeRowBase<RowVariable>>,
},
}
Variants§
Unit
Special case of a Sum over unit types.
General
General case of a Sum type.
Fields
§
rows: Vec<TypeRowBase<RowVariable>>