ExplicitBound

class hugr.ext.ExplicitBound(bound: TypeBound)[source]

Bases: object

An explicit type bound on an OpDef.

Examples

>>> ExplicitBound(tys.TypeBound.Copyable)
ExplicitBound(bound=TypeBound.Copyable)

Methods

Attributes

bound