Package genlayer.py.storage._internal.desc_record#

Warning

This is an internal module

class genlayer.py.storage._internal.desc_record.ComplexCopyAction[source]#
__init__(*args, **kwargs)#
class genlayer.py.storage._internal.desc_record.StorageMan[source]#
__init__(*args, **kwargs)#
class genlayer.py.storage._internal.desc_record.TypeDesc[source]#

Basic type description

__init__(size: int, copy_actions: list[CopyAction])[source]#
copy_actions: list[CopyAction]#

actions that must be executed for copying this data

int represents memcpy

abstract get(slot: StorageSlot, off: int) T[source]#

Method that reads value from slot and offset pair

Return type:

T

abstract set(slot: StorageSlot, off: int, val: T) None[source]#

Method that writes value to slot and offset pair

size: int#

size that value takes in current slot

class genlayer.py.storage._internal.desc_record.WithRecordStorageSlot[source]#