struct property

StructType<MsfGifState> struct
final

Describes the raw memory layout, construction, and pointer representation of this struct type.

Implementation

static final StructType<MsfGifState> struct = ._builtin(
  factory: MsfGifState.new,
  layout: .aligned<MsfGifStateField>({
    .fileWriteFunc:          RPointer(RFunction<MsfGifFileWriteCallbackBase>()),
    .fileWriteData:          RPointer(RVoid()),
    .previousFrame:          RStruct(_MsfGifCookedFrame.struct),
    .currentFrame:           RStruct(_MsfGifCookedFrame.struct),
    .lzwMem:                 RPointer(RInt16()),
    .listHead:               RPointer(ROpaque()),
    .listTail:               RPointer(ROpaque()),
    .width:                  RInt(),
    .height:                 RInt(),
    .customAllocatorContext: RPointer(RVoid()),
    .framesSubmitted:        RInt(),
  }),
);