АВ
@struct {На что похоже?
Image := @struct {
ImageColorType = @type{}
ImageWidth = @uint16{}
ImageHeight = @uint16{}
ImagePixels = [ImageHeight][ImageWidth]ImageColorType{}
}
BlackOrWhiteColor := @struct {
Luminance = @bit{}
R := Luminance
G := Luminance
B := Luminance
}
CheckerImage := Image{}(
ImageColorType = BlackOrWhiteColor
ImageWidth = 2
ImageHeight = 2
ImagePixels = {
{
{{0}, {1}}
{{1}, {0}}
}
}
)
}{}