private static void *__CopyValue(global::SharpSDL.GameControllerButtonBind.Value.Hat.__Internal native)
                {
                    var ret = Marshal.AllocHGlobal(sizeof(global::SharpSDL.GameControllerButtonBind.Value.Hat.__Internal));

                    *(global::SharpSDL.GameControllerButtonBind.Value.Hat.__Internal *)ret = native;
                    return(ret.ToPointer());
                }
 private Hat(global::SharpSDL.GameControllerButtonBind.Value.Hat.__Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance           = true;
     NativeToManagedMap[__Instance] = this;
 }
 internal static global::SharpSDL.GameControllerButtonBind.Value.Hat __CreateInstance(global::SharpSDL.GameControllerButtonBind.Value.Hat.__Internal native, bool skipVTables = false)
 {
     return(new global::SharpSDL.GameControllerButtonBind.Value.Hat(native, skipVTables));
 }