Skip to main content

Module union

Module union 

Source
Available on crate feature ast-models only.
Expand description

Tagged union declarations, such as union Shape { circle: Circle | square: Square | none }.

Structsยง

UnionDecl
A tagged union declaration.
UnionVariant
A variant of a UnionDecl, such as some: T or none.