Luna::serialize_func_t

using serialize_func_t =  R<Variant>(typeinfo_t type, const void* inst)

The serialization function for one instance.

Parameters

  • in type

    The type of the instance.

  • in inst

    The instance data.

Return value

Returns one variant that stores the serialized data.