Not the most elegant thing to do in general but probably fairly safe here.
I believe C++ defines that elements within a single private/protected/public block will be in order. As FVector doesn’t have virtual functions you don’t have to worry about a pointer (typically at the start of an object, but doesn’t have to be).
struct FVector
{
public:
/** Vector's X component. */
float X;
/** Vector's Y component. */
float Y;
/** Vector's Z component. */
float Z;
Given that X is the first element you could also go with: