StructureNumbaPointerType#

class rbc.structure_type.StructureNumbaPointerType(*args, **kwargs)#

Pointer type for StructureNumbaType values.

We are not deriving from CPointer because we may want to use getitem for custom item access.

Attributes

StructureNumbaPointerType.is_internal

Returns True if this class is an internally defined Numba type by virtue of the module in which it is instantiated, False else.

StructureNumbaPointerType.key

A property used for __eq__, __ne__ and __hash__.

StructureNumbaPointerType.mangling_args

Returns (basename, args) where basename is the name of the type and args is a sequence of parameters of the type.

StructureNumbaPointerType.mutable

StructureNumbaPointerType.reflected

Methods

StructureNumbaPointerType.__init__(dtype)

StructureNumbaPointerType.augment(other)

Augment this type with the other.

StructureNumbaPointerType.can_convert_from(...)

Similar to can_convert_to, but in reverse.

StructureNumbaPointerType.can_convert_to(...)

Check whether this type can be converted to the other.

StructureNumbaPointerType.cast_python_value(args)

StructureNumbaPointerType.dump([tab])

StructureNumbaPointerType.get_add_impl()

StructureNumbaPointerType.get_getitem_impl()

StructureNumbaPointerType.is_precise()

Whether this type is precise, i.e. can be part of a successful type inference.

StructureNumbaPointerType.unify(typingctx, other)

Try to unify this type with the other.