struct<T extends RaylibStruct<T> > method
Creates a nested struct value field for f.
Implementation
StructValueField<T, RStruct> struct<T extends RaylibStruct<T>>(F f) {
_checkField(f);
final type = _getFieldAs<RStruct>(f);
return .new(offset(f), StructCodec<T>(type));
}