alloc static method

Pointer<Rectangle> alloc()

Allocates memory for a new Rectangle struct.

Implementation

static Pointer<Rectangle> alloc() {
  return calloc<Rectangle>();
}