/Engine/Plugins/Experimental/StructUtils/Source/StructUtils/Public/StructView.h
FStructViewis "typed" struct pointer, it contains pointer to struct plusUScriptStructpointer.FStructViewdoes not own the memory and will not free it when out of scope. It should be only used to pass struct pointer in a limited scope, or when the user controls the lifetime of the struct being stored. E.g. instead of passing ref or pointer to aFInstancedStruct, you should useFConstStructVieworFStructViewto pass around a view to the contents.FStructViewis passed by value.FStructViewis similar toFStructOnScope, butFStructViewis a view only (FStructOnScopecan either own the memory or be a view) constFStructViewprevents the struct from pointing at a different instance of a struct. However the actual struct data can be mutated. UseFConstStructViewto prevent mutation of the actual struct data. SeeFConstStructViewfor examples.
struct FStructView
constUScriptSt...
ScriptStruct
uint8 *
StructMemory