code: function getStruct (type) {
    // First check if a regular name was passed in
    var rtn = structCache[type];
  
    if (rtn) return rtn;
  
    // If the struct type name has already been created, return that one
    var name = parseStructName(type);
  
    rtn = structCache[name];
    if (rtn) return rtn;
  
    if(knownStructs[name]) type = knownStructs[name];
    // Next parse the type structure
    var parsed = parseStruct(type);
    // Otherwise we need to create a new Struct constructor
    var props = [];
    parsed.props.forEach(function (prop) {
      props.push([ map(prop[1]), prop[0] ])
    });
    var z;
    try { z = Struct(props); } catch(e) { }
    return structCache[parsed.name] = z;
  }
docs: Returns the struct constructor function for the given struct name or type.
  
  {CGPoint="x"d"y"d}
  
  @api private