setD method
Copies the fields of the Dart struct o into this instance.
Implementation
@override
ImageD setD(ImageD o) {
originalPointer ??= o.originalPointer;
width = o.width;
height = o.height;
mipmaps = o.mipmaps;
format = o.format;
data = .from(o.data);
return this;
}