void IDisposable.Dispose() { unsafe { MyRustStructAllocator.Free(ptr); } }
public static MyRustStruct Create() { unsafe { return(new MyRustStruct(MyRustStructAllocator.New())); } }