@@ -2,6 +2,7 @@ use std::collections::HashMap;
2
2
3
3
use once_cell:: sync:: Lazy ;
4
4
5
+ use crate :: type_ref:: Constness :: { Const , Mut } ;
5
6
use crate :: type_ref:: TypeRefTypeHint ;
6
7
use crate :: writer:: rust_native:: type_ref:: Lifetime ;
7
8
use crate :: FuncId ;
@@ -144,6 +145,10 @@ pub static ARGUMENT_OVERRIDE: Lazy<HashMap<FuncId, HashMap<&str, TypeRefTypeHint
144
145
FuncId :: new_const ( "cv::MatConstIterator::pos" , [ "_idx" ] ) ,
145
146
HashMap :: from ( [ ( "_idx" , TypeRefTypeHint :: PrimitivePtrAsRaw ) ] ) ,
146
147
) ,
148
+ (
149
+ FuncId :: new_mut ( "cv::MatSize::MatSize" , [ "_p" ] ) ,
150
+ HashMap :: from ( [ ( "_p" , TypeRefTypeHint :: PrimitivePtrAsRaw ) ] ) ,
151
+ ) ,
147
152
] )
148
153
} ) ;
149
154
@@ -154,194 +159,274 @@ pub static RETURN_OVERRIDE: Lazy<HashMap<FuncId, TypeRefTypeHint>> = Lazy::new(|
154
159
// Mat
155
160
(
156
161
FuncId :: new_mut ( "cv::Mat::Mat" , [ "m" ] ) ,
157
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Elided ) ,
162
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Elided ) ,
158
163
) ,
159
164
(
160
165
FuncId :: new_mut ( "cv::Mat::Mat" , [ "m" , "roi" ] ) ,
161
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Elided ) ,
166
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Elided ) ,
162
167
) ,
163
168
(
164
169
FuncId :: new_mut ( "cv::Mat::Mat" , [ "m" , "ranges" ] ) ,
165
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Custom ( "boxed" ) ) ,
170
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Custom ( "boxed" ) ) ,
166
171
) ,
167
172
(
168
173
FuncId :: new_mut ( "cv::Mat::Mat" , [ "m" , "rowRange" , "colRange" ] ) ,
169
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Custom ( "boxed" ) ) ,
174
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Custom ( "boxed" ) ) ,
170
175
) ,
171
176
(
172
177
FuncId :: new_const ( "cv::Mat::reshape" , [ "cn" , "rows" ] ) ,
173
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
178
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
174
179
) ,
175
180
(
176
181
FuncId :: new_const ( "cv::Mat::reshape" , [ "cn" , "newndims" , "newsz" ] ) ,
177
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
182
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
178
183
) ,
179
184
(
180
185
FuncId :: new_const ( "cv::Mat::reshape" , [ "cn" , "newshape" ] ) ,
181
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
186
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
182
187
) ,
183
188
(
184
189
FuncId :: new_const ( "cv::Mat::row" , [ "y" ] ) ,
185
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
190
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
186
191
) ,
187
192
(
188
193
FuncId :: new_const ( "cv::Mat::col" , [ "x" ] ) ,
189
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
194
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
190
195
) ,
191
196
(
192
197
FuncId :: new_const ( "cv::Mat::rowRange" , [ "startrow" , "endrow" ] ) ,
193
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
198
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
194
199
) ,
195
200
(
196
201
FuncId :: new_const ( "cv::Mat::rowRange" , [ "r" ] ) ,
197
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
202
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
198
203
) ,
199
204
(
200
205
FuncId :: new_const ( "cv::Mat::colRange" , [ "startcol" , "endcol" ] ) ,
201
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
206
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
202
207
) ,
203
208
(
204
209
FuncId :: new_const ( "cv::Mat::colRange" , [ "r" ] ) ,
205
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
210
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
206
211
) ,
207
212
(
208
213
FuncId :: new_const ( "cv::Mat::diag" , [ "d" ] ) ,
209
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
214
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
210
215
) ,
211
216
(
212
217
FuncId :: new_const ( "cv::Mat::operator()" , [ "roi" ] ) ,
213
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
218
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
214
219
) ,
215
220
(
216
221
FuncId :: new_const ( "cv::Mat::operator()" , [ "rowRange" , "colRange" ] ) ,
217
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
222
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
218
223
) ,
219
224
(
220
225
FuncId :: new_const ( "cv::Mat::operator()" , [ "ranges" ] ) ,
221
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
226
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
222
227
) ,
223
228
// GpuMatND
224
229
(
225
230
FuncId :: new_const ( "cv::cuda::GpuMatND::createGpuMatHeader" , [ "idx" , "rowRange" , "colRange" ] ) ,
226
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
231
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
227
232
) ,
228
233
(
229
234
FuncId :: new_const ( "cv::cuda::GpuMatND::createGpuMatHeader" , [ ] ) ,
230
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
235
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
231
236
) ,
232
237
(
233
238
FuncId :: new_const ( "cv::cuda::GpuMatND::operator()" , [ "idx" , "rowRange" , "colRange" ] ) ,
234
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
239
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
235
240
) ,
236
241
(
237
242
FuncId :: new_const ( "cv::cuda::GpuMatND::operator()" , [ "ranges" ] ) ,
238
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
243
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
239
244
) ,
240
245
// GpuMat
241
246
(
242
247
FuncId :: new_mut ( "cv::cuda::GpuMat::GpuMat" , [ "m" , "rowRange" , "colRange" ] ) ,
243
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Elided ) ,
248
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Elided ) ,
244
249
) ,
245
250
(
246
251
FuncId :: new_mut ( "cv::cuda::GpuMat::GpuMat" , [ "m" , "roi" ] ) ,
247
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Elided ) ,
252
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Elided ) ,
248
253
) ,
249
254
(
250
255
FuncId :: new_const ( "cv::cuda::GpuMat::row" , [ "y" ] ) ,
251
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
256
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
252
257
) ,
253
258
(
254
259
FuncId :: new_const ( "cv::cuda::GpuMat::col" , [ "x" ] ) ,
255
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
260
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
256
261
) ,
257
262
(
258
263
FuncId :: new_const ( "cv::cuda::GpuMat::rowRange" , [ "startrow" , "endrow" ] ) ,
259
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
264
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
260
265
) ,
261
266
(
262
267
FuncId :: new_const ( "cv::cuda::GpuMat::rowRange" , [ "r" ] ) ,
263
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
268
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
264
269
) ,
265
270
(
266
271
FuncId :: new_const ( "cv::cuda::GpuMat::colRange" , [ "startcol" , "endcol" ] ) ,
267
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
272
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
268
273
) ,
269
274
(
270
275
FuncId :: new_const ( "cv::cuda::GpuMat::colRange" , [ "r" ] ) ,
271
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
276
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
272
277
) ,
273
278
(
274
279
FuncId :: new_const ( "cv::cuda::GpuMat::reshape" , [ "cn" , "rows" ] ) ,
275
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
280
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
276
281
) ,
277
282
(
278
283
FuncId :: new_const ( "cv::cuda::GpuMat::operator()" , [ "rowRange" , "colRange" ] ) ,
279
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
284
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
280
285
) ,
281
286
(
282
287
FuncId :: new_const ( "cv::cuda::GpuMat::operator()" , [ "roi" ] ) ,
283
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
288
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
284
289
) ,
285
290
// UMat
286
291
(
287
292
FuncId :: new_mut ( "cv::UMat::UMat" , [ "m" , "rowRange" , "colRange" ] ) ,
288
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Custom ( "boxed" ) ) ,
293
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Custom ( "boxed" ) ) ,
289
294
) ,
290
295
(
291
296
FuncId :: new_mut ( "cv::UMat::UMat" , [ "m" , "roi" ] ) ,
292
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Elided ) ,
297
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Elided ) ,
293
298
) ,
294
299
(
295
300
FuncId :: new_mut ( "cv::UMat::UMat" , [ "m" , "ranges" ] ) ,
296
- TypeRefTypeHint :: BoxedAsRef ( "m" , Lifetime :: Custom ( "boxed" ) ) ,
301
+ TypeRefTypeHint :: BoxedAsRef ( Mut , "m" , Lifetime :: Custom ( "boxed" ) ) ,
297
302
) ,
298
303
(
299
304
FuncId :: new_const ( "cv::UMat::row" , [ "y" ] ) ,
300
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
305
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
301
306
) ,
302
307
(
303
308
FuncId :: new_const ( "cv::UMat::col" , [ "x" ] ) ,
304
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
309
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
305
310
) ,
306
311
(
307
312
FuncId :: new_const ( "cv::UMat::rowRange" , [ "startrow" , "endrow" ] ) ,
308
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
313
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
309
314
) ,
310
315
(
311
316
FuncId :: new_const ( "cv::UMat::rowRange" , [ "r" ] ) ,
312
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
317
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
313
318
) ,
314
319
(
315
320
FuncId :: new_const ( "cv::UMat::colRange" , [ "startcol" , "endcol" ] ) ,
316
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
321
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
317
322
) ,
318
323
(
319
324
FuncId :: new_const ( "cv::UMat::colRange" , [ "r" ] ) ,
320
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
325
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
321
326
) ,
322
327
(
323
328
FuncId :: new_const ( "cv::UMat::diag" , [ "d" ] ) ,
324
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
329
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
325
330
) ,
326
331
(
327
332
FuncId :: new_const ( "cv::UMat::reshape" , [ "cn" , "rows" ] ) ,
328
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
333
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
329
334
) ,
330
335
(
331
336
FuncId :: new_const ( "cv::UMat::reshape" , [ "cn" , "newndims" , "newsz" ] ) ,
332
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
337
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
333
338
) ,
334
339
(
335
340
FuncId :: new_const ( "cv::UMat::operator()" , [ "rowRange" , "colRange" ] ) ,
336
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
341
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
337
342
) ,
338
343
(
339
344
FuncId :: new_const ( "cv::UMat::operator()" , [ "roi" ] ) ,
340
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
345
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
341
346
) ,
342
347
(
343
348
FuncId :: new_const ( "cv::UMat::operator()" , [ "ranges" ] ) ,
344
- TypeRefTypeHint :: BoxedAsRef ( ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
349
+ TypeRefTypeHint :: BoxedAsRef ( Mut , ARG_OVERRIDE_SELF , Lifetime :: Elided ) ,
350
+ ) ,
351
+ (
352
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "m" ] ) ,
353
+ TypeRefTypeHint :: BoxedAsRef ( Const , "m" , Lifetime :: Elided ) ,
354
+ ) ,
355
+ (
356
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "expr" ] ) ,
357
+ TypeRefTypeHint :: BoxedAsRef ( Const , "expr" , Lifetime :: Elided ) ,
358
+ ) ,
359
+ (
360
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "vec" ] ) ,
361
+ TypeRefTypeHint :: BoxedAsRef ( Const , "vec" , Lifetime :: Elided ) ,
362
+ ) ,
363
+ (
364
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "val" ] ) ,
365
+ TypeRefTypeHint :: BoxedAsRef ( Const , "val" , Lifetime :: Elided ) ,
366
+ ) ,
367
+ (
368
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "d_mat" ] ) ,
369
+ TypeRefTypeHint :: BoxedAsRef ( Const , "d_mat" , Lifetime :: Elided ) ,
370
+ ) ,
371
+ (
372
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "d_mat_array" ] ) ,
373
+ TypeRefTypeHint :: BoxedAsRef ( Const , "d_mat_array" , Lifetime :: Elided ) ,
374
+ ) ,
375
+ (
376
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "buf" ] ) ,
377
+ TypeRefTypeHint :: BoxedAsRef ( Const , "buf" , Lifetime :: Elided ) ,
378
+ ) ,
379
+ (
380
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "cuda_mem" ] ) ,
381
+ TypeRefTypeHint :: BoxedAsRef ( Const , "cuda_mem" , Lifetime :: Elided ) ,
382
+ ) ,
383
+ (
384
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "um" ] ) ,
385
+ TypeRefTypeHint :: BoxedAsRef ( Const , "um" , Lifetime :: Elided ) ,
386
+ ) ,
387
+ (
388
+ FuncId :: new_mut ( "cv::_InputArray::_InputArray" , [ "umv" ] ) ,
389
+ TypeRefTypeHint :: BoxedAsRef ( Const , "umv" , Lifetime :: Elided ) ,
390
+ ) ,
391
+ (
392
+ FuncId :: new_mut ( "cv::_OutputArray::_OutputArray" , [ "m" ] ) ,
393
+ TypeRefTypeHint :: BoxedAsRef ( Const , "m" , Lifetime :: Elided ) ,
394
+ ) ,
395
+ (
396
+ FuncId :: new_mut ( "cv::_OutputArray::_OutputArray" , [ "vec" ] ) ,
397
+ TypeRefTypeHint :: BoxedAsRef ( Const , "vec" , Lifetime :: Elided ) ,
398
+ ) ,
399
+ (
400
+ FuncId :: new_mut ( "cv::_OutputArray::_OutputArray" , [ "d_mat" ] ) ,
401
+ TypeRefTypeHint :: BoxedAsRef ( Const , "d_mat" , Lifetime :: Elided ) ,
402
+ ) ,
403
+ (
404
+ FuncId :: new_mut ( "cv::_OutputArray::_OutputArray" , [ "buf" ] ) ,
405
+ TypeRefTypeHint :: BoxedAsRef ( Const , "buf" , Lifetime :: Elided ) ,
406
+ ) ,
407
+ (
408
+ FuncId :: new_mut ( "cv::_OutputArray::_OutputArray" , [ "cuda_mem" ] ) ,
409
+ TypeRefTypeHint :: BoxedAsRef ( Const , "cuda_mem" , Lifetime :: Elided ) ,
410
+ ) ,
411
+ (
412
+ FuncId :: new_mut ( "cv::_InputOutputArray::_InputOutputArray" , [ "m" ] ) ,
413
+ TypeRefTypeHint :: BoxedAsRef ( Const , "m" , Lifetime :: Elided ) ,
414
+ ) ,
415
+ (
416
+ FuncId :: new_mut ( "cv::_InputOutputArray::_InputOutputArray" , [ "vec" ] ) ,
417
+ TypeRefTypeHint :: BoxedAsRef ( Const , "vec" , Lifetime :: Elided ) ,
418
+ ) ,
419
+ (
420
+ FuncId :: new_mut ( "cv::_InputOutputArray::_InputOutputArray" , [ "d_mat" ] ) ,
421
+ TypeRefTypeHint :: BoxedAsRef ( Const , "d_mat" , Lifetime :: Elided ) ,
422
+ ) ,
423
+ (
424
+ FuncId :: new_mut ( "cv::_InputOutputArray::_InputOutputArray" , [ "buf" ] ) ,
425
+ TypeRefTypeHint :: BoxedAsRef ( Const , "buf" , Lifetime :: Elided ) ,
426
+ ) ,
427
+ (
428
+ FuncId :: new_mut ( "cv::_InputOutputArray::_InputOutputArray" , [ "cuda_mem" ] ) ,
429
+ TypeRefTypeHint :: BoxedAsRef ( Const , "cuda_mem" , Lifetime :: Elided ) ,
345
430
) ,
346
431
(
347
432
FuncId :: new_mut ( "cv::QRCodeDetector::decode" , [ "img" , "points" , "straight_qrcode" ] ) ,
0 commit comments