setC method

  1. @override
NPatchInfoD setC(
  1. NPatchInfoC o
)
override

Copies the fields of the native struct o into this instance.

Implementation

@override
NPatchInfoD setC(NPatchInfoC o) {
  source.setC(o.source);
  left = o.left;
  top = o.top;
  right = o.right;
  bottom = o.bottom;
  layout = .fromValue(o.layout);
  return this;
}