RefStruct
RefStruct
¶
Base class for defining a more coherent and organised API to access properties of a struct with a complicated
internal structure using RetrieverRefs
_struct
instance-attribute
¶
_struct: BaseStruct
The struct whose properties are referenced by this class
__new__
¶
__new__(struct: BaseStruct) -> Self
Construct an instance of this RefStruct with its references bound to the properties of the given struct instance
Parameters:
-
struct(BaseStruct) –The struct to reference properties from