StructureNumbaType#
- class rbc.structure_type.StructureNumbaType(*args, **kwargs)#
Represents a struct numba type.
Attributes
Returns True if this class is an internally defined Numba type by virtue of the module in which it is instantiated, False else.
A property used for __eq__, __ne__ and __hash__.
Returns (basename, args) where basename is the name of the type and args is a sequence of parameters of the type.
Methods
StructureNumbaType.augment
(other)Augment this type with the other.
Similar to can_convert_to, but in reverse.
StructureNumbaType.can_convert_to
(typingctx, ...)Check whether this type can be converted to the other.
StructureNumbaType.dump
([tab])Whether this type is precise, i.e. can be part of a successful type inference.
StructureNumbaType.unify
(typingctx, other)Try to unify this type with the other.