1mod __ffi {
5 include!(concat!(env!("OUT_DIR"), "/ffi.rs"));
8}
9pub use ::cpp_core;
10#[repr(C)]
12pub struct PiecewiseConstructT {
13 _unused: u8,
14}
15impl PiecewiseConstructT {
16 pub unsafe fn copy_from(
18 &mut self,
19 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::PiecewiseConstructT>>,
20 ) -> ::cpp_core::MutRef<crate::PiecewiseConstructT> {
21 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_piecewise_construct_t_operator_(
22 self as *mut crate::PiecewiseConstructT,
23 ::cpp_core::CastInto::<::cpp_core::Ref<crate::PiecewiseConstructT>>::cast_into(other)
24 .as_raw_ptr(),
25 );
26 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
27 }
28
29 pub unsafe fn new() -> ::cpp_core::CppBox<crate::PiecewiseConstructT> {
31 let ffi_result =
32 crate::__ffi::ctr_cpp_std_ffi_std_piecewise_construct_t_piecewise_construct_t();
33 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
34 }
35
36 pub unsafe fn new_copy(
38 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::PiecewiseConstructT>>,
39 ) -> ::cpp_core::CppBox<crate::PiecewiseConstructT> {
40 let ffi_result =
41 crate::__ffi::ctr_cpp_std_ffi_std_piecewise_construct_t_piecewise_construct_t1(
42 ::cpp_core::CastInto::<::cpp_core::Ref<crate::PiecewiseConstructT>>::cast_into(
43 other,
44 )
45 .as_raw_ptr(),
46 );
47 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
48 }
49}
50
51#[repr(C)]
53pub struct InputIteratorTag {
54 _unused: u8,
55}
56impl InputIteratorTag {
57 pub unsafe fn copy_from(
59 &mut self,
60 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::InputIteratorTag>>,
61 ) -> ::cpp_core::MutRef<crate::InputIteratorTag> {
62 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_input_iterator_tag_operator_(
63 self as *mut crate::InputIteratorTag,
64 ::cpp_core::CastInto::<::cpp_core::Ref<crate::InputIteratorTag>>::cast_into(other)
65 .as_raw_ptr(),
66 );
67 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
68 }
69
70 pub unsafe fn new() -> ::cpp_core::CppBox<crate::InputIteratorTag> {
72 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_input_iterator_tag_input_iterator_tag();
73 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
74 }
75
76 pub unsafe fn new_copy(
78 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::InputIteratorTag>>,
79 ) -> ::cpp_core::CppBox<crate::InputIteratorTag> {
80 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_input_iterator_tag_input_iterator_tag1(
81 ::cpp_core::CastInto::<::cpp_core::Ref<crate::InputIteratorTag>>::cast_into(other)
82 .as_raw_ptr(),
83 );
84 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
85 }
86}
87
88#[repr(C)]
90pub struct OutputIteratorTag {
91 _unused: u8,
92}
93impl OutputIteratorTag {
94 pub unsafe fn copy_from(
96 &mut self,
97 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::OutputIteratorTag>>,
98 ) -> ::cpp_core::MutRef<crate::OutputIteratorTag> {
99 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_output_iterator_tag_operator_(
100 self as *mut crate::OutputIteratorTag,
101 ::cpp_core::CastInto::<::cpp_core::Ref<crate::OutputIteratorTag>>::cast_into(other)
102 .as_raw_ptr(),
103 );
104 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
105 }
106
107 pub unsafe fn new() -> ::cpp_core::CppBox<crate::OutputIteratorTag> {
109 let ffi_result =
110 crate::__ffi::ctr_cpp_std_ffi_std_output_iterator_tag_output_iterator_tag();
111 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
112 }
113
114 pub unsafe fn new_copy(
116 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::OutputIteratorTag>>,
117 ) -> ::cpp_core::CppBox<crate::OutputIteratorTag> {
118 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_output_iterator_tag_output_iterator_tag1(
119 ::cpp_core::CastInto::<::cpp_core::Ref<crate::OutputIteratorTag>>::cast_into(other)
120 .as_raw_ptr(),
121 );
122 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
123 }
124}
125
126#[repr(C)]
128pub struct ForwardIteratorTag {
129 _unused: u8,
130}
131impl ForwardIteratorTag {
132 pub unsafe fn copy_from(
134 &mut self,
135 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::ForwardIteratorTag>>,
136 ) -> ::cpp_core::MutRef<crate::ForwardIteratorTag> {
137 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_forward_iterator_tag_operator_(
138 self as *mut crate::ForwardIteratorTag,
139 ::cpp_core::CastInto::<::cpp_core::Ref<crate::ForwardIteratorTag>>::cast_into(other)
140 .as_raw_ptr(),
141 );
142 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
143 }
144
145 pub unsafe fn new() -> ::cpp_core::CppBox<crate::ForwardIteratorTag> {
147 let ffi_result =
148 crate::__ffi::ctr_cpp_std_ffi_std_forward_iterator_tag_forward_iterator_tag();
149 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
150 }
151
152 pub unsafe fn new_copy(
154 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::ForwardIteratorTag>>,
155 ) -> ::cpp_core::CppBox<crate::ForwardIteratorTag> {
156 let ffi_result =
157 crate::__ffi::ctr_cpp_std_ffi_std_forward_iterator_tag_forward_iterator_tag1(
158 ::cpp_core::CastInto::<::cpp_core::Ref<crate::ForwardIteratorTag>>::cast_into(
159 other,
160 )
161 .as_raw_ptr(),
162 );
163 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
164 }
165}
166
167#[repr(C)]
169pub struct BidirectionalIteratorTag {
170 _unused: u8,
171}
172impl BidirectionalIteratorTag {
173 pub unsafe fn copy_from(
175 &mut self,
176 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::BidirectionalIteratorTag>>,
177 ) -> ::cpp_core::MutRef<crate::BidirectionalIteratorTag> {
178 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_bidirectional_iterator_tag_operator_(
179 self as *mut crate::BidirectionalIteratorTag,
180 ::cpp_core::CastInto::<::cpp_core::Ref<crate::BidirectionalIteratorTag>>::cast_into(
181 other,
182 )
183 .as_raw_ptr(),
184 );
185 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
186 }
187
188 pub unsafe fn new() -> ::cpp_core::CppBox<crate::BidirectionalIteratorTag> {
190 let ffi_result =
191 crate::__ffi::ctr_cpp_std_ffi_std_bidirectional_iterator_tag_bidirectional_iterator_tag(
192 );
193 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
194 }
195
196 pub unsafe fn new_copy(
198 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::BidirectionalIteratorTag>>,
199 ) -> ::cpp_core::CppBox<crate::BidirectionalIteratorTag> {
200 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_bidirectional_iterator_tag_bidirectional_iterator_tag1(::cpp_core::CastInto::<::cpp_core::Ref<crate::BidirectionalIteratorTag>>::cast_into(other).as_raw_ptr());
201 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
202 }
203}
204
205#[repr(C)]
207pub struct RandomAccessIteratorTag {
208 _unused: u8,
209}
210impl RandomAccessIteratorTag {
211 pub unsafe fn copy_from(
213 &mut self,
214 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::RandomAccessIteratorTag>>,
215 ) -> ::cpp_core::MutRef<crate::RandomAccessIteratorTag> {
216 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_random_access_iterator_tag_operator_(
217 self as *mut crate::RandomAccessIteratorTag,
218 ::cpp_core::CastInto::<::cpp_core::Ref<crate::RandomAccessIteratorTag>>::cast_into(
219 other,
220 )
221 .as_raw_ptr(),
222 );
223 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
224 }
225
226 pub unsafe fn new() -> ::cpp_core::CppBox<crate::RandomAccessIteratorTag> {
228 let ffi_result =
229 crate::__ffi::ctr_cpp_std_ffi_std_random_access_iterator_tag_random_access_iterator_tag(
230 );
231 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
232 }
233
234 pub unsafe fn new_copy(
236 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::RandomAccessIteratorTag>>,
237 ) -> ::cpp_core::CppBox<crate::RandomAccessIteratorTag> {
238 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_random_access_iterator_tag_random_access_iterator_tag1(::cpp_core::CastInto::<::cpp_core::Ref<crate::RandomAccessIteratorTag>>::cast_into(other).as_raw_ptr());
239 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
240 }
241}
242
243#[repr(C)]
245pub struct IteratorOfOutputIteratorTag {
246 _unused: u8,
247}
248impl IteratorOfOutputIteratorTag {
249 pub unsafe fn copy_from(
251 &mut self,
252 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::IteratorOfOutputIteratorTag>>,
253 ) -> ::cpp_core::MutRef<crate::IteratorOfOutputIteratorTag> {
254 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_iterator_std_output_iterator_tag_void_void_void_void_operator_(self as *mut crate::IteratorOfOutputIteratorTag, ::cpp_core::CastInto::<::cpp_core::Ref<crate::IteratorOfOutputIteratorTag>>::cast_into(other).as_raw_ptr());
255 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
256 }
257
258 pub unsafe fn new() -> ::cpp_core::CppBox<crate::IteratorOfOutputIteratorTag> {
260 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_iterator_std_output_iterator_tag_void_void_void_void_iterator();
261 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
262 }
263
264 pub unsafe fn new_copy(
266 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::IteratorOfOutputIteratorTag>>,
267 ) -> ::cpp_core::CppBox<crate::IteratorOfOutputIteratorTag> {
268 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_iterator_std_output_iterator_tag_void_void_void_void_iterator1(::cpp_core::CastInto::<::cpp_core::Ref<crate::IteratorOfOutputIteratorTag>>::cast_into(other).as_raw_ptr());
269 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
270 }
271}
272
273#[repr(C)]
275pub struct CharTraitsOfChar {
276 _unused: u8,
277}
278impl CharTraitsOfChar {
279 pub unsafe fn copy_from(
281 &mut self,
282 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar>>,
283 ) -> ::cpp_core::MutRef<crate::CharTraitsOfChar> {
284 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char_operator_(
285 self as *mut crate::CharTraitsOfChar,
286 ::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar>>::cast_into(other)
287 .as_raw_ptr(),
288 );
289 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
290 }
291
292 pub unsafe fn new() -> ::cpp_core::CppBox<crate::CharTraitsOfChar> {
294 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char_char_traits();
295 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
296 }
297
298 pub unsafe fn new_copy(
300 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar>>,
301 ) -> ::cpp_core::CppBox<crate::CharTraitsOfChar> {
302 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char_char_traits1(
303 ::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar>>::cast_into(other)
304 .as_raw_ptr(),
305 );
306 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
307 }
308}
309
310#[repr(C)]
312pub struct String {
313 _unused: u8,
314}
315impl String {
316 pub unsafe fn append_string(
318 &mut self,
319 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
320 ) -> ::cpp_core::MutRef<crate::String> {
321 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_append(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr());
322 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
323 }
324
325 pub unsafe fn append_string2_usize(
327 &mut self,
328 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
329 pos: usize,
330 n: usize,
331 ) -> ::cpp_core::MutRef<crate::String> {
332 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_append1(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos, n);
333 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
334 }
335
336 pub unsafe fn append_char_usize(
338 &mut self,
339 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
340 n: usize,
341 ) -> ::cpp_core::MutRef<crate::String> {
342 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_append2(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), n);
343 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
344 }
345
346 pub unsafe fn append_char(
348 &mut self,
349 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
350 ) -> ::cpp_core::MutRef<crate::String> {
351 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_append3(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr());
352 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
353 }
354
355 pub unsafe fn append_usize_char(
357 &mut self,
358 n: usize,
359 c: ::std::os::raw::c_char,
360 ) -> ::cpp_core::MutRef<crate::String> {
361 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_append4(self as *mut crate::String, n, c);
362 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
363 }
364
365 pub unsafe fn append_string_usize(
367 &mut self,
368 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
369 pos: usize,
370 ) -> ::cpp_core::MutRef<crate::String> {
371 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_append5(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos);
372 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
373 }
374
375 pub unsafe fn assign_string(
377 &mut self,
378 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
379 ) -> ::cpp_core::MutRef<crate::String> {
380 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_assign(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr());
381 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
382 }
383
384 pub unsafe fn assign_string2_usize(
386 &mut self,
387 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
388 pos: usize,
389 n: usize,
390 ) -> ::cpp_core::MutRef<crate::String> {
391 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_assign2(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos, n);
392 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
393 }
394
395 pub unsafe fn assign_char_usize(
397 &mut self,
398 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
399 n: usize,
400 ) -> ::cpp_core::MutRef<crate::String> {
401 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_assign3(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), n);
402 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
403 }
404
405 pub unsafe fn assign_char(
407 &mut self,
408 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
409 ) -> ::cpp_core::MutRef<crate::String> {
410 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_assign4(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr());
411 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
412 }
413
414 pub unsafe fn assign_usize_char(
416 &mut self,
417 n: usize,
418 c: ::std::os::raw::c_char,
419 ) -> ::cpp_core::MutRef<crate::String> {
420 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_assign5(self as *mut crate::String, n, c);
421 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
422 }
423
424 pub unsafe fn assign_string_usize(
426 &mut self,
427 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
428 pos: usize,
429 ) -> ::cpp_core::MutRef<crate::String> {
430 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_assign6(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos);
431 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
432 }
433
434 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_char> {
436 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_at(self as *const crate::String, n);
437 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
438 }
439
440 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
442 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_at1(self as *mut crate::String, n);
443 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
444 }
445
446 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
448 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_back(self as *mut crate::String);
449 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
450 }
451
452 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_char> {
454 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_back1(self as *const crate::String);
455 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
456 }
457
458 pub unsafe fn c_str(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
460 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_c_str(self as *const crate::String);
461 ::cpp_core::Ptr::from_raw(ffi_result)
462 }
463
464 pub unsafe fn capacity(&self) -> usize {
466 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_capacity(self as *const crate::String)
467 }
468
469 pub unsafe fn clear(&mut self) {
471 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_clear(self as *mut crate::String)
472 }
473
474 pub unsafe fn compare_string(
476 &self,
477 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
478 ) -> ::std::os::raw::c_int {
479 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_compare(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr())
480 }
481
482 pub unsafe fn compare_2_usize_string(
484 &self,
485 pos: usize,
486 n: usize,
487 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
488 ) -> ::std::os::raw::c_int {
489 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_compare1(self as *const crate::String, pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr())
490 }
491
492 pub unsafe fn compare_2_usize_string2_usize(
494 &self,
495 pos1: usize,
496 n1: usize,
497 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
498 pos2: usize,
499 n2: usize,
500 ) -> ::std::os::raw::c_int {
501 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_compare2(self as *const crate::String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos2, n2)
502 }
503
504 pub unsafe fn compare_char(
506 &self,
507 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
508 ) -> ::std::os::raw::c_int {
509 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_compare3(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr())
510 }
511
512 pub unsafe fn compare_2_usize_char(
514 &self,
515 pos: usize,
516 n1: usize,
517 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
518 ) -> ::std::os::raw::c_int {
519 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_compare4(self as *const crate::String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr())
520 }
521
522 pub unsafe fn compare_2_usize_char_usize(
524 &self,
525 pos: usize,
526 n1: usize,
527 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
528 n2: usize,
529 ) -> ::std::os::raw::c_int {
530 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_compare5(self as *const crate::String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), n2)
531 }
532
533 pub unsafe fn compare_2_usize_string_usize(
535 &self,
536 pos1: usize,
537 n1: usize,
538 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
539 pos2: usize,
540 ) -> ::std::os::raw::c_int {
541 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_compare6(self as *const crate::String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos2)
542 }
543
544 pub unsafe fn copy_3a(
546 &self,
547 s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::std::os::raw::c_char>>,
548 n: usize,
549 pos: usize,
550 ) -> usize {
551 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_copy(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::MutPtr<::std::os::raw::c_char>>::cast_into(s).as_mut_raw_ptr(), n, pos)
552 }
553
554 pub unsafe fn copy_2a(
556 &self,
557 s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::std::os::raw::c_char>>,
558 n: usize,
559 ) -> usize {
560 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_copy1(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::MutPtr<::std::os::raw::c_char>>::cast_into(s).as_mut_raw_ptr(), n)
561 }
562
563 pub unsafe fn copy_from_string(
565 &mut self,
566 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
567 ) -> ::cpp_core::MutRef<crate::String> {
568 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_operator_(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr());
569 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
570 }
571
572 pub unsafe fn copy_from_char(
574 &mut self,
575 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
576 ) -> ::cpp_core::MutRef<crate::String> {
577 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_operator_1(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr());
578 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
579 }
580
581 pub unsafe fn copy_from_char2(
583 &mut self,
584 c: ::std::os::raw::c_char,
585 ) -> ::cpp_core::MutRef<crate::String> {
586 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_operator_2(self as *mut crate::String, c);
587 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
588 }
589
590 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
592 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_data(self as *const crate::String);
593 ::cpp_core::Ptr::from_raw(ffi_result)
594 }
595
596 pub unsafe fn empty(&self) -> bool {
598 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_empty(self as *const crate::String)
599 }
600
601 pub unsafe fn erase_2a(&mut self, pos: usize, n: usize) -> ::cpp_core::MutRef<crate::String> {
603 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_erase(self as *mut crate::String, pos, n);
604 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
605 }
606
607 pub unsafe fn erase_1a(&mut self, pos: usize) -> ::cpp_core::MutRef<crate::String> {
609 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_erase1(self as *mut crate::String, pos);
610 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
611 }
612
613 pub unsafe fn erase_0a(&mut self) -> ::cpp_core::MutRef<crate::String> {
615 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_erase2(self as *mut crate::String);
616 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
617 }
618
619 pub unsafe fn find_char2_usize(
621 &self,
622 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
623 pos: usize,
624 n: usize,
625 ) -> usize {
626 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos, n)
627 }
628
629 pub unsafe fn find_string_usize(
631 &self,
632 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
633 pos: usize,
634 ) -> usize {
635 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find1(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos)
636 }
637
638 pub unsafe fn find_char_usize(
640 &self,
641 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
642 pos: usize,
643 ) -> usize {
644 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find2(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos)
645 }
646
647 pub unsafe fn find_char_usize2(&self, c: ::std::os::raw::c_char, pos: usize) -> usize {
649 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find3(self as *const crate::String, c, pos)
650 }
651
652 pub unsafe fn find_string(
654 &self,
655 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
656 ) -> usize {
657 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find4(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr())
658 }
659
660 pub unsafe fn find_char(
662 &self,
663 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
664 ) -> usize {
665 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find5(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr())
666 }
667
668 pub unsafe fn find_char2(&self, c: ::std::os::raw::c_char) -> usize {
670 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find6(self as *const crate::String, c)
671 }
672
673 pub unsafe fn find_first_not_of_string_usize(
675 &self,
676 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
677 pos: usize,
678 ) -> usize {
679 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_not_of(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos)
680 }
681
682 pub unsafe fn find_first_not_of_char2_usize(
684 &self,
685 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
686 pos: usize,
687 n: usize,
688 ) -> usize {
689 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_not_of1(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos, n)
690 }
691
692 pub unsafe fn find_first_not_of_char_usize(
694 &self,
695 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
696 pos: usize,
697 ) -> usize {
698 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_not_of2(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos)
699 }
700
701 pub unsafe fn find_first_not_of_char_usize2(
703 &self,
704 c: ::std::os::raw::c_char,
705 pos: usize,
706 ) -> usize {
707 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_not_of3(self as *const crate::String, c, pos)
708 }
709
710 pub unsafe fn find_first_not_of_string(
712 &self,
713 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
714 ) -> usize {
715 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_not_of4(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr())
716 }
717
718 pub unsafe fn find_first_not_of_char(
720 &self,
721 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
722 ) -> usize {
723 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_not_of5(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr())
724 }
725
726 pub unsafe fn find_first_not_of_char2(&self, c: ::std::os::raw::c_char) -> usize {
728 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_not_of6(self as *const crate::String, c)
729 }
730
731 pub unsafe fn find_first_of_string_usize(
733 &self,
734 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
735 pos: usize,
736 ) -> usize {
737 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_of(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos)
738 }
739
740 pub unsafe fn find_first_of_char2_usize(
742 &self,
743 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
744 pos: usize,
745 n: usize,
746 ) -> usize {
747 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_of1(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos, n)
748 }
749
750 pub unsafe fn find_first_of_char_usize(
752 &self,
753 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
754 pos: usize,
755 ) -> usize {
756 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_of2(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos)
757 }
758
759 pub unsafe fn find_first_of_char_usize2(&self, c: ::std::os::raw::c_char, pos: usize) -> usize {
761 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_of3(self as *const crate::String, c, pos)
762 }
763
764 pub unsafe fn find_first_of_string(
766 &self,
767 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
768 ) -> usize {
769 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_of4(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr())
770 }
771
772 pub unsafe fn find_first_of_char(
774 &self,
775 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
776 ) -> usize {
777 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_of5(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr())
778 }
779
780 pub unsafe fn find_first_of_char2(&self, c: ::std::os::raw::c_char) -> usize {
782 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_first_of6(self as *const crate::String, c)
783 }
784
785 pub unsafe fn find_last_not_of_string_usize(
787 &self,
788 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
789 pos: usize,
790 ) -> usize {
791 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_not_of(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos)
792 }
793
794 pub unsafe fn find_last_not_of_char2_usize(
796 &self,
797 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
798 pos: usize,
799 n: usize,
800 ) -> usize {
801 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_not_of1(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos, n)
802 }
803
804 pub unsafe fn find_last_not_of_char_usize(
806 &self,
807 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
808 pos: usize,
809 ) -> usize {
810 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_not_of2(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos)
811 }
812
813 pub unsafe fn find_last_not_of_char_usize2(
815 &self,
816 c: ::std::os::raw::c_char,
817 pos: usize,
818 ) -> usize {
819 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_not_of3(self as *const crate::String, c, pos)
820 }
821
822 pub unsafe fn find_last_not_of_string(
824 &self,
825 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
826 ) -> usize {
827 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_not_of4(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr())
828 }
829
830 pub unsafe fn find_last_not_of_char(
832 &self,
833 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
834 ) -> usize {
835 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_not_of5(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr())
836 }
837
838 pub unsafe fn find_last_not_of_char2(&self, c: ::std::os::raw::c_char) -> usize {
840 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_not_of6(self as *const crate::String, c)
841 }
842
843 pub unsafe fn find_last_of_string_usize(
845 &self,
846 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
847 pos: usize,
848 ) -> usize {
849 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_of(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos)
850 }
851
852 pub unsafe fn find_last_of_char2_usize(
854 &self,
855 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
856 pos: usize,
857 n: usize,
858 ) -> usize {
859 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_of1(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos, n)
860 }
861
862 pub unsafe fn find_last_of_char_usize(
864 &self,
865 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
866 pos: usize,
867 ) -> usize {
868 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_of2(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos)
869 }
870
871 pub unsafe fn find_last_of_char_usize2(&self, c: ::std::os::raw::c_char, pos: usize) -> usize {
873 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_of3(self as *const crate::String, c, pos)
874 }
875
876 pub unsafe fn find_last_of_string(
878 &self,
879 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
880 ) -> usize {
881 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_of4(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr())
882 }
883
884 pub unsafe fn find_last_of_char(
886 &self,
887 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
888 ) -> usize {
889 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_of5(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr())
890 }
891
892 pub unsafe fn find_last_of_char2(&self, c: ::std::os::raw::c_char) -> usize {
894 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find_last_of6(self as *const crate::String, c)
895 }
896
897 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
899 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_front(self as *mut crate::String);
900 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
901 }
902
903 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_char> {
905 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_front1(self as *const crate::String);
906 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
907 }
908
909 pub unsafe fn index(&self, pos: usize) -> ::cpp_core::Ref<::std::os::raw::c_char> {
911 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_operator__(self as *const crate::String, pos);
912 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
913 }
914
915 pub unsafe fn index_mut(&mut self, pos: usize) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
917 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_operator__1(self as *mut crate::String, pos);
918 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
919 }
920
921 pub unsafe fn insert_usize_string(
923 &mut self,
924 pos1: usize,
925 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
926 ) -> ::cpp_core::MutRef<crate::String> {
927 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_insert(self as *mut crate::String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr());
928 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
929 }
930
931 pub unsafe fn insert_usize_string2_usize(
933 &mut self,
934 pos1: usize,
935 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
936 pos2: usize,
937 n: usize,
938 ) -> ::cpp_core::MutRef<crate::String> {
939 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_insert1(self as *mut crate::String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos2, n);
940 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
941 }
942
943 pub unsafe fn insert_usize_char_usize(
945 &mut self,
946 pos: usize,
947 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
948 n: usize,
949 ) -> ::cpp_core::MutRef<crate::String> {
950 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_insert2(self as *mut crate::String, pos, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), n);
951 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
952 }
953
954 pub unsafe fn insert_usize_char(
956 &mut self,
957 pos: usize,
958 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
959 ) -> ::cpp_core::MutRef<crate::String> {
960 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_insert3(self as *mut crate::String, pos, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr());
961 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
962 }
963
964 pub unsafe fn insert_2_usize_char(
966 &mut self,
967 pos: usize,
968 n: usize,
969 c: ::std::os::raw::c_char,
970 ) -> ::cpp_core::MutRef<crate::String> {
971 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_insert4(self as *mut crate::String, pos, n, c);
972 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
973 }
974
975 pub unsafe fn insert_usize_string_usize(
977 &mut self,
978 pos1: usize,
979 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
980 pos2: usize,
981 ) -> ::cpp_core::MutRef<crate::String> {
982 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_insert5(self as *mut crate::String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos2);
983 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
984 }
985
986 pub unsafe fn length(&self) -> usize {
988 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_length(self as *const crate::String)
989 }
990
991 pub unsafe fn max_size(&self) -> usize {
993 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_max_size(self as *const crate::String)
994 }
995
996 pub unsafe fn new() -> ::cpp_core::CppBox<crate::String> {
998 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string();
999 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1000 }
1001
1002 pub unsafe fn from_allocator_of_char(
1004 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1005 ) -> ::cpp_core::CppBox<crate::String> {
1006 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string1(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a).as_raw_ptr());
1007 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1008 }
1009
1010 pub unsafe fn from_string_usize_allocator_of_char(
1012 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1013 pos: usize,
1014 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1015 ) -> ::cpp_core::CppBox<crate::String> {
1016 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string3(::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a).as_raw_ptr());
1017 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1018 }
1019
1020 pub unsafe fn from_string2_usize(
1022 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1023 pos: usize,
1024 n: usize,
1025 ) -> ::cpp_core::CppBox<crate::String> {
1026 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string4(::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos, n);
1027 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1028 }
1029
1030 pub unsafe fn from_string2_usize_allocator_of_char(
1032 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1033 pos: usize,
1034 n: usize,
1035 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1036 ) -> ::cpp_core::CppBox<crate::String> {
1037 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string5(::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a).as_raw_ptr());
1038 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1039 }
1040
1041 pub unsafe fn from_char_usize_allocator_of_char(
1043 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1044 n: usize,
1045 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1046 ) -> ::cpp_core::CppBox<crate::String> {
1047 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string6(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a).as_raw_ptr());
1048 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1049 }
1050
1051 pub unsafe fn from_char_allocator_of_char(
1053 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1054 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1055 ) -> ::cpp_core::CppBox<crate::String> {
1056 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string7(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a).as_raw_ptr());
1057 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1058 }
1059
1060 pub unsafe fn from_usize_char_allocator_of_char(
1062 n: usize,
1063 c: ::std::os::raw::c_char,
1064 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1065 ) -> ::cpp_core::CppBox<crate::String> {
1066 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string8(n, c, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a).as_raw_ptr());
1067 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1068 }
1069
1070 pub unsafe fn from_string_allocator_of_char(
1072 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1073 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1074 ) -> ::cpp_core::CppBox<crate::String> {
1075 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string10(::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a).as_raw_ptr());
1076 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1077 }
1078
1079 pub unsafe fn from_string_usize(
1081 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1082 pos: usize,
1083 ) -> ::cpp_core::CppBox<crate::String> {
1084 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string12(::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos);
1085 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1086 }
1087
1088 pub unsafe fn from_char_usize(
1090 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1091 n: usize,
1092 ) -> ::cpp_core::CppBox<crate::String> {
1093 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string13(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), n);
1094 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1095 }
1096
1097 pub unsafe fn from_char(
1099 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1100 ) -> ::cpp_core::CppBox<crate::String> {
1101 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string14(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr());
1102 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1103 }
1104
1105 pub unsafe fn from_usize_char(
1107 n: usize,
1108 c: ::std::os::raw::c_char,
1109 ) -> ::cpp_core::CppBox<crate::String> {
1110 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string15(n, c);
1111 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1112 }
1113
1114 pub unsafe fn new_copy(
1116 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1117 ) -> ::cpp_core::CppBox<crate::String> {
1118 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string2(::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr());
1119 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1120 }
1121
1122 pub unsafe fn pop_back(&mut self) {
1124 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_pop_back(self as *mut crate::String)
1125 }
1126
1127 pub unsafe fn push_back(&mut self, c: ::std::os::raw::c_char) {
1129 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_push_back(self as *mut crate::String, c)
1130 }
1131
1132 pub unsafe fn replace_2_usize_string(
1134 &mut self,
1135 pos: usize,
1136 n: usize,
1137 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1138 ) -> ::cpp_core::MutRef<crate::String> {
1139 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_replace(self as *mut crate::String, pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr());
1140 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1141 }
1142
1143 pub unsafe fn replace_2_usize_string2_usize(
1145 &mut self,
1146 pos1: usize,
1147 n1: usize,
1148 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1149 pos2: usize,
1150 n2: usize,
1151 ) -> ::cpp_core::MutRef<crate::String> {
1152 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_replace1(self as *mut crate::String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos2, n2);
1153 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1154 }
1155
1156 pub unsafe fn replace_2_usize_char_usize(
1158 &mut self,
1159 pos: usize,
1160 n1: usize,
1161 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1162 n2: usize,
1163 ) -> ::cpp_core::MutRef<crate::String> {
1164 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_replace2(self as *mut crate::String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), n2);
1165 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1166 }
1167
1168 pub unsafe fn replace_2_usize_char(
1170 &mut self,
1171 pos: usize,
1172 n1: usize,
1173 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1174 ) -> ::cpp_core::MutRef<crate::String> {
1175 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_replace3(self as *mut crate::String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr());
1176 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1177 }
1178
1179 pub unsafe fn replace_3_usize_char(
1181 &mut self,
1182 pos: usize,
1183 n1: usize,
1184 n2: usize,
1185 c: ::std::os::raw::c_char,
1186 ) -> ::cpp_core::MutRef<crate::String> {
1187 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_replace4(self as *mut crate::String, pos, n1, n2, c);
1188 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1189 }
1190
1191 pub unsafe fn replace_2_usize_string_usize(
1193 &mut self,
1194 pos1: usize,
1195 n1: usize,
1196 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1197 pos2: usize,
1198 ) -> ::cpp_core::MutRef<crate::String> {
1199 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_replace5(self as *mut crate::String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos2);
1200 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1201 }
1202
1203 pub unsafe fn reserve_1a(&mut self, res_arg: usize) {
1205 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_reserve(self as *mut crate::String, res_arg)
1206 }
1207
1208 pub unsafe fn reserve_0a(&mut self) {
1210 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_reserve1(self as *mut crate::String)
1211 }
1212
1213 pub unsafe fn resize_2a(&mut self, n: usize, c: ::std::os::raw::c_char) {
1215 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_resize(self as *mut crate::String, n, c)
1216 }
1217
1218 pub unsafe fn resize_1a(&mut self, n: usize) {
1220 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_resize1(self as *mut crate::String, n)
1221 }
1222
1223 pub unsafe fn rfind_string_usize(
1225 &self,
1226 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1227 pos: usize,
1228 ) -> usize {
1229 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_rfind(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(), pos)
1230 }
1231
1232 pub unsafe fn rfind_char2_usize(
1234 &self,
1235 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1236 pos: usize,
1237 n: usize,
1238 ) -> usize {
1239 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_rfind1(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos, n)
1240 }
1241
1242 pub unsafe fn rfind_char_usize(
1244 &self,
1245 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1246 pos: usize,
1247 ) -> usize {
1248 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_rfind2(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr(), pos)
1249 }
1250
1251 pub unsafe fn rfind_char_usize2(&self, c: ::std::os::raw::c_char, pos: usize) -> usize {
1253 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_rfind3(self as *const crate::String, c, pos)
1254 }
1255
1256 pub unsafe fn rfind_string(
1258 &self,
1259 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
1260 ) -> usize {
1261 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_rfind4(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr())
1262 }
1263
1264 pub unsafe fn rfind_char(
1266 &self,
1267 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
1268 ) -> usize {
1269 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_rfind5(self as *const crate::String, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(s).as_raw_ptr())
1270 }
1271
1272 pub unsafe fn rfind_char2(&self, c: ::std::os::raw::c_char) -> usize {
1274 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_rfind6(self as *const crate::String, c)
1275 }
1276
1277 pub unsafe fn shrink_to_fit(&mut self) {
1279 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_shrink_to_fit(self as *mut crate::String)
1280 }
1281
1282 pub unsafe fn size(&self) -> usize {
1284 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_size(self as *const crate::String)
1285 }
1286
1287 pub unsafe fn substr_2a(&self, pos: usize, n: usize) -> ::cpp_core::CppBox<crate::String> {
1289 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_substr(self as *const crate::String, pos, n);
1290 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1291 }
1292
1293 pub unsafe fn substr_1a(&self, pos: usize) -> ::cpp_core::CppBox<crate::String> {
1295 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_substr1(self as *const crate::String, pos);
1296 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1297 }
1298
1299 pub unsafe fn substr_0a(&self) -> ::cpp_core::CppBox<crate::String> {
1301 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_substr2(self as *const crate::String);
1302 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1303 }
1304
1305 pub unsafe fn swap(&mut self, s: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::String>>) {
1307 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_swap(self as *mut crate::String, ::cpp_core::CastInto::<::cpp_core::MutRef<crate::String>>::cast_into(s).as_mut_raw_ptr())
1308 }
1309}
1310
1311#[repr(C)]
1313pub struct AllocatorOfChar {
1314 _unused: u8,
1315}
1316impl AllocatorOfChar {
1317 pub unsafe fn copy_from(
1319 &mut self,
1320 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1321 ) -> ::cpp_core::MutRef<crate::AllocatorOfChar> {
1322 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char_operator_(
1323 self as *mut crate::AllocatorOfChar,
1324 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(other)
1325 .as_raw_ptr(),
1326 );
1327 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1328 }
1329
1330 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfChar> {
1332 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char_allocator();
1333 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1334 }
1335
1336 pub unsafe fn new_copy(
1338 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
1339 ) -> ::cpp_core::CppBox<crate::AllocatorOfChar> {
1340 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char_allocator1(
1341 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
1342 .as_raw_ptr(),
1343 );
1344 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1345 }
1346}
1347
1348#[repr(C)]
1350pub struct CharTraitsOfWcharT {
1351 _unused: u8,
1352}
1353impl CharTraitsOfWcharT {
1354 pub unsafe fn copy_from(
1356 &mut self,
1357 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfWcharT>>,
1358 ) -> ::cpp_core::MutRef<crate::CharTraitsOfWcharT> {
1359 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_wchar_t_operator_(
1360 self as *mut crate::CharTraitsOfWcharT,
1361 ::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfWcharT>>::cast_into(other)
1362 .as_raw_ptr(),
1363 );
1364 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1365 }
1366
1367 pub unsafe fn new() -> ::cpp_core::CppBox<crate::CharTraitsOfWcharT> {
1369 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_wchar_t_char_traits();
1370 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1371 }
1372
1373 pub unsafe fn new_copy(
1375 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfWcharT>>,
1376 ) -> ::cpp_core::CppBox<crate::CharTraitsOfWcharT> {
1377 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_wchar_t_char_traits1(
1378 ::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfWcharT>>::cast_into(other)
1379 .as_raw_ptr(),
1380 );
1381 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
1382 }
1383}
1384
1385#[repr(C)]
1387pub struct WString {
1388 _unused: u8,
1389}
1390impl WString {
1391 pub unsafe fn append_w_string(
1393 &mut self,
1394 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1395 ) -> ::cpp_core::MutRef<crate::WString> {
1396 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_append(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr());
1397 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1398 }
1399
1400 pub unsafe fn append_w_string2_usize(
1402 &mut self,
1403 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1404 pos: usize,
1405 n: usize,
1406 ) -> ::cpp_core::MutRef<crate::WString> {
1407 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_append1(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos, n);
1408 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1409 }
1410
1411 pub unsafe fn append_wchar_t_usize(
1413 &mut self,
1414 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1415 n: usize,
1416 ) -> ::cpp_core::MutRef<crate::WString> {
1417 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_append2(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), n);
1418 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1419 }
1420
1421 pub unsafe fn append_wchar_t(
1423 &mut self,
1424 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1425 ) -> ::cpp_core::MutRef<crate::WString> {
1426 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_append3(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr());
1427 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1428 }
1429
1430 pub unsafe fn append_usize_wchar_t(
1432 &mut self,
1433 n: usize,
1434 c: ::cpp_core::wchar_t,
1435 ) -> ::cpp_core::MutRef<crate::WString> {
1436 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_append4(self as *mut crate::WString, n, c);
1437 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1438 }
1439
1440 pub unsafe fn append_w_string_usize(
1442 &mut self,
1443 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1444 pos: usize,
1445 ) -> ::cpp_core::MutRef<crate::WString> {
1446 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_append5(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos);
1447 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1448 }
1449
1450 pub unsafe fn assign_w_string(
1452 &mut self,
1453 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1454 ) -> ::cpp_core::MutRef<crate::WString> {
1455 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_assign(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr());
1456 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1457 }
1458
1459 pub unsafe fn assign_w_string2_usize(
1461 &mut self,
1462 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1463 pos: usize,
1464 n: usize,
1465 ) -> ::cpp_core::MutRef<crate::WString> {
1466 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_assign2(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos, n);
1467 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1468 }
1469
1470 pub unsafe fn assign_wchar_t_usize(
1472 &mut self,
1473 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1474 n: usize,
1475 ) -> ::cpp_core::MutRef<crate::WString> {
1476 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_assign3(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), n);
1477 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1478 }
1479
1480 pub unsafe fn assign_wchar_t(
1482 &mut self,
1483 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1484 ) -> ::cpp_core::MutRef<crate::WString> {
1485 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_assign4(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr());
1486 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1487 }
1488
1489 pub unsafe fn assign_usize_wchar_t(
1491 &mut self,
1492 n: usize,
1493 c: ::cpp_core::wchar_t,
1494 ) -> ::cpp_core::MutRef<crate::WString> {
1495 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_assign5(self as *mut crate::WString, n, c);
1496 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1497 }
1498
1499 pub unsafe fn assign_w_string_usize(
1501 &mut self,
1502 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1503 pos: usize,
1504 ) -> ::cpp_core::MutRef<crate::WString> {
1505 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_assign6(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos);
1506 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1507 }
1508
1509 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
1511 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_at(self as *const crate::WString, n);
1512 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
1513 }
1514
1515 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
1517 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_at1(self as *mut crate::WString, n);
1518 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1519 }
1520
1521 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
1523 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_back(self as *mut crate::WString);
1524 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1525 }
1526
1527 pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
1529 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_back1(self as *const crate::WString);
1530 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
1531 }
1532
1533 pub unsafe fn c_str(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
1535 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_c_str(self as *const crate::WString);
1536 ::cpp_core::Ptr::from_raw(ffi_result)
1537 }
1538
1539 pub unsafe fn capacity(&self) -> usize {
1541 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_capacity(self as *const crate::WString)
1542 }
1543
1544 pub unsafe fn clear(&mut self) {
1546 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_clear(self as *mut crate::WString)
1547 }
1548
1549 pub unsafe fn compare_w_string(
1551 &self,
1552 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1553 ) -> ::std::os::raw::c_int {
1554 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_compare(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr())
1555 }
1556
1557 pub unsafe fn compare_2_usize_w_string(
1559 &self,
1560 pos: usize,
1561 n: usize,
1562 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1563 ) -> ::std::os::raw::c_int {
1564 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_compare1(self as *const crate::WString, pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr())
1565 }
1566
1567 pub unsafe fn compare_2_usize_w_string2_usize(
1569 &self,
1570 pos1: usize,
1571 n1: usize,
1572 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1573 pos2: usize,
1574 n2: usize,
1575 ) -> ::std::os::raw::c_int {
1576 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_compare2(self as *const crate::WString, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos2, n2)
1577 }
1578
1579 pub unsafe fn compare_wchar_t(
1581 &self,
1582 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1583 ) -> ::std::os::raw::c_int {
1584 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_compare3(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr())
1585 }
1586
1587 pub unsafe fn compare_2_usize_wchar_t(
1589 &self,
1590 pos: usize,
1591 n1: usize,
1592 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1593 ) -> ::std::os::raw::c_int {
1594 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_compare4(self as *const crate::WString, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr())
1595 }
1596
1597 pub unsafe fn compare_2_usize_wchar_t_usize(
1599 &self,
1600 pos: usize,
1601 n1: usize,
1602 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1603 n2: usize,
1604 ) -> ::std::os::raw::c_int {
1605 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_compare5(self as *const crate::WString, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), n2)
1606 }
1607
1608 pub unsafe fn compare_2_usize_w_string_usize(
1610 &self,
1611 pos1: usize,
1612 n1: usize,
1613 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1614 pos2: usize,
1615 ) -> ::std::os::raw::c_int {
1616 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_compare6(self as *const crate::WString, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos2)
1617 }
1618
1619 pub unsafe fn copy_3a(
1621 &self,
1622 s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
1623 n: usize,
1624 pos: usize,
1625 ) -> usize {
1626 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_copy(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(s).as_mut_raw_ptr(), n, pos)
1627 }
1628
1629 pub unsafe fn copy_2a(
1631 &self,
1632 s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
1633 n: usize,
1634 ) -> usize {
1635 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_copy1(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(s).as_mut_raw_ptr(), n)
1636 }
1637
1638 pub unsafe fn copy_from_w_string(
1640 &mut self,
1641 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1642 ) -> ::cpp_core::MutRef<crate::WString> {
1643 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_operator_(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr());
1644 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1645 }
1646
1647 pub unsafe fn copy_from_wchar_t(
1649 &mut self,
1650 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1651 ) -> ::cpp_core::MutRef<crate::WString> {
1652 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_operator_1(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr());
1653 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1654 }
1655
1656 pub unsafe fn copy_from_wchar_t2(
1658 &mut self,
1659 c: ::cpp_core::wchar_t,
1660 ) -> ::cpp_core::MutRef<crate::WString> {
1661 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_operator_2(self as *mut crate::WString, c);
1662 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1663 }
1664
1665 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
1667 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_data(self as *const crate::WString);
1668 ::cpp_core::Ptr::from_raw(ffi_result)
1669 }
1670
1671 pub unsafe fn empty(&self) -> bool {
1673 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_empty(self as *const crate::WString)
1674 }
1675
1676 pub unsafe fn erase_2a(&mut self, pos: usize, n: usize) -> ::cpp_core::MutRef<crate::WString> {
1678 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_erase(self as *mut crate::WString, pos, n);
1679 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1680 }
1681
1682 pub unsafe fn erase_1a(&mut self, pos: usize) -> ::cpp_core::MutRef<crate::WString> {
1684 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_erase1(self as *mut crate::WString, pos);
1685 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1686 }
1687
1688 pub unsafe fn erase_0a(&mut self) -> ::cpp_core::MutRef<crate::WString> {
1690 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_erase2(self as *mut crate::WString);
1691 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1692 }
1693
1694 pub unsafe fn find_wchar_t2_usize(
1696 &self,
1697 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1698 pos: usize,
1699 n: usize,
1700 ) -> usize {
1701 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos, n)
1702 }
1703
1704 pub unsafe fn find_w_string_usize(
1706 &self,
1707 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1708 pos: usize,
1709 ) -> usize {
1710 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find1(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos)
1711 }
1712
1713 pub unsafe fn find_wchar_t_usize(
1715 &self,
1716 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1717 pos: usize,
1718 ) -> usize {
1719 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find2(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos)
1720 }
1721
1722 pub unsafe fn find_wchar_t_usize2(&self, c: ::cpp_core::wchar_t, pos: usize) -> usize {
1724 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find3(self as *const crate::WString, c, pos)
1725 }
1726
1727 pub unsafe fn find_w_string(
1729 &self,
1730 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1731 ) -> usize {
1732 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find4(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr())
1733 }
1734
1735 pub unsafe fn find_wchar_t(
1737 &self,
1738 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1739 ) -> usize {
1740 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find5(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr())
1741 }
1742
1743 pub unsafe fn find_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
1745 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find6(self as *const crate::WString, c)
1746 }
1747
1748 pub unsafe fn find_first_not_of_w_string_usize(
1750 &self,
1751 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1752 pos: usize,
1753 ) -> usize {
1754 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_not_of(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos)
1755 }
1756
1757 pub unsafe fn find_first_not_of_wchar_t2_usize(
1759 &self,
1760 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1761 pos: usize,
1762 n: usize,
1763 ) -> usize {
1764 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_not_of1(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos, n)
1765 }
1766
1767 pub unsafe fn find_first_not_of_wchar_t_usize(
1769 &self,
1770 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1771 pos: usize,
1772 ) -> usize {
1773 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_not_of2(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos)
1774 }
1775
1776 pub unsafe fn find_first_not_of_wchar_t_usize2(
1778 &self,
1779 c: ::cpp_core::wchar_t,
1780 pos: usize,
1781 ) -> usize {
1782 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_not_of3(self as *const crate::WString, c, pos)
1783 }
1784
1785 pub unsafe fn find_first_not_of_w_string(
1787 &self,
1788 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1789 ) -> usize {
1790 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_not_of4(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr())
1791 }
1792
1793 pub unsafe fn find_first_not_of_wchar_t(
1795 &self,
1796 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1797 ) -> usize {
1798 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_not_of5(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr())
1799 }
1800
1801 pub unsafe fn find_first_not_of_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
1803 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_not_of6(self as *const crate::WString, c)
1804 }
1805
1806 pub unsafe fn find_first_of_w_string_usize(
1808 &self,
1809 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1810 pos: usize,
1811 ) -> usize {
1812 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_of(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos)
1813 }
1814
1815 pub unsafe fn find_first_of_wchar_t2_usize(
1817 &self,
1818 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1819 pos: usize,
1820 n: usize,
1821 ) -> usize {
1822 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_of1(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos, n)
1823 }
1824
1825 pub unsafe fn find_first_of_wchar_t_usize(
1827 &self,
1828 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1829 pos: usize,
1830 ) -> usize {
1831 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_of2(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos)
1832 }
1833
1834 pub unsafe fn find_first_of_wchar_t_usize2(&self, c: ::cpp_core::wchar_t, pos: usize) -> usize {
1836 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_of3(self as *const crate::WString, c, pos)
1837 }
1838
1839 pub unsafe fn find_first_of_w_string(
1841 &self,
1842 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1843 ) -> usize {
1844 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_of4(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr())
1845 }
1846
1847 pub unsafe fn find_first_of_wchar_t(
1849 &self,
1850 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1851 ) -> usize {
1852 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_of5(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr())
1853 }
1854
1855 pub unsafe fn find_first_of_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
1857 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_first_of6(self as *const crate::WString, c)
1858 }
1859
1860 pub unsafe fn find_last_not_of_w_string_usize(
1862 &self,
1863 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1864 pos: usize,
1865 ) -> usize {
1866 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_not_of(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos)
1867 }
1868
1869 pub unsafe fn find_last_not_of_wchar_t2_usize(
1871 &self,
1872 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1873 pos: usize,
1874 n: usize,
1875 ) -> usize {
1876 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_not_of1(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos, n)
1877 }
1878
1879 pub unsafe fn find_last_not_of_wchar_t_usize(
1881 &self,
1882 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1883 pos: usize,
1884 ) -> usize {
1885 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_not_of2(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos)
1886 }
1887
1888 pub unsafe fn find_last_not_of_wchar_t_usize2(
1890 &self,
1891 c: ::cpp_core::wchar_t,
1892 pos: usize,
1893 ) -> usize {
1894 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_not_of3(self as *const crate::WString, c, pos)
1895 }
1896
1897 pub unsafe fn find_last_not_of_w_string(
1899 &self,
1900 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1901 ) -> usize {
1902 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_not_of4(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr())
1903 }
1904
1905 pub unsafe fn find_last_not_of_wchar_t(
1907 &self,
1908 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1909 ) -> usize {
1910 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_not_of5(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr())
1911 }
1912
1913 pub unsafe fn find_last_not_of_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
1915 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_not_of6(self as *const crate::WString, c)
1916 }
1917
1918 pub unsafe fn find_last_of_w_string_usize(
1920 &self,
1921 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1922 pos: usize,
1923 ) -> usize {
1924 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_of(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos)
1925 }
1926
1927 pub unsafe fn find_last_of_wchar_t2_usize(
1929 &self,
1930 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1931 pos: usize,
1932 n: usize,
1933 ) -> usize {
1934 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_of1(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos, n)
1935 }
1936
1937 pub unsafe fn find_last_of_wchar_t_usize(
1939 &self,
1940 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1941 pos: usize,
1942 ) -> usize {
1943 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_of2(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos)
1944 }
1945
1946 pub unsafe fn find_last_of_wchar_t_usize2(&self, c: ::cpp_core::wchar_t, pos: usize) -> usize {
1948 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_of3(self as *const crate::WString, c, pos)
1949 }
1950
1951 pub unsafe fn find_last_of_w_string(
1953 &self,
1954 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
1955 ) -> usize {
1956 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_of4(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr())
1957 }
1958
1959 pub unsafe fn find_last_of_wchar_t(
1961 &self,
1962 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
1963 ) -> usize {
1964 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_of5(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr())
1965 }
1966
1967 pub unsafe fn find_last_of_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
1969 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_find_last_of6(self as *const crate::WString, c)
1970 }
1971
1972 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
1974 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_front(self as *mut crate::WString);
1975 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1976 }
1977
1978 pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
1980 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_front1(self as *const crate::WString);
1981 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
1982 }
1983
1984 pub unsafe fn index(&self, pos: usize) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
1986 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_operator__(self as *const crate::WString, pos);
1987 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
1988 }
1989
1990 pub unsafe fn index_mut(&mut self, pos: usize) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
1992 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_operator__1(self as *mut crate::WString, pos);
1993 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
1994 }
1995
1996 pub unsafe fn insert_usize_w_string(
1998 &mut self,
1999 pos1: usize,
2000 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2001 ) -> ::cpp_core::MutRef<crate::WString> {
2002 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_insert(self as *mut crate::WString, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr());
2003 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2004 }
2005
2006 pub unsafe fn insert_usize_w_string2_usize(
2008 &mut self,
2009 pos1: usize,
2010 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2011 pos2: usize,
2012 n: usize,
2013 ) -> ::cpp_core::MutRef<crate::WString> {
2014 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_insert1(self as *mut crate::WString, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos2, n);
2015 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2016 }
2017
2018 pub unsafe fn insert_usize_wchar_t_usize(
2020 &mut self,
2021 pos: usize,
2022 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2023 n: usize,
2024 ) -> ::cpp_core::MutRef<crate::WString> {
2025 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_insert2(self as *mut crate::WString, pos, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), n);
2026 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2027 }
2028
2029 pub unsafe fn insert_usize_wchar_t(
2031 &mut self,
2032 pos: usize,
2033 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2034 ) -> ::cpp_core::MutRef<crate::WString> {
2035 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_insert3(self as *mut crate::WString, pos, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr());
2036 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2037 }
2038
2039 pub unsafe fn insert_2_usize_wchar_t(
2041 &mut self,
2042 pos: usize,
2043 n: usize,
2044 c: ::cpp_core::wchar_t,
2045 ) -> ::cpp_core::MutRef<crate::WString> {
2046 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_insert4(self as *mut crate::WString, pos, n, c);
2047 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2048 }
2049
2050 pub unsafe fn insert_usize_w_string_usize(
2052 &mut self,
2053 pos1: usize,
2054 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2055 pos2: usize,
2056 ) -> ::cpp_core::MutRef<crate::WString> {
2057 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_insert5(self as *mut crate::WString, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos2);
2058 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2059 }
2060
2061 pub unsafe fn length(&self) -> usize {
2063 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_length(self as *const crate::WString)
2064 }
2065
2066 pub unsafe fn max_size(&self) -> usize {
2068 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_max_size(self as *const crate::WString)
2069 }
2070
2071 pub unsafe fn new() -> ::cpp_core::CppBox<crate::WString> {
2073 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string();
2074 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2075 }
2076
2077 pub unsafe fn from_allocator_of_wchar_t(
2079 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2080 ) -> ::cpp_core::CppBox<crate::WString> {
2081 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string1(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a).as_raw_ptr());
2082 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2083 }
2084
2085 pub unsafe fn from_w_string_usize_allocator_of_wchar_t(
2087 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2088 pos: usize,
2089 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2090 ) -> ::cpp_core::CppBox<crate::WString> {
2091 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string3(::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a).as_raw_ptr());
2092 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2093 }
2094
2095 pub unsafe fn from_w_string2_usize(
2097 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2098 pos: usize,
2099 n: usize,
2100 ) -> ::cpp_core::CppBox<crate::WString> {
2101 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string4(::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos, n);
2102 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2103 }
2104
2105 pub unsafe fn from_w_string2_usize_allocator_of_wchar_t(
2107 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2108 pos: usize,
2109 n: usize,
2110 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2111 ) -> ::cpp_core::CppBox<crate::WString> {
2112 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string5(::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a).as_raw_ptr());
2113 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2114 }
2115
2116 pub unsafe fn from_wchar_t_usize_allocator_of_wchar_t(
2118 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2119 n: usize,
2120 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2121 ) -> ::cpp_core::CppBox<crate::WString> {
2122 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string6(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a).as_raw_ptr());
2123 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2124 }
2125
2126 pub unsafe fn from_wchar_t_allocator_of_wchar_t(
2128 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2129 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2130 ) -> ::cpp_core::CppBox<crate::WString> {
2131 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string7(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a).as_raw_ptr());
2132 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2133 }
2134
2135 pub unsafe fn from_usize_wchar_t_allocator_of_wchar_t(
2137 n: usize,
2138 c: ::cpp_core::wchar_t,
2139 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2140 ) -> ::cpp_core::CppBox<crate::WString> {
2141 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string8(n, c, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a).as_raw_ptr());
2142 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2143 }
2144
2145 pub unsafe fn from_w_string_allocator_of_wchar_t(
2147 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2148 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2149 ) -> ::cpp_core::CppBox<crate::WString> {
2150 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string10(::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a).as_raw_ptr());
2151 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2152 }
2153
2154 pub unsafe fn from_w_string_usize(
2156 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2157 pos: usize,
2158 ) -> ::cpp_core::CppBox<crate::WString> {
2159 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string12(::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos);
2160 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2161 }
2162
2163 pub unsafe fn from_wchar_t_usize(
2165 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2166 n: usize,
2167 ) -> ::cpp_core::CppBox<crate::WString> {
2168 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string13(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), n);
2169 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2170 }
2171
2172 pub unsafe fn from_wchar_t(
2174 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2175 ) -> ::cpp_core::CppBox<crate::WString> {
2176 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string14(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr());
2177 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2178 }
2179
2180 pub unsafe fn from_usize_wchar_t(
2182 n: usize,
2183 c: ::cpp_core::wchar_t,
2184 ) -> ::cpp_core::CppBox<crate::WString> {
2185 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string15(n, c);
2186 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2187 }
2188
2189 pub unsafe fn new_copy(
2191 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2192 ) -> ::cpp_core::CppBox<crate::WString> {
2193 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_basic_string2(::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr());
2194 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2195 }
2196
2197 pub unsafe fn pop_back(&mut self) {
2199 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_pop_back(self as *mut crate::WString)
2200 }
2201
2202 pub unsafe fn push_back(&mut self, c: ::cpp_core::wchar_t) {
2204 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_push_back(self as *mut crate::WString, c)
2205 }
2206
2207 pub unsafe fn replace_2_usize_w_string(
2209 &mut self,
2210 pos: usize,
2211 n: usize,
2212 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2213 ) -> ::cpp_core::MutRef<crate::WString> {
2214 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_replace(self as *mut crate::WString, pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr());
2215 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2216 }
2217
2218 pub unsafe fn replace_2_usize_w_string2_usize(
2220 &mut self,
2221 pos1: usize,
2222 n1: usize,
2223 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2224 pos2: usize,
2225 n2: usize,
2226 ) -> ::cpp_core::MutRef<crate::WString> {
2227 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_replace1(self as *mut crate::WString, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos2, n2);
2228 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2229 }
2230
2231 pub unsafe fn replace_2_usize_wchar_t_usize(
2233 &mut self,
2234 pos: usize,
2235 n1: usize,
2236 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2237 n2: usize,
2238 ) -> ::cpp_core::MutRef<crate::WString> {
2239 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_replace2(self as *mut crate::WString, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), n2);
2240 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2241 }
2242
2243 pub unsafe fn replace_2_usize_wchar_t(
2245 &mut self,
2246 pos: usize,
2247 n1: usize,
2248 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2249 ) -> ::cpp_core::MutRef<crate::WString> {
2250 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_replace3(self as *mut crate::WString, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr());
2251 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2252 }
2253
2254 pub unsafe fn replace_3_usize_wchar_t(
2256 &mut self,
2257 pos: usize,
2258 n1: usize,
2259 n2: usize,
2260 c: ::cpp_core::wchar_t,
2261 ) -> ::cpp_core::MutRef<crate::WString> {
2262 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_replace4(self as *mut crate::WString, pos, n1, n2, c);
2263 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2264 }
2265
2266 pub unsafe fn replace_2_usize_w_string_usize(
2268 &mut self,
2269 pos1: usize,
2270 n1: usize,
2271 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2272 pos2: usize,
2273 ) -> ::cpp_core::MutRef<crate::WString> {
2274 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_replace5(self as *mut crate::WString, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos2);
2275 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2276 }
2277
2278 pub unsafe fn reserve_1a(&mut self, res_arg: usize) {
2280 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_reserve(self as *mut crate::WString, res_arg)
2281 }
2282
2283 pub unsafe fn reserve_0a(&mut self) {
2285 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_reserve1(self as *mut crate::WString)
2286 }
2287
2288 pub unsafe fn resize_2a(&mut self, n: usize, c: ::cpp_core::wchar_t) {
2290 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_resize(self as *mut crate::WString, n, c)
2291 }
2292
2293 pub unsafe fn resize_1a(&mut self, n: usize) {
2295 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_resize1(self as *mut crate::WString, n)
2296 }
2297
2298 pub unsafe fn rfind_w_string_usize(
2300 &self,
2301 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2302 pos: usize,
2303 ) -> usize {
2304 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_rfind(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(), pos)
2305 }
2306
2307 pub unsafe fn rfind_wchar_t2_usize(
2309 &self,
2310 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2311 pos: usize,
2312 n: usize,
2313 ) -> usize {
2314 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_rfind1(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos, n)
2315 }
2316
2317 pub unsafe fn rfind_wchar_t_usize(
2319 &self,
2320 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2321 pos: usize,
2322 ) -> usize {
2323 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_rfind2(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr(), pos)
2324 }
2325
2326 pub unsafe fn rfind_wchar_t_usize2(&self, c: ::cpp_core::wchar_t, pos: usize) -> usize {
2328 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_rfind3(self as *const crate::WString, c, pos)
2329 }
2330
2331 pub unsafe fn rfind_w_string(
2333 &self,
2334 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
2335 ) -> usize {
2336 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_rfind4(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr())
2337 }
2338
2339 pub unsafe fn rfind_wchar_t(
2341 &self,
2342 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
2343 ) -> usize {
2344 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_rfind5(self as *const crate::WString, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s).as_raw_ptr())
2345 }
2346
2347 pub unsafe fn rfind_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
2349 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_rfind6(self as *const crate::WString, c)
2350 }
2351
2352 pub unsafe fn shrink_to_fit(&mut self) {
2354 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_shrink_to_fit(self as *mut crate::WString)
2355 }
2356
2357 pub unsafe fn size(&self) -> usize {
2359 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_size(self as *const crate::WString)
2360 }
2361
2362 pub unsafe fn substr_2a(&self, pos: usize, n: usize) -> ::cpp_core::CppBox<crate::WString> {
2364 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_substr(self as *const crate::WString, pos, n);
2365 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2366 }
2367
2368 pub unsafe fn substr_1a(&self, pos: usize) -> ::cpp_core::CppBox<crate::WString> {
2370 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_substr1(self as *const crate::WString, pos);
2371 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2372 }
2373
2374 pub unsafe fn substr_0a(&self) -> ::cpp_core::CppBox<crate::WString> {
2376 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_substr2(self as *const crate::WString);
2377 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2378 }
2379
2380 pub unsafe fn swap(
2382 &mut self,
2383 s: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::WString>>,
2384 ) {
2385 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_swap(self as *mut crate::WString, ::cpp_core::CastInto::<::cpp_core::MutRef<crate::WString>>::cast_into(s).as_mut_raw_ptr())
2386 }
2387}
2388
2389#[repr(C)]
2391pub struct AllocatorOfWcharT {
2392 _unused: u8,
2393}
2394impl AllocatorOfWcharT {
2395 pub unsafe fn copy_from(
2397 &mut self,
2398 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2399 ) -> ::cpp_core::MutRef<crate::AllocatorOfWcharT> {
2400 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_wchar_t_operator_(
2401 self as *mut crate::AllocatorOfWcharT,
2402 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(other)
2403 .as_raw_ptr(),
2404 );
2405 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2406 }
2407
2408 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfWcharT> {
2410 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_wchar_t_allocator();
2411 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2412 }
2413
2414 pub unsafe fn new_copy(
2416 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
2417 ) -> ::cpp_core::CppBox<crate::AllocatorOfWcharT> {
2418 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_wchar_t_allocator1(
2419 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
2420 .as_raw_ptr(),
2421 );
2422 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
2423 }
2424}
2425
2426#[repr(C)]
2428pub struct U16String {
2429 _unused: u8,
2430}
2431impl U16String {
2432 pub unsafe fn append_u16_string(
2434 &mut self,
2435 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2436 ) -> ::cpp_core::MutRef<crate::U16String> {
2437 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_append(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr());
2438 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2439 }
2440
2441 pub unsafe fn append_u16_string2_usize(
2443 &mut self,
2444 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2445 pos: usize,
2446 n: usize,
2447 ) -> ::cpp_core::MutRef<crate::U16String> {
2448 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_append1(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos, n);
2449 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2450 }
2451
2452 pub unsafe fn append_char16_t_usize(
2454 &mut self,
2455 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2456 n: usize,
2457 ) -> ::cpp_core::MutRef<crate::U16String> {
2458 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_append2(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), n);
2459 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2460 }
2461
2462 pub unsafe fn append_char16_t(
2464 &mut self,
2465 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2466 ) -> ::cpp_core::MutRef<crate::U16String> {
2467 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_append3(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr());
2468 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2469 }
2470
2471 pub unsafe fn append_usize_char16_t(
2473 &mut self,
2474 n: usize,
2475 c: ::cpp_core::char16_t,
2476 ) -> ::cpp_core::MutRef<crate::U16String> {
2477 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_append4(self as *mut crate::U16String, n, c);
2478 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2479 }
2480
2481 pub unsafe fn append_u16_string_usize(
2483 &mut self,
2484 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2485 pos: usize,
2486 ) -> ::cpp_core::MutRef<crate::U16String> {
2487 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_append5(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos);
2488 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2489 }
2490
2491 pub unsafe fn assign_u16_string(
2493 &mut self,
2494 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2495 ) -> ::cpp_core::MutRef<crate::U16String> {
2496 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_assign(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr());
2497 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2498 }
2499
2500 pub unsafe fn assign_u16_string2_usize(
2502 &mut self,
2503 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2504 pos: usize,
2505 n: usize,
2506 ) -> ::cpp_core::MutRef<crate::U16String> {
2507 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_assign2(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos, n);
2508 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2509 }
2510
2511 pub unsafe fn assign_char16_t_usize(
2513 &mut self,
2514 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2515 n: usize,
2516 ) -> ::cpp_core::MutRef<crate::U16String> {
2517 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_assign3(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), n);
2518 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2519 }
2520
2521 pub unsafe fn assign_char16_t(
2523 &mut self,
2524 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2525 ) -> ::cpp_core::MutRef<crate::U16String> {
2526 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_assign4(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr());
2527 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2528 }
2529
2530 pub unsafe fn assign_usize_char16_t(
2532 &mut self,
2533 n: usize,
2534 c: ::cpp_core::char16_t,
2535 ) -> ::cpp_core::MutRef<crate::U16String> {
2536 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_assign5(self as *mut crate::U16String, n, c);
2537 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2538 }
2539
2540 pub unsafe fn assign_u16_string_usize(
2542 &mut self,
2543 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2544 pos: usize,
2545 ) -> ::cpp_core::MutRef<crate::U16String> {
2546 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_assign6(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos);
2547 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2548 }
2549
2550 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char16_t> {
2552 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_at(self as *const crate::U16String, n);
2553 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
2554 }
2555
2556 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
2558 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_at1(self as *mut crate::U16String, n);
2559 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2560 }
2561
2562 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
2564 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_back(self as *mut crate::U16String);
2565 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2566 }
2567
2568 pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::char16_t> {
2570 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_back1(self as *const crate::U16String);
2571 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
2572 }
2573
2574 pub unsafe fn c_str(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
2576 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_c_str(self as *const crate::U16String);
2577 ::cpp_core::Ptr::from_raw(ffi_result)
2578 }
2579
2580 pub unsafe fn capacity(&self) -> usize {
2582 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_capacity(self as *const crate::U16String)
2583 }
2584
2585 pub unsafe fn clear(&mut self) {
2587 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_clear(self as *mut crate::U16String)
2588 }
2589
2590 pub unsafe fn compare_u16_string(
2592 &self,
2593 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2594 ) -> ::std::os::raw::c_int {
2595 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_compare(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr())
2596 }
2597
2598 pub unsafe fn compare_2_usize_u16_string(
2600 &self,
2601 pos: usize,
2602 n: usize,
2603 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2604 ) -> ::std::os::raw::c_int {
2605 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_compare1(self as *const crate::U16String, pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr())
2606 }
2607
2608 pub unsafe fn compare_2_usize_u16_string2_usize(
2610 &self,
2611 pos1: usize,
2612 n1: usize,
2613 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2614 pos2: usize,
2615 n2: usize,
2616 ) -> ::std::os::raw::c_int {
2617 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_compare2(self as *const crate::U16String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos2, n2)
2618 }
2619
2620 pub unsafe fn compare_char16_t(
2622 &self,
2623 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2624 ) -> ::std::os::raw::c_int {
2625 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_compare3(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr())
2626 }
2627
2628 pub unsafe fn compare_2_usize_char16_t(
2630 &self,
2631 pos: usize,
2632 n1: usize,
2633 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2634 ) -> ::std::os::raw::c_int {
2635 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_compare4(self as *const crate::U16String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr())
2636 }
2637
2638 pub unsafe fn compare_2_usize_char16_t_usize(
2640 &self,
2641 pos: usize,
2642 n1: usize,
2643 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2644 n2: usize,
2645 ) -> ::std::os::raw::c_int {
2646 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_compare5(self as *const crate::U16String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), n2)
2647 }
2648
2649 pub unsafe fn compare_2_usize_u16_string_usize(
2651 &self,
2652 pos1: usize,
2653 n1: usize,
2654 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2655 pos2: usize,
2656 ) -> ::std::os::raw::c_int {
2657 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_compare6(self as *const crate::U16String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos2)
2658 }
2659
2660 pub unsafe fn copy_3a(
2662 &self,
2663 s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::char16_t>>,
2664 n: usize,
2665 pos: usize,
2666 ) -> usize {
2667 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_copy(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::char16_t>>::cast_into(s).as_mut_raw_ptr(), n, pos)
2668 }
2669
2670 pub unsafe fn copy_2a(
2672 &self,
2673 s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::char16_t>>,
2674 n: usize,
2675 ) -> usize {
2676 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_copy1(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::char16_t>>::cast_into(s).as_mut_raw_ptr(), n)
2677 }
2678
2679 pub unsafe fn copy_from_u16_string(
2681 &mut self,
2682 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2683 ) -> ::cpp_core::MutRef<crate::U16String> {
2684 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_operator_(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr());
2685 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2686 }
2687
2688 pub unsafe fn copy_from_char16_t(
2690 &mut self,
2691 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2692 ) -> ::cpp_core::MutRef<crate::U16String> {
2693 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_operator_1(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr());
2694 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2695 }
2696
2697 pub unsafe fn copy_from_char16_t2(
2699 &mut self,
2700 c: ::cpp_core::char16_t,
2701 ) -> ::cpp_core::MutRef<crate::U16String> {
2702 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_operator_2(self as *mut crate::U16String, c);
2703 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2704 }
2705
2706 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
2708 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_data(self as *const crate::U16String);
2709 ::cpp_core::Ptr::from_raw(ffi_result)
2710 }
2711
2712 pub unsafe fn empty(&self) -> bool {
2714 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_empty(self as *const crate::U16String)
2715 }
2716
2717 pub unsafe fn erase_2a(
2719 &mut self,
2720 pos: usize,
2721 n: usize,
2722 ) -> ::cpp_core::MutRef<crate::U16String> {
2723 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_erase(self as *mut crate::U16String, pos, n);
2724 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2725 }
2726
2727 pub unsafe fn erase_1a(&mut self, pos: usize) -> ::cpp_core::MutRef<crate::U16String> {
2729 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_erase1(self as *mut crate::U16String, pos);
2730 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2731 }
2732
2733 pub unsafe fn erase_0a(&mut self) -> ::cpp_core::MutRef<crate::U16String> {
2735 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_erase2(self as *mut crate::U16String);
2736 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
2737 }
2738
2739 pub unsafe fn find_char16_t2_usize(
2741 &self,
2742 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2743 pos: usize,
2744 n: usize,
2745 ) -> usize {
2746 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos, n)
2747 }
2748
2749 pub unsafe fn find_u16_string_usize(
2751 &self,
2752 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2753 pos: usize,
2754 ) -> usize {
2755 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find1(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos)
2756 }
2757
2758 pub unsafe fn find_char16_t_usize(
2760 &self,
2761 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2762 pos: usize,
2763 ) -> usize {
2764 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find2(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos)
2765 }
2766
2767 pub unsafe fn find_char16_t_usize2(&self, c: ::cpp_core::char16_t, pos: usize) -> usize {
2769 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find3(self as *const crate::U16String, c, pos)
2770 }
2771
2772 pub unsafe fn find_u16_string(
2774 &self,
2775 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2776 ) -> usize {
2777 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find4(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr())
2778 }
2779
2780 pub unsafe fn find_char16_t(
2782 &self,
2783 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2784 ) -> usize {
2785 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find5(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr())
2786 }
2787
2788 pub unsafe fn find_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
2790 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find6(self as *const crate::U16String, c)
2791 }
2792
2793 pub unsafe fn find_first_not_of_u16_string_usize(
2795 &self,
2796 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2797 pos: usize,
2798 ) -> usize {
2799 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_not_of(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos)
2800 }
2801
2802 pub unsafe fn find_first_not_of_char16_t2_usize(
2804 &self,
2805 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2806 pos: usize,
2807 n: usize,
2808 ) -> usize {
2809 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_not_of1(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos, n)
2810 }
2811
2812 pub unsafe fn find_first_not_of_char16_t_usize(
2814 &self,
2815 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2816 pos: usize,
2817 ) -> usize {
2818 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_not_of2(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos)
2819 }
2820
2821 pub unsafe fn find_first_not_of_char16_t_usize2(
2823 &self,
2824 c: ::cpp_core::char16_t,
2825 pos: usize,
2826 ) -> usize {
2827 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_not_of3(self as *const crate::U16String, c, pos)
2828 }
2829
2830 pub unsafe fn find_first_not_of_u16_string(
2832 &self,
2833 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2834 ) -> usize {
2835 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_not_of4(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr())
2836 }
2837
2838 pub unsafe fn find_first_not_of_char16_t(
2840 &self,
2841 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2842 ) -> usize {
2843 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_not_of5(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr())
2844 }
2845
2846 pub unsafe fn find_first_not_of_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
2848 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_not_of6(self as *const crate::U16String, c)
2849 }
2850
2851 pub unsafe fn find_first_of_u16_string_usize(
2853 &self,
2854 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2855 pos: usize,
2856 ) -> usize {
2857 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_of(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos)
2858 }
2859
2860 pub unsafe fn find_first_of_char16_t2_usize(
2862 &self,
2863 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2864 pos: usize,
2865 n: usize,
2866 ) -> usize {
2867 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_of1(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos, n)
2868 }
2869
2870 pub unsafe fn find_first_of_char16_t_usize(
2872 &self,
2873 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2874 pos: usize,
2875 ) -> usize {
2876 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_of2(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos)
2877 }
2878
2879 pub unsafe fn find_first_of_char16_t_usize2(
2881 &self,
2882 c: ::cpp_core::char16_t,
2883 pos: usize,
2884 ) -> usize {
2885 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_of3(self as *const crate::U16String, c, pos)
2886 }
2887
2888 pub unsafe fn find_first_of_u16_string(
2890 &self,
2891 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2892 ) -> usize {
2893 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_of4(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr())
2894 }
2895
2896 pub unsafe fn find_first_of_char16_t(
2898 &self,
2899 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2900 ) -> usize {
2901 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_of5(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr())
2902 }
2903
2904 pub unsafe fn find_first_of_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
2906 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_first_of6(self as *const crate::U16String, c)
2907 }
2908
2909 pub unsafe fn find_last_not_of_u16_string_usize(
2911 &self,
2912 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2913 pos: usize,
2914 ) -> usize {
2915 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_not_of(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos)
2916 }
2917
2918 pub unsafe fn find_last_not_of_char16_t2_usize(
2920 &self,
2921 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2922 pos: usize,
2923 n: usize,
2924 ) -> usize {
2925 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_not_of1(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos, n)
2926 }
2927
2928 pub unsafe fn find_last_not_of_char16_t_usize(
2930 &self,
2931 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2932 pos: usize,
2933 ) -> usize {
2934 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_not_of2(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos)
2935 }
2936
2937 pub unsafe fn find_last_not_of_char16_t_usize2(
2939 &self,
2940 c: ::cpp_core::char16_t,
2941 pos: usize,
2942 ) -> usize {
2943 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_not_of3(self as *const crate::U16String, c, pos)
2944 }
2945
2946 pub unsafe fn find_last_not_of_u16_string(
2948 &self,
2949 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2950 ) -> usize {
2951 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_not_of4(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr())
2952 }
2953
2954 pub unsafe fn find_last_not_of_char16_t(
2956 &self,
2957 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2958 ) -> usize {
2959 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_not_of5(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr())
2960 }
2961
2962 pub unsafe fn find_last_not_of_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
2964 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_not_of6(self as *const crate::U16String, c)
2965 }
2966
2967 pub unsafe fn find_last_of_u16_string_usize(
2969 &self,
2970 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
2971 pos: usize,
2972 ) -> usize {
2973 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_of(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos)
2974 }
2975
2976 pub unsafe fn find_last_of_char16_t2_usize(
2978 &self,
2979 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2980 pos: usize,
2981 n: usize,
2982 ) -> usize {
2983 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_of1(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos, n)
2984 }
2985
2986 pub unsafe fn find_last_of_char16_t_usize(
2988 &self,
2989 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
2990 pos: usize,
2991 ) -> usize {
2992 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_of2(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos)
2993 }
2994
2995 pub unsafe fn find_last_of_char16_t_usize2(
2997 &self,
2998 c: ::cpp_core::char16_t,
2999 pos: usize,
3000 ) -> usize {
3001 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_of3(self as *const crate::U16String, c, pos)
3002 }
3003
3004 pub unsafe fn find_last_of_u16_string(
3006 &self,
3007 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3008 ) -> usize {
3009 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_of4(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr())
3010 }
3011
3012 pub unsafe fn find_last_of_char16_t(
3014 &self,
3015 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3016 ) -> usize {
3017 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_of5(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr())
3018 }
3019
3020 pub unsafe fn find_last_of_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
3022 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_find_last_of6(self as *const crate::U16String, c)
3023 }
3024
3025 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
3027 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_front(self as *mut crate::U16String);
3028 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3029 }
3030
3031 pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::char16_t> {
3033 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_front1(self as *const crate::U16String);
3034 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
3035 }
3036
3037 pub unsafe fn index(&self, pos: usize) -> ::cpp_core::Ref<::cpp_core::char16_t> {
3039 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_operator__(self as *const crate::U16String, pos);
3040 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
3041 }
3042
3043 pub unsafe fn index_mut(&mut self, pos: usize) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
3045 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_operator__1(self as *mut crate::U16String, pos);
3046 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3047 }
3048
3049 pub unsafe fn insert_usize_u16_string(
3051 &mut self,
3052 pos1: usize,
3053 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3054 ) -> ::cpp_core::MutRef<crate::U16String> {
3055 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_insert(self as *mut crate::U16String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr());
3056 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3057 }
3058
3059 pub unsafe fn insert_usize_u16_string2_usize(
3061 &mut self,
3062 pos1: usize,
3063 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3064 pos2: usize,
3065 n: usize,
3066 ) -> ::cpp_core::MutRef<crate::U16String> {
3067 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_insert1(self as *mut crate::U16String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos2, n);
3068 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3069 }
3070
3071 pub unsafe fn insert_usize_char16_t_usize(
3073 &mut self,
3074 pos: usize,
3075 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3076 n: usize,
3077 ) -> ::cpp_core::MutRef<crate::U16String> {
3078 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_insert2(self as *mut crate::U16String, pos, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), n);
3079 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3080 }
3081
3082 pub unsafe fn insert_usize_char16_t(
3084 &mut self,
3085 pos: usize,
3086 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3087 ) -> ::cpp_core::MutRef<crate::U16String> {
3088 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_insert3(self as *mut crate::U16String, pos, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr());
3089 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3090 }
3091
3092 pub unsafe fn insert_2_usize_char16_t(
3094 &mut self,
3095 pos: usize,
3096 n: usize,
3097 c: ::cpp_core::char16_t,
3098 ) -> ::cpp_core::MutRef<crate::U16String> {
3099 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_insert4(self as *mut crate::U16String, pos, n, c);
3100 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3101 }
3102
3103 pub unsafe fn insert_usize_u16_string_usize(
3105 &mut self,
3106 pos1: usize,
3107 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3108 pos2: usize,
3109 ) -> ::cpp_core::MutRef<crate::U16String> {
3110 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_insert5(self as *mut crate::U16String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos2);
3111 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3112 }
3113
3114 pub unsafe fn length(&self) -> usize {
3116 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_length(self as *const crate::U16String)
3117 }
3118
3119 pub unsafe fn max_size(&self) -> usize {
3121 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_max_size(self as *const crate::U16String)
3122 }
3123
3124 pub unsafe fn new() -> ::cpp_core::CppBox<crate::U16String> {
3126 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string();
3127 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3128 }
3129
3130 pub unsafe fn from_allocator_of_char16_t(
3132 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3133 ) -> ::cpp_core::CppBox<crate::U16String> {
3134 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string1(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a).as_raw_ptr());
3135 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3136 }
3137
3138 pub unsafe fn from_u16_string_usize_allocator_of_char16_t(
3140 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3141 pos: usize,
3142 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3143 ) -> ::cpp_core::CppBox<crate::U16String> {
3144 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string3(::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a).as_raw_ptr());
3145 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3146 }
3147
3148 pub unsafe fn from_u16_string2_usize(
3150 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3151 pos: usize,
3152 n: usize,
3153 ) -> ::cpp_core::CppBox<crate::U16String> {
3154 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string4(::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos, n);
3155 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3156 }
3157
3158 pub unsafe fn from_u16_string2_usize_allocator_of_char16_t(
3160 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3161 pos: usize,
3162 n: usize,
3163 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3164 ) -> ::cpp_core::CppBox<crate::U16String> {
3165 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string5(::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a).as_raw_ptr());
3166 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3167 }
3168
3169 pub unsafe fn from_char16_t_usize_allocator_of_char16_t(
3171 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3172 n: usize,
3173 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3174 ) -> ::cpp_core::CppBox<crate::U16String> {
3175 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string6(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a).as_raw_ptr());
3176 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3177 }
3178
3179 pub unsafe fn from_char16_t_allocator_of_char16_t(
3181 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3182 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3183 ) -> ::cpp_core::CppBox<crate::U16String> {
3184 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string7(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a).as_raw_ptr());
3185 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3186 }
3187
3188 pub unsafe fn from_usize_char16_t_allocator_of_char16_t(
3190 n: usize,
3191 c: ::cpp_core::char16_t,
3192 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3193 ) -> ::cpp_core::CppBox<crate::U16String> {
3194 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string8(n, c, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a).as_raw_ptr());
3195 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3196 }
3197
3198 pub unsafe fn from_u16_string_allocator_of_char16_t(
3200 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3201 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3202 ) -> ::cpp_core::CppBox<crate::U16String> {
3203 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string10(::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a).as_raw_ptr());
3204 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3205 }
3206
3207 pub unsafe fn from_u16_string_usize(
3209 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3210 pos: usize,
3211 ) -> ::cpp_core::CppBox<crate::U16String> {
3212 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string12(::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos);
3213 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3214 }
3215
3216 pub unsafe fn from_char16_t_usize(
3218 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3219 n: usize,
3220 ) -> ::cpp_core::CppBox<crate::U16String> {
3221 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string13(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), n);
3222 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3223 }
3224
3225 pub unsafe fn from_char16_t(
3227 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3228 ) -> ::cpp_core::CppBox<crate::U16String> {
3229 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string14(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr());
3230 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3231 }
3232
3233 pub unsafe fn from_usize_char16_t(
3235 n: usize,
3236 c: ::cpp_core::char16_t,
3237 ) -> ::cpp_core::CppBox<crate::U16String> {
3238 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string15(n, c);
3239 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3240 }
3241
3242 pub unsafe fn new_copy(
3244 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3245 ) -> ::cpp_core::CppBox<crate::U16String> {
3246 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_basic_string2(::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr());
3247 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3248 }
3249
3250 pub unsafe fn pop_back(&mut self) {
3252 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_pop_back(self as *mut crate::U16String)
3253 }
3254
3255 pub unsafe fn push_back(&mut self, c: ::cpp_core::char16_t) {
3257 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_push_back(self as *mut crate::U16String, c)
3258 }
3259
3260 pub unsafe fn replace_2_usize_u16_string(
3262 &mut self,
3263 pos: usize,
3264 n: usize,
3265 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3266 ) -> ::cpp_core::MutRef<crate::U16String> {
3267 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_replace(self as *mut crate::U16String, pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr());
3268 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3269 }
3270
3271 pub unsafe fn replace_2_usize_u16_string2_usize(
3273 &mut self,
3274 pos1: usize,
3275 n1: usize,
3276 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3277 pos2: usize,
3278 n2: usize,
3279 ) -> ::cpp_core::MutRef<crate::U16String> {
3280 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_replace1(self as *mut crate::U16String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos2, n2);
3281 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3282 }
3283
3284 pub unsafe fn replace_2_usize_char16_t_usize(
3286 &mut self,
3287 pos: usize,
3288 n1: usize,
3289 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3290 n2: usize,
3291 ) -> ::cpp_core::MutRef<crate::U16String> {
3292 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_replace2(self as *mut crate::U16String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), n2);
3293 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3294 }
3295
3296 pub unsafe fn replace_2_usize_char16_t(
3298 &mut self,
3299 pos: usize,
3300 n1: usize,
3301 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3302 ) -> ::cpp_core::MutRef<crate::U16String> {
3303 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_replace3(self as *mut crate::U16String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr());
3304 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3305 }
3306
3307 pub unsafe fn replace_3_usize_char16_t(
3309 &mut self,
3310 pos: usize,
3311 n1: usize,
3312 n2: usize,
3313 c: ::cpp_core::char16_t,
3314 ) -> ::cpp_core::MutRef<crate::U16String> {
3315 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_replace4(self as *mut crate::U16String, pos, n1, n2, c);
3316 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3317 }
3318
3319 pub unsafe fn replace_2_usize_u16_string_usize(
3321 &mut self,
3322 pos1: usize,
3323 n1: usize,
3324 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3325 pos2: usize,
3326 ) -> ::cpp_core::MutRef<crate::U16String> {
3327 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_replace5(self as *mut crate::U16String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos2);
3328 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3329 }
3330
3331 pub unsafe fn reserve_1a(&mut self, res_arg: usize) {
3333 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_reserve(self as *mut crate::U16String, res_arg)
3334 }
3335
3336 pub unsafe fn reserve_0a(&mut self) {
3338 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_reserve1(self as *mut crate::U16String)
3339 }
3340
3341 pub unsafe fn resize_2a(&mut self, n: usize, c: ::cpp_core::char16_t) {
3343 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_resize(self as *mut crate::U16String, n, c)
3344 }
3345
3346 pub unsafe fn resize_1a(&mut self, n: usize) {
3348 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_resize1(self as *mut crate::U16String, n)
3349 }
3350
3351 pub unsafe fn rfind_u16_string_usize(
3353 &self,
3354 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3355 pos: usize,
3356 ) -> usize {
3357 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_rfind(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr(), pos)
3358 }
3359
3360 pub unsafe fn rfind_char16_t2_usize(
3362 &self,
3363 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3364 pos: usize,
3365 n: usize,
3366 ) -> usize {
3367 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_rfind1(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos, n)
3368 }
3369
3370 pub unsafe fn rfind_char16_t_usize(
3372 &self,
3373 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3374 pos: usize,
3375 ) -> usize {
3376 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_rfind2(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr(), pos)
3377 }
3378
3379 pub unsafe fn rfind_char16_t_usize2(&self, c: ::cpp_core::char16_t, pos: usize) -> usize {
3381 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_rfind3(self as *const crate::U16String, c, pos)
3382 }
3383
3384 pub unsafe fn rfind_u16_string(
3386 &self,
3387 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
3388 ) -> usize {
3389 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_rfind4(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(str).as_raw_ptr())
3390 }
3391
3392 pub unsafe fn rfind_char16_t(
3394 &self,
3395 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
3396 ) -> usize {
3397 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_rfind5(self as *const crate::U16String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(s).as_raw_ptr())
3398 }
3399
3400 pub unsafe fn rfind_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
3402 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_rfind6(self as *const crate::U16String, c)
3403 }
3404
3405 pub unsafe fn shrink_to_fit(&mut self) {
3407 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_shrink_to_fit(self as *mut crate::U16String)
3408 }
3409
3410 pub unsafe fn size(&self) -> usize {
3412 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_size(self as *const crate::U16String)
3413 }
3414
3415 pub unsafe fn substr_2a(&self, pos: usize, n: usize) -> ::cpp_core::CppBox<crate::U16String> {
3417 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_substr(self as *const crate::U16String, pos, n);
3418 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3419 }
3420
3421 pub unsafe fn substr_1a(&self, pos: usize) -> ::cpp_core::CppBox<crate::U16String> {
3423 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_substr1(self as *const crate::U16String, pos);
3424 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3425 }
3426
3427 pub unsafe fn substr_0a(&self) -> ::cpp_core::CppBox<crate::U16String> {
3429 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_substr2(self as *const crate::U16String);
3430 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3431 }
3432
3433 pub unsafe fn swap(
3435 &mut self,
3436 s: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U16String>>,
3437 ) {
3438 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_swap(self as *mut crate::U16String, ::cpp_core::CastInto::<::cpp_core::MutRef<crate::U16String>>::cast_into(s).as_mut_raw_ptr())
3439 }
3440}
3441
3442#[repr(C)]
3444pub struct CharTraitsOfChar16T {
3445 _unused: u8,
3446}
3447impl CharTraitsOfChar16T {
3448 pub unsafe fn copy_from(
3450 &mut self,
3451 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar16T>>,
3452 ) -> ::cpp_core::MutRef<crate::CharTraitsOfChar16T> {
3453 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char16_t_operator_(
3454 self as *mut crate::CharTraitsOfChar16T,
3455 ::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar16T>>::cast_into(other)
3456 .as_raw_ptr(),
3457 );
3458 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3459 }
3460
3461 pub unsafe fn new() -> ::cpp_core::CppBox<crate::CharTraitsOfChar16T> {
3463 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char16_t_char_traits();
3464 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3465 }
3466
3467 pub unsafe fn new_copy(
3469 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar16T>>,
3470 ) -> ::cpp_core::CppBox<crate::CharTraitsOfChar16T> {
3471 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char16_t_char_traits1(
3472 ::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar16T>>::cast_into(other)
3473 .as_raw_ptr(),
3474 );
3475 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3476 }
3477}
3478
3479#[repr(C)]
3481pub struct AllocatorOfChar16T {
3482 _unused: u8,
3483}
3484impl AllocatorOfChar16T {
3485 pub unsafe fn copy_from(
3487 &mut self,
3488 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3489 ) -> ::cpp_core::MutRef<crate::AllocatorOfChar16T> {
3490 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char16_t_operator_(
3491 self as *mut crate::AllocatorOfChar16T,
3492 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(other)
3493 .as_raw_ptr(),
3494 );
3495 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3496 }
3497
3498 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfChar16T> {
3500 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char16_t_allocator();
3501 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3502 }
3503
3504 pub unsafe fn new_copy(
3506 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
3507 ) -> ::cpp_core::CppBox<crate::AllocatorOfChar16T> {
3508 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char16_t_allocator1(
3509 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
3510 .as_raw_ptr(),
3511 );
3512 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
3513 }
3514}
3515
3516#[repr(C)]
3518pub struct U32String {
3519 _unused: u8,
3520}
3521impl U32String {
3522 pub unsafe fn append_u32_string(
3524 &mut self,
3525 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3526 ) -> ::cpp_core::MutRef<crate::U32String> {
3527 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_append(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr());
3528 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3529 }
3530
3531 pub unsafe fn append_u32_string2_usize(
3533 &mut self,
3534 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3535 pos: usize,
3536 n: usize,
3537 ) -> ::cpp_core::MutRef<crate::U32String> {
3538 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_append1(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos, n);
3539 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3540 }
3541
3542 pub unsafe fn append_char32_t_usize(
3544 &mut self,
3545 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3546 n: usize,
3547 ) -> ::cpp_core::MutRef<crate::U32String> {
3548 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_append2(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), n);
3549 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3550 }
3551
3552 pub unsafe fn append_char32_t(
3554 &mut self,
3555 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3556 ) -> ::cpp_core::MutRef<crate::U32String> {
3557 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_append3(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr());
3558 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3559 }
3560
3561 pub unsafe fn append_usize_char32_t(
3563 &mut self,
3564 n: usize,
3565 c: ::cpp_core::char32_t,
3566 ) -> ::cpp_core::MutRef<crate::U32String> {
3567 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_append4(self as *mut crate::U32String, n, c);
3568 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3569 }
3570
3571 pub unsafe fn append_u32_string_usize(
3573 &mut self,
3574 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3575 pos: usize,
3576 ) -> ::cpp_core::MutRef<crate::U32String> {
3577 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_append5(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos);
3578 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3579 }
3580
3581 pub unsafe fn assign_u32_string(
3583 &mut self,
3584 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3585 ) -> ::cpp_core::MutRef<crate::U32String> {
3586 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_assign(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr());
3587 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3588 }
3589
3590 pub unsafe fn assign_u32_string2_usize(
3592 &mut self,
3593 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3594 pos: usize,
3595 n: usize,
3596 ) -> ::cpp_core::MutRef<crate::U32String> {
3597 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_assign2(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos, n);
3598 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3599 }
3600
3601 pub unsafe fn assign_char32_t_usize(
3603 &mut self,
3604 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3605 n: usize,
3606 ) -> ::cpp_core::MutRef<crate::U32String> {
3607 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_assign3(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), n);
3608 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3609 }
3610
3611 pub unsafe fn assign_char32_t(
3613 &mut self,
3614 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3615 ) -> ::cpp_core::MutRef<crate::U32String> {
3616 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_assign4(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr());
3617 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3618 }
3619
3620 pub unsafe fn assign_usize_char32_t(
3622 &mut self,
3623 n: usize,
3624 c: ::cpp_core::char32_t,
3625 ) -> ::cpp_core::MutRef<crate::U32String> {
3626 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_assign5(self as *mut crate::U32String, n, c);
3627 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3628 }
3629
3630 pub unsafe fn assign_u32_string_usize(
3632 &mut self,
3633 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3634 pos: usize,
3635 ) -> ::cpp_core::MutRef<crate::U32String> {
3636 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_assign6(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos);
3637 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3638 }
3639
3640 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char32_t> {
3642 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_at(self as *const crate::U32String, n);
3643 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
3644 }
3645
3646 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
3648 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_at1(self as *mut crate::U32String, n);
3649 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3650 }
3651
3652 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
3654 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_back(self as *mut crate::U32String);
3655 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3656 }
3657
3658 pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::char32_t> {
3660 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_back1(self as *const crate::U32String);
3661 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
3662 }
3663
3664 pub unsafe fn c_str(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
3666 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_c_str(self as *const crate::U32String);
3667 ::cpp_core::Ptr::from_raw(ffi_result)
3668 }
3669
3670 pub unsafe fn capacity(&self) -> usize {
3672 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_capacity(self as *const crate::U32String)
3673 }
3674
3675 pub unsafe fn clear(&mut self) {
3677 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_clear(self as *mut crate::U32String)
3678 }
3679
3680 pub unsafe fn compare_u32_string(
3682 &self,
3683 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3684 ) -> ::std::os::raw::c_int {
3685 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_compare(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr())
3686 }
3687
3688 pub unsafe fn compare_2_usize_u32_string(
3690 &self,
3691 pos: usize,
3692 n: usize,
3693 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3694 ) -> ::std::os::raw::c_int {
3695 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_compare1(self as *const crate::U32String, pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr())
3696 }
3697
3698 pub unsafe fn compare_2_usize_u32_string2_usize(
3700 &self,
3701 pos1: usize,
3702 n1: usize,
3703 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3704 pos2: usize,
3705 n2: usize,
3706 ) -> ::std::os::raw::c_int {
3707 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_compare2(self as *const crate::U32String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos2, n2)
3708 }
3709
3710 pub unsafe fn compare_char32_t(
3712 &self,
3713 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3714 ) -> ::std::os::raw::c_int {
3715 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_compare3(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr())
3716 }
3717
3718 pub unsafe fn compare_2_usize_char32_t(
3720 &self,
3721 pos: usize,
3722 n1: usize,
3723 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3724 ) -> ::std::os::raw::c_int {
3725 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_compare4(self as *const crate::U32String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr())
3726 }
3727
3728 pub unsafe fn compare_2_usize_char32_t_usize(
3730 &self,
3731 pos: usize,
3732 n1: usize,
3733 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3734 n2: usize,
3735 ) -> ::std::os::raw::c_int {
3736 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_compare5(self as *const crate::U32String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), n2)
3737 }
3738
3739 pub unsafe fn compare_2_usize_u32_string_usize(
3741 &self,
3742 pos1: usize,
3743 n1: usize,
3744 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3745 pos2: usize,
3746 ) -> ::std::os::raw::c_int {
3747 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_compare6(self as *const crate::U32String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos2)
3748 }
3749
3750 pub unsafe fn copy_3a(
3752 &self,
3753 s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::char32_t>>,
3754 n: usize,
3755 pos: usize,
3756 ) -> usize {
3757 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_copy(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::char32_t>>::cast_into(s).as_mut_raw_ptr(), n, pos)
3758 }
3759
3760 pub unsafe fn copy_2a(
3762 &self,
3763 s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::char32_t>>,
3764 n: usize,
3765 ) -> usize {
3766 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_copy1(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::char32_t>>::cast_into(s).as_mut_raw_ptr(), n)
3767 }
3768
3769 pub unsafe fn copy_from_u32_string(
3771 &mut self,
3772 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3773 ) -> ::cpp_core::MutRef<crate::U32String> {
3774 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_operator_(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr());
3775 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3776 }
3777
3778 pub unsafe fn copy_from_char32_t(
3780 &mut self,
3781 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3782 ) -> ::cpp_core::MutRef<crate::U32String> {
3783 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_operator_1(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr());
3784 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3785 }
3786
3787 pub unsafe fn copy_from_char32_t2(
3789 &mut self,
3790 c: ::cpp_core::char32_t,
3791 ) -> ::cpp_core::MutRef<crate::U32String> {
3792 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_operator_2(self as *mut crate::U32String, c);
3793 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3794 }
3795
3796 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
3798 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_data(self as *const crate::U32String);
3799 ::cpp_core::Ptr::from_raw(ffi_result)
3800 }
3801
3802 pub unsafe fn empty(&self) -> bool {
3804 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_empty(self as *const crate::U32String)
3805 }
3806
3807 pub unsafe fn erase_2a(
3809 &mut self,
3810 pos: usize,
3811 n: usize,
3812 ) -> ::cpp_core::MutRef<crate::U32String> {
3813 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_erase(self as *mut crate::U32String, pos, n);
3814 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3815 }
3816
3817 pub unsafe fn erase_1a(&mut self, pos: usize) -> ::cpp_core::MutRef<crate::U32String> {
3819 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_erase1(self as *mut crate::U32String, pos);
3820 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3821 }
3822
3823 pub unsafe fn erase_0a(&mut self) -> ::cpp_core::MutRef<crate::U32String> {
3825 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_erase2(self as *mut crate::U32String);
3826 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
3827 }
3828
3829 pub unsafe fn find_char32_t2_usize(
3831 &self,
3832 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3833 pos: usize,
3834 n: usize,
3835 ) -> usize {
3836 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos, n)
3837 }
3838
3839 pub unsafe fn find_u32_string_usize(
3841 &self,
3842 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3843 pos: usize,
3844 ) -> usize {
3845 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find1(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos)
3846 }
3847
3848 pub unsafe fn find_char32_t_usize(
3850 &self,
3851 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3852 pos: usize,
3853 ) -> usize {
3854 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find2(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos)
3855 }
3856
3857 pub unsafe fn find_char32_t_usize2(&self, c: ::cpp_core::char32_t, pos: usize) -> usize {
3859 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find3(self as *const crate::U32String, c, pos)
3860 }
3861
3862 pub unsafe fn find_u32_string(
3864 &self,
3865 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3866 ) -> usize {
3867 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find4(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr())
3868 }
3869
3870 pub unsafe fn find_char32_t(
3872 &self,
3873 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3874 ) -> usize {
3875 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find5(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr())
3876 }
3877
3878 pub unsafe fn find_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
3880 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find6(self as *const crate::U32String, c)
3881 }
3882
3883 pub unsafe fn find_first_not_of_u32_string_usize(
3885 &self,
3886 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3887 pos: usize,
3888 ) -> usize {
3889 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_not_of(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos)
3890 }
3891
3892 pub unsafe fn find_first_not_of_char32_t2_usize(
3894 &self,
3895 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3896 pos: usize,
3897 n: usize,
3898 ) -> usize {
3899 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_not_of1(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos, n)
3900 }
3901
3902 pub unsafe fn find_first_not_of_char32_t_usize(
3904 &self,
3905 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3906 pos: usize,
3907 ) -> usize {
3908 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_not_of2(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos)
3909 }
3910
3911 pub unsafe fn find_first_not_of_char32_t_usize2(
3913 &self,
3914 c: ::cpp_core::char32_t,
3915 pos: usize,
3916 ) -> usize {
3917 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_not_of3(self as *const crate::U32String, c, pos)
3918 }
3919
3920 pub unsafe fn find_first_not_of_u32_string(
3922 &self,
3923 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3924 ) -> usize {
3925 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_not_of4(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr())
3926 }
3927
3928 pub unsafe fn find_first_not_of_char32_t(
3930 &self,
3931 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3932 ) -> usize {
3933 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_not_of5(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr())
3934 }
3935
3936 pub unsafe fn find_first_not_of_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
3938 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_not_of6(self as *const crate::U32String, c)
3939 }
3940
3941 pub unsafe fn find_first_of_u32_string_usize(
3943 &self,
3944 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3945 pos: usize,
3946 ) -> usize {
3947 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_of(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos)
3948 }
3949
3950 pub unsafe fn find_first_of_char32_t2_usize(
3952 &self,
3953 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3954 pos: usize,
3955 n: usize,
3956 ) -> usize {
3957 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_of1(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos, n)
3958 }
3959
3960 pub unsafe fn find_first_of_char32_t_usize(
3962 &self,
3963 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3964 pos: usize,
3965 ) -> usize {
3966 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_of2(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos)
3967 }
3968
3969 pub unsafe fn find_first_of_char32_t_usize2(
3971 &self,
3972 c: ::cpp_core::char32_t,
3973 pos: usize,
3974 ) -> usize {
3975 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_of3(self as *const crate::U32String, c, pos)
3976 }
3977
3978 pub unsafe fn find_first_of_u32_string(
3980 &self,
3981 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
3982 ) -> usize {
3983 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_of4(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr())
3984 }
3985
3986 pub unsafe fn find_first_of_char32_t(
3988 &self,
3989 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
3990 ) -> usize {
3991 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_of5(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr())
3992 }
3993
3994 pub unsafe fn find_first_of_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
3996 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_first_of6(self as *const crate::U32String, c)
3997 }
3998
3999 pub unsafe fn find_last_not_of_u32_string_usize(
4001 &self,
4002 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4003 pos: usize,
4004 ) -> usize {
4005 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_not_of(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos)
4006 }
4007
4008 pub unsafe fn find_last_not_of_char32_t2_usize(
4010 &self,
4011 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4012 pos: usize,
4013 n: usize,
4014 ) -> usize {
4015 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_not_of1(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos, n)
4016 }
4017
4018 pub unsafe fn find_last_not_of_char32_t_usize(
4020 &self,
4021 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4022 pos: usize,
4023 ) -> usize {
4024 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_not_of2(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos)
4025 }
4026
4027 pub unsafe fn find_last_not_of_char32_t_usize2(
4029 &self,
4030 c: ::cpp_core::char32_t,
4031 pos: usize,
4032 ) -> usize {
4033 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_not_of3(self as *const crate::U32String, c, pos)
4034 }
4035
4036 pub unsafe fn find_last_not_of_u32_string(
4038 &self,
4039 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4040 ) -> usize {
4041 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_not_of4(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr())
4042 }
4043
4044 pub unsafe fn find_last_not_of_char32_t(
4046 &self,
4047 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4048 ) -> usize {
4049 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_not_of5(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr())
4050 }
4051
4052 pub unsafe fn find_last_not_of_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
4054 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_not_of6(self as *const crate::U32String, c)
4055 }
4056
4057 pub unsafe fn find_last_of_u32_string_usize(
4059 &self,
4060 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4061 pos: usize,
4062 ) -> usize {
4063 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_of(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos)
4064 }
4065
4066 pub unsafe fn find_last_of_char32_t2_usize(
4068 &self,
4069 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4070 pos: usize,
4071 n: usize,
4072 ) -> usize {
4073 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_of1(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos, n)
4074 }
4075
4076 pub unsafe fn find_last_of_char32_t_usize(
4078 &self,
4079 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4080 pos: usize,
4081 ) -> usize {
4082 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_of2(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos)
4083 }
4084
4085 pub unsafe fn find_last_of_char32_t_usize2(
4087 &self,
4088 c: ::cpp_core::char32_t,
4089 pos: usize,
4090 ) -> usize {
4091 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_of3(self as *const crate::U32String, c, pos)
4092 }
4093
4094 pub unsafe fn find_last_of_u32_string(
4096 &self,
4097 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4098 ) -> usize {
4099 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_of4(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr())
4100 }
4101
4102 pub unsafe fn find_last_of_char32_t(
4104 &self,
4105 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4106 ) -> usize {
4107 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_of5(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr())
4108 }
4109
4110 pub unsafe fn find_last_of_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
4112 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_find_last_of6(self as *const crate::U32String, c)
4113 }
4114
4115 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
4117 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_front(self as *mut crate::U32String);
4118 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4119 }
4120
4121 pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::char32_t> {
4123 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_front1(self as *const crate::U32String);
4124 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
4125 }
4126
4127 pub unsafe fn index(&self, pos: usize) -> ::cpp_core::Ref<::cpp_core::char32_t> {
4129 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_operator__(self as *const crate::U32String, pos);
4130 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
4131 }
4132
4133 pub unsafe fn index_mut(&mut self, pos: usize) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
4135 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_operator__1(self as *mut crate::U32String, pos);
4136 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4137 }
4138
4139 pub unsafe fn insert_usize_u32_string(
4141 &mut self,
4142 pos1: usize,
4143 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4144 ) -> ::cpp_core::MutRef<crate::U32String> {
4145 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_insert(self as *mut crate::U32String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr());
4146 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4147 }
4148
4149 pub unsafe fn insert_usize_u32_string2_usize(
4151 &mut self,
4152 pos1: usize,
4153 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4154 pos2: usize,
4155 n: usize,
4156 ) -> ::cpp_core::MutRef<crate::U32String> {
4157 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_insert1(self as *mut crate::U32String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos2, n);
4158 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4159 }
4160
4161 pub unsafe fn insert_usize_char32_t_usize(
4163 &mut self,
4164 pos: usize,
4165 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4166 n: usize,
4167 ) -> ::cpp_core::MutRef<crate::U32String> {
4168 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_insert2(self as *mut crate::U32String, pos, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), n);
4169 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4170 }
4171
4172 pub unsafe fn insert_usize_char32_t(
4174 &mut self,
4175 pos: usize,
4176 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4177 ) -> ::cpp_core::MutRef<crate::U32String> {
4178 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_insert3(self as *mut crate::U32String, pos, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr());
4179 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4180 }
4181
4182 pub unsafe fn insert_2_usize_char32_t(
4184 &mut self,
4185 pos: usize,
4186 n: usize,
4187 c: ::cpp_core::char32_t,
4188 ) -> ::cpp_core::MutRef<crate::U32String> {
4189 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_insert4(self as *mut crate::U32String, pos, n, c);
4190 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4191 }
4192
4193 pub unsafe fn insert_usize_u32_string_usize(
4195 &mut self,
4196 pos1: usize,
4197 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4198 pos2: usize,
4199 ) -> ::cpp_core::MutRef<crate::U32String> {
4200 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_insert5(self as *mut crate::U32String, pos1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos2);
4201 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4202 }
4203
4204 pub unsafe fn length(&self) -> usize {
4206 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_length(self as *const crate::U32String)
4207 }
4208
4209 pub unsafe fn max_size(&self) -> usize {
4211 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_max_size(self as *const crate::U32String)
4212 }
4213
4214 pub unsafe fn new() -> ::cpp_core::CppBox<crate::U32String> {
4216 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string();
4217 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4218 }
4219
4220 pub unsafe fn from_allocator_of_char32_t(
4222 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4223 ) -> ::cpp_core::CppBox<crate::U32String> {
4224 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string1(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a).as_raw_ptr());
4225 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4226 }
4227
4228 pub unsafe fn from_u32_string_usize_allocator_of_char32_t(
4230 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4231 pos: usize,
4232 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4233 ) -> ::cpp_core::CppBox<crate::U32String> {
4234 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string3(::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a).as_raw_ptr());
4235 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4236 }
4237
4238 pub unsafe fn from_u32_string2_usize(
4240 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4241 pos: usize,
4242 n: usize,
4243 ) -> ::cpp_core::CppBox<crate::U32String> {
4244 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string4(::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos, n);
4245 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4246 }
4247
4248 pub unsafe fn from_u32_string2_usize_allocator_of_char32_t(
4250 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4251 pos: usize,
4252 n: usize,
4253 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4254 ) -> ::cpp_core::CppBox<crate::U32String> {
4255 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string5(::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a).as_raw_ptr());
4256 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4257 }
4258
4259 pub unsafe fn from_char32_t_usize_allocator_of_char32_t(
4261 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4262 n: usize,
4263 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4264 ) -> ::cpp_core::CppBox<crate::U32String> {
4265 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string6(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a).as_raw_ptr());
4266 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4267 }
4268
4269 pub unsafe fn from_char32_t_allocator_of_char32_t(
4271 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4272 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4273 ) -> ::cpp_core::CppBox<crate::U32String> {
4274 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string7(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a).as_raw_ptr());
4275 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4276 }
4277
4278 pub unsafe fn from_usize_char32_t_allocator_of_char32_t(
4280 n: usize,
4281 c: ::cpp_core::char32_t,
4282 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4283 ) -> ::cpp_core::CppBox<crate::U32String> {
4284 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string8(n, c, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a).as_raw_ptr());
4285 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4286 }
4287
4288 pub unsafe fn from_u32_string_allocator_of_char32_t(
4290 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4291 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4292 ) -> ::cpp_core::CppBox<crate::U32String> {
4293 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string10(::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a).as_raw_ptr());
4294 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4295 }
4296
4297 pub unsafe fn from_u32_string_usize(
4299 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4300 pos: usize,
4301 ) -> ::cpp_core::CppBox<crate::U32String> {
4302 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string12(::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos);
4303 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4304 }
4305
4306 pub unsafe fn from_char32_t_usize(
4308 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4309 n: usize,
4310 ) -> ::cpp_core::CppBox<crate::U32String> {
4311 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string13(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), n);
4312 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4313 }
4314
4315 pub unsafe fn from_char32_t(
4317 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4318 ) -> ::cpp_core::CppBox<crate::U32String> {
4319 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string14(::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr());
4320 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4321 }
4322
4323 pub unsafe fn from_usize_char32_t(
4325 n: usize,
4326 c: ::cpp_core::char32_t,
4327 ) -> ::cpp_core::CppBox<crate::U32String> {
4328 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string15(n, c);
4329 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4330 }
4331
4332 pub unsafe fn new_copy(
4334 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4335 ) -> ::cpp_core::CppBox<crate::U32String> {
4336 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_basic_string2(::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr());
4337 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4338 }
4339
4340 pub unsafe fn pop_back(&mut self) {
4342 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_pop_back(self as *mut crate::U32String)
4343 }
4344
4345 pub unsafe fn push_back(&mut self, c: ::cpp_core::char32_t) {
4347 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_push_back(self as *mut crate::U32String, c)
4348 }
4349
4350 pub unsafe fn replace_2_usize_u32_string(
4352 &mut self,
4353 pos: usize,
4354 n: usize,
4355 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4356 ) -> ::cpp_core::MutRef<crate::U32String> {
4357 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_replace(self as *mut crate::U32String, pos, n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr());
4358 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4359 }
4360
4361 pub unsafe fn replace_2_usize_u32_string2_usize(
4363 &mut self,
4364 pos1: usize,
4365 n1: usize,
4366 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4367 pos2: usize,
4368 n2: usize,
4369 ) -> ::cpp_core::MutRef<crate::U32String> {
4370 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_replace1(self as *mut crate::U32String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos2, n2);
4371 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4372 }
4373
4374 pub unsafe fn replace_2_usize_char32_t_usize(
4376 &mut self,
4377 pos: usize,
4378 n1: usize,
4379 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4380 n2: usize,
4381 ) -> ::cpp_core::MutRef<crate::U32String> {
4382 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_replace2(self as *mut crate::U32String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), n2);
4383 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4384 }
4385
4386 pub unsafe fn replace_2_usize_char32_t(
4388 &mut self,
4389 pos: usize,
4390 n1: usize,
4391 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4392 ) -> ::cpp_core::MutRef<crate::U32String> {
4393 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_replace3(self as *mut crate::U32String, pos, n1, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr());
4394 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4395 }
4396
4397 pub unsafe fn replace_3_usize_char32_t(
4399 &mut self,
4400 pos: usize,
4401 n1: usize,
4402 n2: usize,
4403 c: ::cpp_core::char32_t,
4404 ) -> ::cpp_core::MutRef<crate::U32String> {
4405 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_replace4(self as *mut crate::U32String, pos, n1, n2, c);
4406 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4407 }
4408
4409 pub unsafe fn replace_2_usize_u32_string_usize(
4411 &mut self,
4412 pos1: usize,
4413 n1: usize,
4414 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4415 pos2: usize,
4416 ) -> ::cpp_core::MutRef<crate::U32String> {
4417 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_replace5(self as *mut crate::U32String, pos1, n1, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos2);
4418 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4419 }
4420
4421 pub unsafe fn reserve_1a(&mut self, res_arg: usize) {
4423 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_reserve(self as *mut crate::U32String, res_arg)
4424 }
4425
4426 pub unsafe fn reserve_0a(&mut self) {
4428 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_reserve1(self as *mut crate::U32String)
4429 }
4430
4431 pub unsafe fn resize_2a(&mut self, n: usize, c: ::cpp_core::char32_t) {
4433 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_resize(self as *mut crate::U32String, n, c)
4434 }
4435
4436 pub unsafe fn resize_1a(&mut self, n: usize) {
4438 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_resize1(self as *mut crate::U32String, n)
4439 }
4440
4441 pub unsafe fn rfind_u32_string_usize(
4443 &self,
4444 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4445 pos: usize,
4446 ) -> usize {
4447 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_rfind(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr(), pos)
4448 }
4449
4450 pub unsafe fn rfind_char32_t2_usize(
4452 &self,
4453 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4454 pos: usize,
4455 n: usize,
4456 ) -> usize {
4457 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_rfind1(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos, n)
4458 }
4459
4460 pub unsafe fn rfind_char32_t_usize(
4462 &self,
4463 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4464 pos: usize,
4465 ) -> usize {
4466 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_rfind2(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr(), pos)
4467 }
4468
4469 pub unsafe fn rfind_char32_t_usize2(&self, c: ::cpp_core::char32_t, pos: usize) -> usize {
4471 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_rfind3(self as *const crate::U32String, c, pos)
4472 }
4473
4474 pub unsafe fn rfind_u32_string(
4476 &self,
4477 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
4478 ) -> usize {
4479 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_rfind4(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(str).as_raw_ptr())
4480 }
4481
4482 pub unsafe fn rfind_char32_t(
4484 &self,
4485 s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
4486 ) -> usize {
4487 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_rfind5(self as *const crate::U32String, ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(s).as_raw_ptr())
4488 }
4489
4490 pub unsafe fn rfind_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
4492 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_rfind6(self as *const crate::U32String, c)
4493 }
4494
4495 pub unsafe fn shrink_to_fit(&mut self) {
4497 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_shrink_to_fit(self as *mut crate::U32String)
4498 }
4499
4500 pub unsafe fn size(&self) -> usize {
4502 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_size(self as *const crate::U32String)
4503 }
4504
4505 pub unsafe fn substr_2a(&self, pos: usize, n: usize) -> ::cpp_core::CppBox<crate::U32String> {
4507 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_substr(self as *const crate::U32String, pos, n);
4508 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4509 }
4510
4511 pub unsafe fn substr_1a(&self, pos: usize) -> ::cpp_core::CppBox<crate::U32String> {
4513 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_substr1(self as *const crate::U32String, pos);
4514 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4515 }
4516
4517 pub unsafe fn substr_0a(&self) -> ::cpp_core::CppBox<crate::U32String> {
4519 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_substr2(self as *const crate::U32String);
4520 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4521 }
4522
4523 pub unsafe fn swap(
4525 &mut self,
4526 s: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U32String>>,
4527 ) {
4528 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_swap(self as *mut crate::U32String, ::cpp_core::CastInto::<::cpp_core::MutRef<crate::U32String>>::cast_into(s).as_mut_raw_ptr())
4529 }
4530}
4531
4532#[repr(C)]
4534pub struct CharTraitsOfChar32T {
4535 _unused: u8,
4536}
4537impl CharTraitsOfChar32T {
4538 pub unsafe fn copy_from(
4540 &mut self,
4541 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar32T>>,
4542 ) -> ::cpp_core::MutRef<crate::CharTraitsOfChar32T> {
4543 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char32_t_operator_(
4544 self as *mut crate::CharTraitsOfChar32T,
4545 ::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar32T>>::cast_into(other)
4546 .as_raw_ptr(),
4547 );
4548 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4549 }
4550
4551 pub unsafe fn new() -> ::cpp_core::CppBox<crate::CharTraitsOfChar32T> {
4553 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char32_t_char_traits();
4554 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4555 }
4556
4557 pub unsafe fn new_copy(
4559 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar32T>>,
4560 ) -> ::cpp_core::CppBox<crate::CharTraitsOfChar32T> {
4561 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char32_t_char_traits1(
4562 ::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar32T>>::cast_into(other)
4563 .as_raw_ptr(),
4564 );
4565 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4566 }
4567}
4568
4569#[repr(C)]
4571pub struct AllocatorOfChar32T {
4572 _unused: u8,
4573}
4574impl AllocatorOfChar32T {
4575 pub unsafe fn copy_from(
4577 &mut self,
4578 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4579 ) -> ::cpp_core::MutRef<crate::AllocatorOfChar32T> {
4580 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char32_t_operator_(
4581 self as *mut crate::AllocatorOfChar32T,
4582 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(other)
4583 .as_raw_ptr(),
4584 );
4585 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4586 }
4587
4588 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfChar32T> {
4590 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char32_t_allocator();
4591 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4592 }
4593
4594 pub unsafe fn new_copy(
4596 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
4597 ) -> ::cpp_core::CppBox<crate::AllocatorOfChar32T> {
4598 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char32_t_allocator1(
4599 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
4600 .as_raw_ptr(),
4601 );
4602 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4603 }
4604}
4605
4606#[repr(C)]
4608pub struct AllocatorOfBool {
4609 _unused: u8,
4610}
4611impl AllocatorOfBool {
4612 pub unsafe fn copy_from(
4614 &mut self,
4615 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
4616 ) -> ::cpp_core::MutRef<crate::AllocatorOfBool> {
4617 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_bool_operator_(
4618 self as *mut crate::AllocatorOfBool,
4619 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(other)
4620 .as_raw_ptr(),
4621 );
4622 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4623 }
4624
4625 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfBool> {
4627 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_bool_allocator();
4628 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4629 }
4630
4631 pub unsafe fn new_copy(
4633 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
4634 ) -> ::cpp_core::CppBox<crate::AllocatorOfBool> {
4635 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_bool_allocator1(
4636 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
4637 .as_raw_ptr(),
4638 );
4639 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4640 }
4641}
4642
4643#[repr(C)]
4645pub struct AllocatorOfSchar {
4646 _unused: u8,
4647}
4648impl AllocatorOfSchar {
4649 pub unsafe fn copy_from(
4651 &mut self,
4652 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
4653 ) -> ::cpp_core::MutRef<crate::AllocatorOfSchar> {
4654 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_signed_char_operator_(
4655 self as *mut crate::AllocatorOfSchar,
4656 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(other)
4657 .as_raw_ptr(),
4658 );
4659 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4660 }
4661
4662 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfSchar> {
4664 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_signed_char_allocator();
4665 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4666 }
4667
4668 pub unsafe fn new_copy(
4670 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
4671 ) -> ::cpp_core::CppBox<crate::AllocatorOfSchar> {
4672 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_signed_char_allocator1(
4673 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
4674 .as_raw_ptr(),
4675 );
4676 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4677 }
4678}
4679
4680#[repr(C)]
4682pub struct AllocatorOfUchar {
4683 _unused: u8,
4684}
4685impl AllocatorOfUchar {
4686 pub unsafe fn copy_from(
4688 &mut self,
4689 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
4690 ) -> ::cpp_core::MutRef<crate::AllocatorOfUchar> {
4691 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_char_operator_(
4692 self as *mut crate::AllocatorOfUchar,
4693 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(other)
4694 .as_raw_ptr(),
4695 );
4696 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4697 }
4698
4699 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUchar> {
4701 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_char_allocator();
4702 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4703 }
4704
4705 pub unsafe fn new_copy(
4707 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
4708 ) -> ::cpp_core::CppBox<crate::AllocatorOfUchar> {
4709 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_char_allocator1(
4710 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(a)
4711 .as_raw_ptr(),
4712 );
4713 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4714 }
4715}
4716
4717#[repr(C)]
4719pub struct AllocatorOfShort {
4720 _unused: u8,
4721}
4722impl AllocatorOfShort {
4723 pub unsafe fn copy_from(
4725 &mut self,
4726 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
4727 ) -> ::cpp_core::MutRef<crate::AllocatorOfShort> {
4728 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_short_operator_(
4729 self as *mut crate::AllocatorOfShort,
4730 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(other)
4731 .as_raw_ptr(),
4732 );
4733 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4734 }
4735
4736 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfShort> {
4738 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_short_allocator();
4739 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4740 }
4741
4742 pub unsafe fn new_copy(
4744 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
4745 ) -> ::cpp_core::CppBox<crate::AllocatorOfShort> {
4746 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_short_allocator1(
4747 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
4748 .as_raw_ptr(),
4749 );
4750 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4751 }
4752}
4753
4754#[repr(C)]
4756pub struct AllocatorOfUshort {
4757 _unused: u8,
4758}
4759impl AllocatorOfUshort {
4760 pub unsafe fn copy_from(
4762 &mut self,
4763 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
4764 ) -> ::cpp_core::MutRef<crate::AllocatorOfUshort> {
4765 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_short_operator_(
4766 self as *mut crate::AllocatorOfUshort,
4767 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(other)
4768 .as_raw_ptr(),
4769 );
4770 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4771 }
4772
4773 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUshort> {
4775 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_short_allocator();
4776 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4777 }
4778
4779 pub unsafe fn new_copy(
4781 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
4782 ) -> ::cpp_core::CppBox<crate::AllocatorOfUshort> {
4783 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_short_allocator1(
4784 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(a)
4785 .as_raw_ptr(),
4786 );
4787 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4788 }
4789}
4790
4791#[repr(C)]
4793pub struct AllocatorOfInt {
4794 _unused: u8,
4795}
4796impl AllocatorOfInt {
4797 pub unsafe fn copy_from(
4799 &mut self,
4800 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
4801 ) -> ::cpp_core::MutRef<crate::AllocatorOfInt> {
4802 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int_operator_(
4803 self as *mut crate::AllocatorOfInt,
4804 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(other)
4805 .as_raw_ptr(),
4806 );
4807 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4808 }
4809
4810 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfInt> {
4812 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int_allocator();
4813 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4814 }
4815
4816 pub unsafe fn new_copy(
4818 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
4819 ) -> ::cpp_core::CppBox<crate::AllocatorOfInt> {
4820 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int_allocator1(
4821 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
4822 .as_raw_ptr(),
4823 );
4824 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4825 }
4826}
4827
4828#[repr(C)]
4830pub struct AllocatorOfUint {
4831 _unused: u8,
4832}
4833impl AllocatorOfUint {
4834 pub unsafe fn copy_from(
4836 &mut self,
4837 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
4838 ) -> ::cpp_core::MutRef<crate::AllocatorOfUint> {
4839 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_int_operator_(
4840 self as *mut crate::AllocatorOfUint,
4841 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(other)
4842 .as_raw_ptr(),
4843 );
4844 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4845 }
4846
4847 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUint> {
4849 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_int_allocator();
4850 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4851 }
4852
4853 pub unsafe fn new_copy(
4855 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
4856 ) -> ::cpp_core::CppBox<crate::AllocatorOfUint> {
4857 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_int_allocator1(
4858 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(a)
4859 .as_raw_ptr(),
4860 );
4861 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4862 }
4863}
4864
4865#[repr(C)]
4867pub struct AllocatorOfLong {
4868 _unused: u8,
4869}
4870impl AllocatorOfLong {
4871 pub unsafe fn copy_from(
4873 &mut self,
4874 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
4875 ) -> ::cpp_core::MutRef<crate::AllocatorOfLong> {
4876 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_operator_(
4877 self as *mut crate::AllocatorOfLong,
4878 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(other)
4879 .as_raw_ptr(),
4880 );
4881 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4882 }
4883
4884 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfLong> {
4886 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_allocator();
4887 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4888 }
4889
4890 pub unsafe fn new_copy(
4892 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
4893 ) -> ::cpp_core::CppBox<crate::AllocatorOfLong> {
4894 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_allocator1(
4895 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
4896 .as_raw_ptr(),
4897 );
4898 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4899 }
4900}
4901
4902#[repr(C)]
4904pub struct AllocatorOfUlong {
4905 _unused: u8,
4906}
4907impl AllocatorOfUlong {
4908 pub unsafe fn copy_from(
4910 &mut self,
4911 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
4912 ) -> ::cpp_core::MutRef<crate::AllocatorOfUlong> {
4913 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_operator_(
4914 self as *mut crate::AllocatorOfUlong,
4915 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(other)
4916 .as_raw_ptr(),
4917 );
4918 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4919 }
4920
4921 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUlong> {
4923 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_allocator();
4924 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4925 }
4926
4927 pub unsafe fn new_copy(
4929 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
4930 ) -> ::cpp_core::CppBox<crate::AllocatorOfUlong> {
4931 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_allocator1(
4932 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(a)
4933 .as_raw_ptr(),
4934 );
4935 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4936 }
4937}
4938
4939#[repr(C)]
4941pub struct AllocatorOfLonglong {
4942 _unused: u8,
4943}
4944impl AllocatorOfLonglong {
4945 pub unsafe fn copy_from(
4947 &mut self,
4948 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
4949 ) -> ::cpp_core::MutRef<crate::AllocatorOfLonglong> {
4950 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_long_operator_(
4951 self as *mut crate::AllocatorOfLonglong,
4952 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(other)
4953 .as_raw_ptr(),
4954 );
4955 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4956 }
4957
4958 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfLonglong> {
4960 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_long_allocator();
4961 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4962 }
4963
4964 pub unsafe fn new_copy(
4966 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
4967 ) -> ::cpp_core::CppBox<crate::AllocatorOfLonglong> {
4968 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_long_allocator1(
4969 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
4970 .as_raw_ptr(),
4971 );
4972 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4973 }
4974}
4975
4976#[repr(C)]
4978pub struct AllocatorOfUlonglong {
4979 _unused: u8,
4980}
4981impl AllocatorOfUlonglong {
4982 pub unsafe fn copy_from(
4984 &mut self,
4985 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
4986 ) -> ::cpp_core::MutRef<crate::AllocatorOfUlonglong> {
4987 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_long_operator_(
4988 self as *mut crate::AllocatorOfUlonglong,
4989 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(other)
4990 .as_raw_ptr(),
4991 );
4992 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
4993 }
4994
4995 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUlonglong> {
4997 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_long_allocator();
4998 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
4999 }
5000
5001 pub unsafe fn new_copy(
5003 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
5004 ) -> ::cpp_core::CppBox<crate::AllocatorOfUlonglong> {
5005 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_long_allocator1(
5006 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(a)
5007 .as_raw_ptr(),
5008 );
5009 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5010 }
5011}
5012
5013#[repr(C)]
5015pub struct AllocatorOfFloat {
5016 _unused: u8,
5017}
5018impl AllocatorOfFloat {
5019 pub unsafe fn copy_from(
5021 &mut self,
5022 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
5023 ) -> ::cpp_core::MutRef<crate::AllocatorOfFloat> {
5024 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_float_operator_(
5025 self as *mut crate::AllocatorOfFloat,
5026 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(other)
5027 .as_raw_ptr(),
5028 );
5029 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5030 }
5031
5032 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfFloat> {
5034 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_float_allocator();
5035 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5036 }
5037
5038 pub unsafe fn new_copy(
5040 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
5041 ) -> ::cpp_core::CppBox<crate::AllocatorOfFloat> {
5042 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_float_allocator1(
5043 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
5044 .as_raw_ptr(),
5045 );
5046 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5047 }
5048}
5049
5050#[repr(C)]
5052pub struct AllocatorOfDouble {
5053 _unused: u8,
5054}
5055impl AllocatorOfDouble {
5056 pub unsafe fn copy_from(
5058 &mut self,
5059 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
5060 ) -> ::cpp_core::MutRef<crate::AllocatorOfDouble> {
5061 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_double_operator_(
5062 self as *mut crate::AllocatorOfDouble,
5063 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(other)
5064 .as_raw_ptr(),
5065 );
5066 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5067 }
5068
5069 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfDouble> {
5071 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_double_allocator();
5072 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5073 }
5074
5075 pub unsafe fn new_copy(
5077 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
5078 ) -> ::cpp_core::CppBox<crate::AllocatorOfDouble> {
5079 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_double_allocator1(
5080 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
5081 .as_raw_ptr(),
5082 );
5083 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5084 }
5085}
5086
5087#[repr(C)]
5089pub struct AllocatorOfI8 {
5090 _unused: u8,
5091}
5092impl AllocatorOfI8 {
5093 pub unsafe fn copy_from(
5095 &mut self,
5096 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
5097 ) -> ::cpp_core::MutRef<crate::AllocatorOfI8> {
5098 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int8_t_operator_(
5099 self as *mut crate::AllocatorOfI8,
5100 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(other)
5101 .as_raw_ptr(),
5102 );
5103 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5104 }
5105
5106 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfI8> {
5108 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int8_t_allocator();
5109 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5110 }
5111
5112 pub unsafe fn new_copy(
5114 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
5115 ) -> ::cpp_core::CppBox<crate::AllocatorOfI8> {
5116 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int8_t_allocator1(
5117 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
5118 .as_raw_ptr(),
5119 );
5120 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5121 }
5122}
5123
5124#[repr(C)]
5126pub struct AllocatorOfU8 {
5127 _unused: u8,
5128}
5129impl AllocatorOfU8 {
5130 pub unsafe fn copy_from(
5132 &mut self,
5133 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
5134 ) -> ::cpp_core::MutRef<crate::AllocatorOfU8> {
5135 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint8_t_operator_(
5136 self as *mut crate::AllocatorOfU8,
5137 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(other)
5138 .as_raw_ptr(),
5139 );
5140 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5141 }
5142
5143 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfU8> {
5145 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint8_t_allocator();
5146 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5147 }
5148
5149 pub unsafe fn new_copy(
5151 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
5152 ) -> ::cpp_core::CppBox<crate::AllocatorOfU8> {
5153 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint8_t_allocator1(
5154 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
5155 .as_raw_ptr(),
5156 );
5157 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5158 }
5159}
5160
5161#[repr(C)]
5163pub struct AllocatorOfI16 {
5164 _unused: u8,
5165}
5166impl AllocatorOfI16 {
5167 pub unsafe fn copy_from(
5169 &mut self,
5170 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
5171 ) -> ::cpp_core::MutRef<crate::AllocatorOfI16> {
5172 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int16_t_operator_(
5173 self as *mut crate::AllocatorOfI16,
5174 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(other)
5175 .as_raw_ptr(),
5176 );
5177 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5178 }
5179
5180 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfI16> {
5182 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int16_t_allocator();
5183 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5184 }
5185
5186 pub unsafe fn new_copy(
5188 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
5189 ) -> ::cpp_core::CppBox<crate::AllocatorOfI16> {
5190 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int16_t_allocator1(
5191 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
5192 .as_raw_ptr(),
5193 );
5194 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5195 }
5196}
5197
5198#[repr(C)]
5200pub struct AllocatorOfU16 {
5201 _unused: u8,
5202}
5203impl AllocatorOfU16 {
5204 pub unsafe fn copy_from(
5206 &mut self,
5207 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
5208 ) -> ::cpp_core::MutRef<crate::AllocatorOfU16> {
5209 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint16_t_operator_(
5210 self as *mut crate::AllocatorOfU16,
5211 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(other)
5212 .as_raw_ptr(),
5213 );
5214 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5215 }
5216
5217 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfU16> {
5219 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint16_t_allocator();
5220 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5221 }
5222
5223 pub unsafe fn new_copy(
5225 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
5226 ) -> ::cpp_core::CppBox<crate::AllocatorOfU16> {
5227 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint16_t_allocator1(
5228 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
5229 .as_raw_ptr(),
5230 );
5231 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5232 }
5233}
5234
5235#[repr(C)]
5237pub struct AllocatorOfI32 {
5238 _unused: u8,
5239}
5240impl AllocatorOfI32 {
5241 pub unsafe fn copy_from(
5243 &mut self,
5244 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
5245 ) -> ::cpp_core::MutRef<crate::AllocatorOfI32> {
5246 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int32_t_operator_(
5247 self as *mut crate::AllocatorOfI32,
5248 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(other)
5249 .as_raw_ptr(),
5250 );
5251 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5252 }
5253
5254 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfI32> {
5256 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int32_t_allocator();
5257 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5258 }
5259
5260 pub unsafe fn new_copy(
5262 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
5263 ) -> ::cpp_core::CppBox<crate::AllocatorOfI32> {
5264 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int32_t_allocator1(
5265 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
5266 .as_raw_ptr(),
5267 );
5268 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5269 }
5270}
5271
5272#[repr(C)]
5274pub struct AllocatorOfU32 {
5275 _unused: u8,
5276}
5277impl AllocatorOfU32 {
5278 pub unsafe fn copy_from(
5280 &mut self,
5281 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
5282 ) -> ::cpp_core::MutRef<crate::AllocatorOfU32> {
5283 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint32_t_operator_(
5284 self as *mut crate::AllocatorOfU32,
5285 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(other)
5286 .as_raw_ptr(),
5287 );
5288 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5289 }
5290
5291 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfU32> {
5293 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint32_t_allocator();
5294 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5295 }
5296
5297 pub unsafe fn new_copy(
5299 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
5300 ) -> ::cpp_core::CppBox<crate::AllocatorOfU32> {
5301 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint32_t_allocator1(
5302 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
5303 .as_raw_ptr(),
5304 );
5305 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5306 }
5307}
5308
5309#[repr(C)]
5311pub struct AllocatorOfI64 {
5312 _unused: u8,
5313}
5314impl AllocatorOfI64 {
5315 pub unsafe fn copy_from(
5317 &mut self,
5318 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
5319 ) -> ::cpp_core::MutRef<crate::AllocatorOfI64> {
5320 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int64_t_operator_(
5321 self as *mut crate::AllocatorOfI64,
5322 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(other)
5323 .as_raw_ptr(),
5324 );
5325 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5326 }
5327
5328 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfI64> {
5330 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int64_t_allocator();
5331 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5332 }
5333
5334 pub unsafe fn new_copy(
5336 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
5337 ) -> ::cpp_core::CppBox<crate::AllocatorOfI64> {
5338 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int64_t_allocator1(
5339 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
5340 .as_raw_ptr(),
5341 );
5342 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5343 }
5344}
5345
5346#[repr(C)]
5348pub struct AllocatorOfU64 {
5349 _unused: u8,
5350}
5351impl AllocatorOfU64 {
5352 pub unsafe fn copy_from(
5354 &mut self,
5355 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
5356 ) -> ::cpp_core::MutRef<crate::AllocatorOfU64> {
5357 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint64_t_operator_(
5358 self as *mut crate::AllocatorOfU64,
5359 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(other)
5360 .as_raw_ptr(),
5361 );
5362 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5363 }
5364
5365 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfU64> {
5367 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint64_t_allocator();
5368 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5369 }
5370
5371 pub unsafe fn new_copy(
5373 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
5374 ) -> ::cpp_core::CppBox<crate::AllocatorOfU64> {
5375 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint64_t_allocator1(
5376 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
5377 .as_raw_ptr(),
5378 );
5379 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5380 }
5381}
5382
5383#[repr(C)]
5385pub struct AllocatorOfUsize {
5386 _unused: u8,
5387}
5388impl AllocatorOfUsize {
5389 pub unsafe fn copy_from(
5391 &mut self,
5392 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
5393 ) -> ::cpp_core::MutRef<crate::AllocatorOfUsize> {
5394 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_size_t_operator_(
5395 self as *mut crate::AllocatorOfUsize,
5396 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(other)
5397 .as_raw_ptr(),
5398 );
5399 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5400 }
5401
5402 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUsize> {
5404 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_size_t_allocator();
5405 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5406 }
5407
5408 pub unsafe fn new_copy(
5410 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
5411 ) -> ::cpp_core::CppBox<crate::AllocatorOfUsize> {
5412 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_size_t_allocator1(
5413 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
5414 .as_raw_ptr(),
5415 );
5416 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5417 }
5418}
5419
5420#[repr(C)]
5422pub struct AllocatorOfVoid {
5423 _unused: u8,
5424}
5425impl AllocatorOfVoid {
5426 pub unsafe fn copy_from(
5428 &mut self,
5429 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
5430 ) -> ::cpp_core::MutRef<crate::AllocatorOfVoid> {
5431 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_void_ptr_operator_(
5432 self as *mut crate::AllocatorOfVoid,
5433 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(other)
5434 .as_raw_ptr(),
5435 );
5436 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5437 }
5438
5439 pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfVoid> {
5441 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_void_ptr_allocator();
5442 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5443 }
5444
5445 pub unsafe fn new_copy(
5447 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
5448 ) -> ::cpp_core::CppBox<crate::AllocatorOfVoid> {
5449 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_void_ptr_allocator1(
5450 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(a)
5451 .as_raw_ptr(),
5452 );
5453 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5454 }
5455}
5456
5457#[repr(C)]
5459pub struct VectorOfBool {
5460 _unused: u8,
5461}
5462impl VectorOfBool {
5463 pub unsafe fn assign_usize_bool(
5465 &mut self,
5466 n: usize,
5467 val: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>,
5468 ) {
5469 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_assign(
5470 self as *mut crate::VectorOfBool,
5471 n,
5472 ::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(val).as_raw_ptr(),
5473 )
5474 }
5475
5476 pub unsafe fn assign_2_bool(
5478 &mut self,
5479 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
5480 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
5481 ) {
5482 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_assign1(
5483 self as *mut crate::VectorOfBool,
5484 ::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(first).as_raw_ptr(),
5485 ::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(last).as_raw_ptr(),
5486 )
5487 }
5488
5489 pub unsafe fn capacity(&self) -> usize {
5491 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_capacity(
5492 self as *const crate::VectorOfBool,
5493 )
5494 }
5495
5496 pub unsafe fn clear(&mut self) {
5498 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_clear(
5499 self as *mut crate::VectorOfBool,
5500 )
5501 }
5502
5503 pub unsafe fn copy_from(
5505 &mut self,
5506 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfBool>>,
5507 ) -> ::cpp_core::MutRef<crate::VectorOfBool> {
5508 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_operator_(
5509 self as *mut crate::VectorOfBool,
5510 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfBool>>::cast_into(other)
5511 .as_raw_ptr(),
5512 );
5513 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5514 }
5515
5516 pub unsafe fn empty(&self) -> bool {
5518 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_empty(
5519 self as *const crate::VectorOfBool,
5520 )
5521 }
5522
5523 pub unsafe fn max_size(&self) -> usize {
5525 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_max_size(
5526 self as *const crate::VectorOfBool,
5527 )
5528 }
5529
5530 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfBool> {
5532 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector();
5533 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5534 }
5535
5536 pub unsafe fn from_allocator_of_bool(
5538 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
5539 ) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5540 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector2(
5541 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
5542 .as_raw_ptr(),
5543 );
5544 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5545 }
5546
5547 pub unsafe fn from_usize_allocator_of_bool(
5549 n: usize,
5550 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
5551 ) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5552 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector3(
5553 n,
5554 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
5555 .as_raw_ptr(),
5556 );
5557 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5558 }
5559
5560 pub unsafe fn from_usize_bool_allocator_of_bool(
5562 n: usize,
5563 value: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>,
5564 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
5565 ) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5566 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector4(
5567 n,
5568 ::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(value).as_raw_ptr(),
5569 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
5570 .as_raw_ptr(),
5571 );
5572 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5573 }
5574
5575 pub unsafe fn from_vector_of_bool_allocator_of_bool(
5577 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfBool>>,
5578 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
5579 ) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5580 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector6(
5581 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfBool>>::cast_into(x).as_raw_ptr(),
5582 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
5583 .as_raw_ptr(),
5584 );
5585 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5586 }
5587
5588 pub unsafe fn from_2_bool_allocator_of_bool(
5590 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
5591 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
5592 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
5593 ) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5594 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector8(
5595 ::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(first).as_raw_ptr(),
5596 ::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(last).as_raw_ptr(),
5597 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(alloc)
5598 .as_raw_ptr(),
5599 );
5600 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5601 }
5602
5603 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5605 let ffi_result =
5606 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector9(n);
5607 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5608 }
5609
5610 pub unsafe fn from_usize_bool(
5612 n: usize,
5613 value: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>,
5614 ) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5615 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector10(
5616 n,
5617 ::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(value).as_raw_ptr(),
5618 );
5619 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5620 }
5621
5622 pub unsafe fn from_2_bool(
5624 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
5625 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
5626 ) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5627 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector11(
5628 ::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(first).as_raw_ptr(),
5629 ::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(last).as_raw_ptr(),
5630 );
5631 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5632 }
5633
5634 pub unsafe fn new_copy(
5636 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfBool>>,
5637 ) -> ::cpp_core::CppBox<crate::VectorOfBool> {
5638 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector1(
5639 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfBool>>::cast_into(other)
5640 .as_raw_ptr(),
5641 );
5642 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5643 }
5644
5645 pub unsafe fn pop_back(&mut self) {
5647 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_pop_back(
5648 self as *mut crate::VectorOfBool,
5649 )
5650 }
5651
5652 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>) {
5654 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_push_back(
5655 self as *mut crate::VectorOfBool,
5656 ::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(x).as_raw_ptr(),
5657 )
5658 }
5659
5660 pub unsafe fn reserve(&mut self, n: usize) {
5662 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_reserve(
5663 self as *mut crate::VectorOfBool,
5664 n,
5665 )
5666 }
5667
5668 pub unsafe fn resize_1a(&mut self, new_size: usize) {
5670 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_resize(
5671 self as *mut crate::VectorOfBool,
5672 new_size,
5673 )
5674 }
5675
5676 pub unsafe fn resize_2a(
5678 &mut self,
5679 new_size: usize,
5680 x: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>,
5681 ) {
5682 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_resize1(
5683 self as *mut crate::VectorOfBool,
5684 new_size,
5685 ::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(x).as_raw_ptr(),
5686 )
5687 }
5688
5689 pub unsafe fn shrink_to_fit(&mut self) {
5691 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_shrink_to_fit(
5692 self as *mut crate::VectorOfBool,
5693 )
5694 }
5695
5696 pub unsafe fn size(&self) -> usize {
5698 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_size(
5699 self as *const crate::VectorOfBool,
5700 )
5701 }
5702
5703 pub unsafe fn swap(
5705 &mut self,
5706 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfBool>>,
5707 ) {
5708 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_swap(
5709 self as *mut crate::VectorOfBool,
5710 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfBool>>::cast_into(x)
5711 .as_mut_raw_ptr(),
5712 )
5713 }
5714}
5715
5716#[repr(C)]
5718pub struct VectorOfChar {
5719 _unused: u8,
5720}
5721impl VectorOfChar {
5722 pub unsafe fn assign_usize_char(
5724 &mut self,
5725 n: usize,
5726 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
5727 ) {
5728 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_assign(
5729 self as *mut crate::VectorOfChar,
5730 n,
5731 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(val)
5732 .as_raw_ptr(),
5733 )
5734 }
5735
5736 pub unsafe fn assign_2_char(
5738 &mut self,
5739 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
5740 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
5741 ) {
5742 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_assign1(
5743 self as *mut crate::VectorOfChar,
5744 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(first)
5745 .as_raw_ptr(),
5746 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(last)
5747 .as_raw_ptr(),
5748 )
5749 }
5750
5751 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
5753 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_at(
5754 self as *mut crate::VectorOfChar,
5755 n,
5756 );
5757 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5758 }
5759
5760 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_char> {
5762 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_at1(
5763 self as *const crate::VectorOfChar,
5764 n,
5765 );
5766 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
5767 }
5768
5769 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
5771 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_back(
5772 self as *mut crate::VectorOfChar,
5773 );
5774 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5775 }
5776
5777 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_char> {
5779 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_back1(
5780 self as *const crate::VectorOfChar,
5781 );
5782 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
5783 }
5784
5785 pub unsafe fn capacity(&self) -> usize {
5787 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_capacity(
5788 self as *const crate::VectorOfChar,
5789 )
5790 }
5791
5792 pub unsafe fn clear(&mut self) {
5794 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_clear(
5795 self as *mut crate::VectorOfChar,
5796 )
5797 }
5798
5799 pub unsafe fn copy_from(
5801 &mut self,
5802 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar>>,
5803 ) -> ::cpp_core::MutRef<crate::VectorOfChar> {
5804 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_operator_(
5805 self as *mut crate::VectorOfChar,
5806 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar>>::cast_into(other)
5807 .as_raw_ptr(),
5808 );
5809 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5810 }
5811
5812 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_char> {
5814 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_data(
5815 self as *mut crate::VectorOfChar,
5816 );
5817 ::cpp_core::MutPtr::from_raw(ffi_result)
5818 }
5819
5820 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
5822 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_data1(
5823 self as *const crate::VectorOfChar,
5824 );
5825 ::cpp_core::Ptr::from_raw(ffi_result)
5826 }
5827
5828 pub unsafe fn empty(&self) -> bool {
5830 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_empty(
5831 self as *const crate::VectorOfChar,
5832 )
5833 }
5834
5835 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
5837 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_front(
5838 self as *mut crate::VectorOfChar,
5839 );
5840 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5841 }
5842
5843 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_char> {
5845 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_front1(
5846 self as *const crate::VectorOfChar,
5847 );
5848 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
5849 }
5850
5851 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
5853 let ffi_result =
5854 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_operator__(
5855 self as *mut crate::VectorOfChar,
5856 n,
5857 );
5858 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
5859 }
5860
5861 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_char> {
5863 let ffi_result =
5864 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_operator__1(
5865 self as *const crate::VectorOfChar,
5866 n,
5867 );
5868 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
5869 }
5870
5871 pub unsafe fn max_size(&self) -> usize {
5873 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_max_size(
5874 self as *const crate::VectorOfChar,
5875 )
5876 }
5877
5878 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfChar> {
5880 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector();
5881 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5882 }
5883
5884 pub unsafe fn from_allocator_of_char(
5886 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
5887 ) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5888 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector2(
5889 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
5890 .as_raw_ptr(),
5891 );
5892 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5893 }
5894
5895 pub unsafe fn from_usize_allocator_of_char(
5897 n: usize,
5898 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
5899 ) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5900 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector3(
5901 n,
5902 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
5903 .as_raw_ptr(),
5904 );
5905 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5906 }
5907
5908 pub unsafe fn from_usize_char_allocator_of_char(
5910 n: usize,
5911 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
5912 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
5913 ) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5914 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector4(
5915 n,
5916 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(value)
5917 .as_raw_ptr(),
5918 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
5919 .as_raw_ptr(),
5920 );
5921 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5922 }
5923
5924 pub unsafe fn from_vector_of_char_allocator_of_char(
5926 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar>>,
5927 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
5928 ) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5929 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector6(
5930 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar>>::cast_into(x).as_raw_ptr(),
5931 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
5932 .as_raw_ptr(),
5933 );
5934 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5935 }
5936
5937 pub unsafe fn from_2_char_allocator_of_char(
5939 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
5940 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
5941 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
5942 ) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5943 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector8(
5944 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(first)
5945 .as_raw_ptr(),
5946 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(last)
5947 .as_raw_ptr(),
5948 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(alloc)
5949 .as_raw_ptr(),
5950 );
5951 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5952 }
5953
5954 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5956 let ffi_result =
5957 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector9(n);
5958 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5959 }
5960
5961 pub unsafe fn from_usize_char(
5963 n: usize,
5964 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
5965 ) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5966 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector10(
5967 n,
5968 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(value)
5969 .as_raw_ptr(),
5970 );
5971 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5972 }
5973
5974 pub unsafe fn from_2_char(
5976 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
5977 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
5978 ) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5979 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector11(
5980 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(first)
5981 .as_raw_ptr(),
5982 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(last)
5983 .as_raw_ptr(),
5984 );
5985 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5986 }
5987
5988 pub unsafe fn new_copy(
5990 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar>>,
5991 ) -> ::cpp_core::CppBox<crate::VectorOfChar> {
5992 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector1(
5993 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar>>::cast_into(other)
5994 .as_raw_ptr(),
5995 );
5996 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
5997 }
5998
5999 pub unsafe fn pop_back(&mut self) {
6001 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_pop_back(
6002 self as *mut crate::VectorOfChar,
6003 )
6004 }
6005
6006 pub unsafe fn push_back(
6008 &mut self,
6009 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
6010 ) {
6011 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_push_back(
6012 self as *mut crate::VectorOfChar,
6013 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(x)
6014 .as_raw_ptr(),
6015 )
6016 }
6017
6018 pub unsafe fn reserve(&mut self, n: usize) {
6020 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_reserve(
6021 self as *mut crate::VectorOfChar,
6022 n,
6023 )
6024 }
6025
6026 pub unsafe fn resize_1a(&mut self, new_size: usize) {
6028 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_resize(
6029 self as *mut crate::VectorOfChar,
6030 new_size,
6031 )
6032 }
6033
6034 pub unsafe fn resize_2a(
6036 &mut self,
6037 new_size: usize,
6038 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
6039 ) {
6040 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_resize1(
6041 self as *mut crate::VectorOfChar,
6042 new_size,
6043 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(x)
6044 .as_raw_ptr(),
6045 )
6046 }
6047
6048 pub unsafe fn shrink_to_fit(&mut self) {
6050 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_shrink_to_fit(
6051 self as *mut crate::VectorOfChar,
6052 )
6053 }
6054
6055 pub unsafe fn size(&self) -> usize {
6057 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_size(
6058 self as *const crate::VectorOfChar,
6059 )
6060 }
6061
6062 pub unsafe fn swap(
6064 &mut self,
6065 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar>>,
6066 ) {
6067 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_swap(
6068 self as *mut crate::VectorOfChar,
6069 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar>>::cast_into(x)
6070 .as_mut_raw_ptr(),
6071 )
6072 }
6073}
6074
6075#[repr(C)]
6077pub struct VectorOfSchar {
6078 _unused: u8,
6079}
6080impl VectorOfSchar {
6081 pub unsafe fn assign_usize_schar(
6083 &mut self,
6084 n: usize,
6085 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
6086 ) {
6087 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_assign(
6088 self as *mut crate::VectorOfSchar,
6089 n,
6090 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(val)
6091 .as_raw_ptr(),
6092 )
6093 }
6094
6095 pub unsafe fn assign_2_schar(
6097 &mut self,
6098 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
6099 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
6100 ) {
6101 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_assign1(
6102 self as *mut crate::VectorOfSchar,
6103 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(first)
6104 .as_raw_ptr(),
6105 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(last)
6106 .as_raw_ptr(),
6107 )
6108 }
6109
6110 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_schar> {
6112 let ffi_result =
6113 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_at(
6114 self as *mut crate::VectorOfSchar,
6115 n,
6116 );
6117 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6118 }
6119
6120 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_schar> {
6122 let ffi_result =
6123 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_at1(
6124 self as *const crate::VectorOfSchar,
6125 n,
6126 );
6127 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6128 }
6129
6130 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_schar> {
6132 let ffi_result =
6133 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_back(
6134 self as *mut crate::VectorOfSchar,
6135 );
6136 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6137 }
6138
6139 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_schar> {
6141 let ffi_result =
6142 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_back1(
6143 self as *const crate::VectorOfSchar,
6144 );
6145 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6146 }
6147
6148 pub unsafe fn capacity(&self) -> usize {
6150 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_capacity(
6151 self as *const crate::VectorOfSchar,
6152 )
6153 }
6154
6155 pub unsafe fn clear(&mut self) {
6157 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_clear(
6158 self as *mut crate::VectorOfSchar,
6159 )
6160 }
6161
6162 pub unsafe fn copy_from(
6164 &mut self,
6165 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfSchar>>,
6166 ) -> ::cpp_core::MutRef<crate::VectorOfSchar> {
6167 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_operator_(self as *mut crate::VectorOfSchar, ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfSchar>>::cast_into(other).as_raw_ptr());
6168 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6169 }
6170
6171 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_schar> {
6173 let ffi_result =
6174 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_data(
6175 self as *mut crate::VectorOfSchar,
6176 );
6177 ::cpp_core::MutPtr::from_raw(ffi_result)
6178 }
6179
6180 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_schar> {
6182 let ffi_result =
6183 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_data1(
6184 self as *const crate::VectorOfSchar,
6185 );
6186 ::cpp_core::Ptr::from_raw(ffi_result)
6187 }
6188
6189 pub unsafe fn empty(&self) -> bool {
6191 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_empty(
6192 self as *const crate::VectorOfSchar,
6193 )
6194 }
6195
6196 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_schar> {
6198 let ffi_result =
6199 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_front(
6200 self as *mut crate::VectorOfSchar,
6201 );
6202 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6203 }
6204
6205 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_schar> {
6207 let ffi_result =
6208 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_front1(
6209 self as *const crate::VectorOfSchar,
6210 );
6211 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6212 }
6213
6214 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_schar> {
6216 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_operator__(self as *mut crate::VectorOfSchar, n);
6217 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6218 }
6219
6220 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_schar> {
6222 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_operator__1(self as *const crate::VectorOfSchar, n);
6223 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6224 }
6225
6226 pub unsafe fn max_size(&self) -> usize {
6228 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_max_size(
6229 self as *const crate::VectorOfSchar,
6230 )
6231 }
6232
6233 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6235 let ffi_result =
6236 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector();
6237 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6238 }
6239
6240 pub unsafe fn from_allocator_of_schar(
6242 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
6243 ) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6244 let ffi_result =
6245 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector2(
6246 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
6247 .as_raw_ptr(),
6248 );
6249 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6250 }
6251
6252 pub unsafe fn from_usize_allocator_of_schar(
6254 n: usize,
6255 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
6256 ) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6257 let ffi_result =
6258 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector3(
6259 n,
6260 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
6261 .as_raw_ptr(),
6262 );
6263 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6264 }
6265
6266 pub unsafe fn from_usize_schar_allocator_of_schar(
6268 n: usize,
6269 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
6270 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
6271 ) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6272 let ffi_result =
6273 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector4(
6274 n,
6275 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(value)
6276 .as_raw_ptr(),
6277 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
6278 .as_raw_ptr(),
6279 );
6280 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6281 }
6282
6283 pub unsafe fn from_vector_of_schar_allocator_of_schar(
6285 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfSchar>>,
6286 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
6287 ) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6288 let ffi_result =
6289 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector6(
6290 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfSchar>>::cast_into(x)
6291 .as_raw_ptr(),
6292 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
6293 .as_raw_ptr(),
6294 );
6295 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6296 }
6297
6298 pub unsafe fn from_2_schar_allocator_of_schar(
6300 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
6301 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
6302 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
6303 ) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6304 let ffi_result =
6305 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector8(
6306 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(first)
6307 .as_raw_ptr(),
6308 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(last)
6309 .as_raw_ptr(),
6310 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(alloc)
6311 .as_raw_ptr(),
6312 );
6313 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6314 }
6315
6316 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6318 let ffi_result =
6319 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector9(
6320 n,
6321 );
6322 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6323 }
6324
6325 pub unsafe fn from_usize_schar(
6327 n: usize,
6328 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
6329 ) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6330 let ffi_result =
6331 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector10(
6332 n,
6333 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(value)
6334 .as_raw_ptr(),
6335 );
6336 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6337 }
6338
6339 pub unsafe fn from_2_schar(
6341 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
6342 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
6343 ) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6344 let ffi_result =
6345 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector11(
6346 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(first)
6347 .as_raw_ptr(),
6348 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(last)
6349 .as_raw_ptr(),
6350 );
6351 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6352 }
6353
6354 pub unsafe fn new_copy(
6356 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfSchar>>,
6357 ) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
6358 let ffi_result =
6359 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector1(
6360 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfSchar>>::cast_into(other)
6361 .as_raw_ptr(),
6362 );
6363 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6364 }
6365
6366 pub unsafe fn pop_back(&mut self) {
6368 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_pop_back(
6369 self as *mut crate::VectorOfSchar,
6370 )
6371 }
6372
6373 pub unsafe fn push_back(
6375 &mut self,
6376 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
6377 ) {
6378 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_push_back(
6379 self as *mut crate::VectorOfSchar,
6380 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(x)
6381 .as_raw_ptr(),
6382 )
6383 }
6384
6385 pub unsafe fn reserve(&mut self, n: usize) {
6387 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_reserve(
6388 self as *mut crate::VectorOfSchar,
6389 n,
6390 )
6391 }
6392
6393 pub unsafe fn resize_1a(&mut self, new_size: usize) {
6395 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_resize(
6396 self as *mut crate::VectorOfSchar,
6397 new_size,
6398 )
6399 }
6400
6401 pub unsafe fn resize_2a(
6403 &mut self,
6404 new_size: usize,
6405 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
6406 ) {
6407 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_resize1(
6408 self as *mut crate::VectorOfSchar,
6409 new_size,
6410 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(x)
6411 .as_raw_ptr(),
6412 )
6413 }
6414
6415 pub unsafe fn shrink_to_fit(&mut self) {
6417 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_shrink_to_fit(
6418 self as *mut crate::VectorOfSchar,
6419 )
6420 }
6421
6422 pub unsafe fn size(&self) -> usize {
6424 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_size(
6425 self as *const crate::VectorOfSchar,
6426 )
6427 }
6428
6429 pub unsafe fn swap(
6431 &mut self,
6432 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfSchar>>,
6433 ) {
6434 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_swap(
6435 self as *mut crate::VectorOfSchar,
6436 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfSchar>>::cast_into(x)
6437 .as_mut_raw_ptr(),
6438 )
6439 }
6440}
6441
6442#[repr(C)]
6444pub struct VectorOfUchar {
6445 _unused: u8,
6446}
6447impl VectorOfUchar {
6448 pub unsafe fn assign_usize_uchar(
6450 &mut self,
6451 n: usize,
6452 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
6453 ) {
6454 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_assign(
6455 self as *mut crate::VectorOfUchar,
6456 n,
6457 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uchar>>::cast_into(val)
6458 .as_raw_ptr(),
6459 )
6460 }
6461
6462 pub unsafe fn assign_2_uchar(
6464 &mut self,
6465 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
6466 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
6467 ) {
6468 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_assign1(
6469 self as *mut crate::VectorOfUchar,
6470 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uchar>>::cast_into(first)
6471 .as_raw_ptr(),
6472 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uchar>>::cast_into(last)
6473 .as_raw_ptr(),
6474 )
6475 }
6476
6477 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_uchar> {
6479 let ffi_result =
6480 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_at(
6481 self as *mut crate::VectorOfUchar,
6482 n,
6483 );
6484 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6485 }
6486
6487 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_uchar> {
6489 let ffi_result =
6490 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_at1(
6491 self as *const crate::VectorOfUchar,
6492 n,
6493 );
6494 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6495 }
6496
6497 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_uchar> {
6499 let ffi_result =
6500 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_back(
6501 self as *mut crate::VectorOfUchar,
6502 );
6503 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6504 }
6505
6506 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_uchar> {
6508 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_back1(self as *const crate::VectorOfUchar);
6509 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6510 }
6511
6512 pub unsafe fn capacity(&self) -> usize {
6514 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_capacity(
6515 self as *const crate::VectorOfUchar,
6516 )
6517 }
6518
6519 pub unsafe fn clear(&mut self) {
6521 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_clear(
6522 self as *mut crate::VectorOfUchar,
6523 )
6524 }
6525
6526 pub unsafe fn copy_from(
6528 &mut self,
6529 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUchar>>,
6530 ) -> ::cpp_core::MutRef<crate::VectorOfUchar> {
6531 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_operator_(self as *mut crate::VectorOfUchar, ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUchar>>::cast_into(other).as_raw_ptr());
6532 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6533 }
6534
6535 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_uchar> {
6537 let ffi_result =
6538 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_data(
6539 self as *mut crate::VectorOfUchar,
6540 );
6541 ::cpp_core::MutPtr::from_raw(ffi_result)
6542 }
6543
6544 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_uchar> {
6546 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_data1(self as *const crate::VectorOfUchar);
6547 ::cpp_core::Ptr::from_raw(ffi_result)
6548 }
6549
6550 pub unsafe fn empty(&self) -> bool {
6552 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_empty(
6553 self as *const crate::VectorOfUchar,
6554 )
6555 }
6556
6557 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_uchar> {
6559 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_front(self as *mut crate::VectorOfUchar);
6560 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6561 }
6562
6563 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_uchar> {
6565 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_front1(self as *const crate::VectorOfUchar);
6566 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6567 }
6568
6569 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_uchar> {
6571 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_operator__(self as *mut crate::VectorOfUchar, n);
6572 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6573 }
6574
6575 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_uchar> {
6577 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_operator__1(self as *const crate::VectorOfUchar, n);
6578 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6579 }
6580
6581 pub unsafe fn max_size(&self) -> usize {
6583 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_max_size(
6584 self as *const crate::VectorOfUchar,
6585 )
6586 }
6587
6588 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6590 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector();
6591 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6592 }
6593
6594 pub unsafe fn from_allocator_of_uchar(
6596 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
6597 ) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6598 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector2(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(a).as_raw_ptr());
6599 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6600 }
6601
6602 pub unsafe fn from_usize_allocator_of_uchar(
6604 n: usize,
6605 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
6606 ) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6607 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector3(n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(a).as_raw_ptr());
6608 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6609 }
6610
6611 pub unsafe fn from_usize_uchar_allocator_of_uchar(
6613 n: usize,
6614 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
6615 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
6616 ) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6617 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector4(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uchar>>::cast_into(value).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(a).as_raw_ptr());
6618 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6619 }
6620
6621 pub unsafe fn from_vector_of_uchar_allocator_of_uchar(
6623 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUchar>>,
6624 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
6625 ) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6626 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector6(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUchar>>::cast_into(x).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(a).as_raw_ptr());
6627 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6628 }
6629
6630 pub unsafe fn from_2_uchar_allocator_of_uchar(
6632 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
6633 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
6634 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
6635 ) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6636 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector8(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uchar>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uchar>>::cast_into(last).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(alloc).as_raw_ptr());
6637 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6638 }
6639
6640 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6642 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector9(n);
6643 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6644 }
6645
6646 pub unsafe fn from_usize_uchar(
6648 n: usize,
6649 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
6650 ) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6651 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector10(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uchar>>::cast_into(value).as_raw_ptr());
6652 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6653 }
6654
6655 pub unsafe fn from_2_uchar(
6657 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
6658 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
6659 ) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6660 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector11(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uchar>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uchar>>::cast_into(last).as_raw_ptr());
6661 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6662 }
6663
6664 pub unsafe fn new_copy(
6666 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUchar>>,
6667 ) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
6668 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector1(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUchar>>::cast_into(other).as_raw_ptr());
6669 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6670 }
6671
6672 pub unsafe fn pop_back(&mut self) {
6674 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_pop_back(
6675 self as *mut crate::VectorOfUchar,
6676 )
6677 }
6678
6679 pub unsafe fn push_back(
6681 &mut self,
6682 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
6683 ) {
6684 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_push_back(
6685 self as *mut crate::VectorOfUchar,
6686 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uchar>>::cast_into(x)
6687 .as_raw_ptr(),
6688 )
6689 }
6690
6691 pub unsafe fn reserve(&mut self, n: usize) {
6693 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_reserve(
6694 self as *mut crate::VectorOfUchar,
6695 n,
6696 )
6697 }
6698
6699 pub unsafe fn resize_1a(&mut self, new_size: usize) {
6701 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_resize(
6702 self as *mut crate::VectorOfUchar,
6703 new_size,
6704 )
6705 }
6706
6707 pub unsafe fn resize_2a(
6709 &mut self,
6710 new_size: usize,
6711 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
6712 ) {
6713 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_resize1(
6714 self as *mut crate::VectorOfUchar,
6715 new_size,
6716 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uchar>>::cast_into(x)
6717 .as_raw_ptr(),
6718 )
6719 }
6720
6721 pub unsafe fn shrink_to_fit(&mut self) {
6723 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_shrink_to_fit(self as *mut crate::VectorOfUchar)
6724 }
6725
6726 pub unsafe fn size(&self) -> usize {
6728 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_size(
6729 self as *const crate::VectorOfUchar,
6730 )
6731 }
6732
6733 pub unsafe fn swap(
6735 &mut self,
6736 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUchar>>,
6737 ) {
6738 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_swap(
6739 self as *mut crate::VectorOfUchar,
6740 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUchar>>::cast_into(x)
6741 .as_mut_raw_ptr(),
6742 )
6743 }
6744}
6745
6746#[repr(C)]
6748pub struct VectorOfWcharT {
6749 _unused: u8,
6750}
6751impl VectorOfWcharT {
6752 pub unsafe fn assign_usize_wchar_t(
6754 &mut self,
6755 n: usize,
6756 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
6757 ) {
6758 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_assign(
6759 self as *mut crate::VectorOfWcharT,
6760 n,
6761 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(val)
6762 .as_raw_ptr(),
6763 )
6764 }
6765
6766 pub unsafe fn assign_2_wchar_t(
6768 &mut self,
6769 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
6770 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
6771 ) {
6772 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_assign1(
6773 self as *mut crate::VectorOfWcharT,
6774 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(first)
6775 .as_raw_ptr(),
6776 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(last)
6777 .as_raw_ptr(),
6778 )
6779 }
6780
6781 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
6783 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_at(
6784 self as *mut crate::VectorOfWcharT,
6785 n,
6786 );
6787 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6788 }
6789
6790 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
6792 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_at1(
6793 self as *const crate::VectorOfWcharT,
6794 n,
6795 );
6796 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6797 }
6798
6799 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
6801 let ffi_result =
6802 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_back(
6803 self as *mut crate::VectorOfWcharT,
6804 );
6805 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6806 }
6807
6808 pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
6810 let ffi_result =
6811 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_back1(
6812 self as *const crate::VectorOfWcharT,
6813 );
6814 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6815 }
6816
6817 pub unsafe fn capacity(&self) -> usize {
6819 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_capacity(
6820 self as *const crate::VectorOfWcharT,
6821 )
6822 }
6823
6824 pub unsafe fn clear(&mut self) {
6826 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_clear(
6827 self as *mut crate::VectorOfWcharT,
6828 )
6829 }
6830
6831 pub unsafe fn copy_from(
6833 &mut self,
6834 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfWcharT>>,
6835 ) -> ::cpp_core::MutRef<crate::VectorOfWcharT> {
6836 let ffi_result =
6837 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_operator_(
6838 self as *mut crate::VectorOfWcharT,
6839 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfWcharT>>::cast_into(other)
6840 .as_raw_ptr(),
6841 );
6842 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6843 }
6844
6845 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
6847 let ffi_result =
6848 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_data(
6849 self as *mut crate::VectorOfWcharT,
6850 );
6851 ::cpp_core::MutPtr::from_raw(ffi_result)
6852 }
6853
6854 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
6856 let ffi_result =
6857 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_data1(
6858 self as *const crate::VectorOfWcharT,
6859 );
6860 ::cpp_core::Ptr::from_raw(ffi_result)
6861 }
6862
6863 pub unsafe fn empty(&self) -> bool {
6865 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_empty(
6866 self as *const crate::VectorOfWcharT,
6867 )
6868 }
6869
6870 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
6872 let ffi_result =
6873 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_front(
6874 self as *mut crate::VectorOfWcharT,
6875 );
6876 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6877 }
6878
6879 pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
6881 let ffi_result =
6882 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_front1(
6883 self as *const crate::VectorOfWcharT,
6884 );
6885 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6886 }
6887
6888 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
6890 let ffi_result =
6891 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_operator__(
6892 self as *mut crate::VectorOfWcharT,
6893 n,
6894 );
6895 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
6896 }
6897
6898 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
6900 let ffi_result =
6901 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_operator__1(
6902 self as *const crate::VectorOfWcharT,
6903 n,
6904 );
6905 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
6906 }
6907
6908 pub unsafe fn max_size(&self) -> usize {
6910 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_max_size(
6911 self as *const crate::VectorOfWcharT,
6912 )
6913 }
6914
6915 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
6917 let ffi_result =
6918 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector();
6919 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6920 }
6921
6922 pub unsafe fn from_allocator_of_wchar_t(
6924 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
6925 ) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
6926 let ffi_result =
6927 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector2(
6928 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
6929 .as_raw_ptr(),
6930 );
6931 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6932 }
6933
6934 pub unsafe fn from_usize_allocator_of_wchar_t(
6936 n: usize,
6937 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
6938 ) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
6939 let ffi_result =
6940 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector3(
6941 n,
6942 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
6943 .as_raw_ptr(),
6944 );
6945 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6946 }
6947
6948 pub unsafe fn from_usize_wchar_t_allocator_of_wchar_t(
6950 n: usize,
6951 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
6952 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
6953 ) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
6954 let ffi_result =
6955 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector4(
6956 n,
6957 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(value)
6958 .as_raw_ptr(),
6959 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
6960 .as_raw_ptr(),
6961 );
6962 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6963 }
6964
6965 pub unsafe fn from_vector_of_wchar_t_allocator_of_wchar_t(
6967 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfWcharT>>,
6968 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
6969 ) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
6970 let ffi_result =
6971 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector6(
6972 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfWcharT>>::cast_into(x)
6973 .as_raw_ptr(),
6974 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
6975 .as_raw_ptr(),
6976 );
6977 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6978 }
6979
6980 pub unsafe fn from_2_wchar_t_allocator_of_wchar_t(
6982 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
6983 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
6984 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
6985 ) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
6986 let ffi_result =
6987 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector8(
6988 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(first)
6989 .as_raw_ptr(),
6990 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(last)
6991 .as_raw_ptr(),
6992 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(alloc)
6993 .as_raw_ptr(),
6994 );
6995 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
6996 }
6997
6998 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
7000 let ffi_result =
7001 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector9(n);
7002 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7003 }
7004
7005 pub unsafe fn from_usize_wchar_t(
7007 n: usize,
7008 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
7009 ) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
7010 let ffi_result =
7011 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector10(
7012 n,
7013 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(value)
7014 .as_raw_ptr(),
7015 );
7016 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7017 }
7018
7019 pub unsafe fn from_2_wchar_t(
7021 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
7022 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
7023 ) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
7024 let ffi_result =
7025 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector11(
7026 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(first)
7027 .as_raw_ptr(),
7028 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(last)
7029 .as_raw_ptr(),
7030 );
7031 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7032 }
7033
7034 pub unsafe fn new_copy(
7036 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfWcharT>>,
7037 ) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
7038 let ffi_result =
7039 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector1(
7040 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfWcharT>>::cast_into(other)
7041 .as_raw_ptr(),
7042 );
7043 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7044 }
7045
7046 pub unsafe fn pop_back(&mut self) {
7048 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_pop_back(
7049 self as *mut crate::VectorOfWcharT,
7050 )
7051 }
7052
7053 pub unsafe fn push_back(
7055 &mut self,
7056 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
7057 ) {
7058 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_push_back(
7059 self as *mut crate::VectorOfWcharT,
7060 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(x).as_raw_ptr(),
7061 )
7062 }
7063
7064 pub unsafe fn reserve(&mut self, n: usize) {
7066 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_reserve(
7067 self as *mut crate::VectorOfWcharT,
7068 n,
7069 )
7070 }
7071
7072 pub unsafe fn resize_1a(&mut self, new_size: usize) {
7074 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_resize(
7075 self as *mut crate::VectorOfWcharT,
7076 new_size,
7077 )
7078 }
7079
7080 pub unsafe fn resize_2a(
7082 &mut self,
7083 new_size: usize,
7084 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
7085 ) {
7086 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_resize1(
7087 self as *mut crate::VectorOfWcharT,
7088 new_size,
7089 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(x).as_raw_ptr(),
7090 )
7091 }
7092
7093 pub unsafe fn shrink_to_fit(&mut self) {
7095 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_shrink_to_fit(
7096 self as *mut crate::VectorOfWcharT,
7097 )
7098 }
7099
7100 pub unsafe fn size(&self) -> usize {
7102 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_size(
7103 self as *const crate::VectorOfWcharT,
7104 )
7105 }
7106
7107 pub unsafe fn swap(
7109 &mut self,
7110 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfWcharT>>,
7111 ) {
7112 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_swap(
7113 self as *mut crate::VectorOfWcharT,
7114 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfWcharT>>::cast_into(x)
7115 .as_mut_raw_ptr(),
7116 )
7117 }
7118}
7119
7120#[repr(C)]
7122pub struct VectorOfChar16T {
7123 _unused: u8,
7124}
7125impl VectorOfChar16T {
7126 pub unsafe fn assign_usize_char16_t(
7128 &mut self,
7129 n: usize,
7130 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
7131 ) {
7132 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_assign(
7133 self as *mut crate::VectorOfChar16T,
7134 n,
7135 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(val)
7136 .as_raw_ptr(),
7137 )
7138 }
7139
7140 pub unsafe fn assign_2_char16_t(
7142 &mut self,
7143 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
7144 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
7145 ) {
7146 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_assign1(
7147 self as *mut crate::VectorOfChar16T,
7148 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(first)
7149 .as_raw_ptr(),
7150 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(last)
7151 .as_raw_ptr(),
7152 )
7153 }
7154
7155 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
7157 let ffi_result =
7158 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_at(
7159 self as *mut crate::VectorOfChar16T,
7160 n,
7161 );
7162 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7163 }
7164
7165 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char16_t> {
7167 let ffi_result =
7168 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_at1(
7169 self as *const crate::VectorOfChar16T,
7170 n,
7171 );
7172 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7173 }
7174
7175 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
7177 let ffi_result =
7178 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_back(
7179 self as *mut crate::VectorOfChar16T,
7180 );
7181 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7182 }
7183
7184 pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::char16_t> {
7186 let ffi_result =
7187 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_back1(
7188 self as *const crate::VectorOfChar16T,
7189 );
7190 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7191 }
7192
7193 pub unsafe fn capacity(&self) -> usize {
7195 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_capacity(
7196 self as *const crate::VectorOfChar16T,
7197 )
7198 }
7199
7200 pub unsafe fn clear(&mut self) {
7202 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_clear(
7203 self as *mut crate::VectorOfChar16T,
7204 )
7205 }
7206
7207 pub unsafe fn copy_from(
7209 &mut self,
7210 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar16T>>,
7211 ) -> ::cpp_core::MutRef<crate::VectorOfChar16T> {
7212 let ffi_result =
7213 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_operator_(
7214 self as *mut crate::VectorOfChar16T,
7215 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar16T>>::cast_into(other)
7216 .as_raw_ptr(),
7217 );
7218 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7219 }
7220
7221 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::char16_t> {
7223 let ffi_result =
7224 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_data(
7225 self as *mut crate::VectorOfChar16T,
7226 );
7227 ::cpp_core::MutPtr::from_raw(ffi_result)
7228 }
7229
7230 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
7232 let ffi_result =
7233 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_data1(
7234 self as *const crate::VectorOfChar16T,
7235 );
7236 ::cpp_core::Ptr::from_raw(ffi_result)
7237 }
7238
7239 pub unsafe fn empty(&self) -> bool {
7241 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_empty(
7242 self as *const crate::VectorOfChar16T,
7243 )
7244 }
7245
7246 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
7248 let ffi_result =
7249 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_front(
7250 self as *mut crate::VectorOfChar16T,
7251 );
7252 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7253 }
7254
7255 pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::char16_t> {
7257 let ffi_result =
7258 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_front1(
7259 self as *const crate::VectorOfChar16T,
7260 );
7261 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7262 }
7263
7264 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
7266 let ffi_result =
7267 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_operator__(
7268 self as *mut crate::VectorOfChar16T,
7269 n,
7270 );
7271 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7272 }
7273
7274 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char16_t> {
7276 let ffi_result =
7277 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_operator__1(
7278 self as *const crate::VectorOfChar16T,
7279 n,
7280 );
7281 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7282 }
7283
7284 pub unsafe fn max_size(&self) -> usize {
7286 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_max_size(
7287 self as *const crate::VectorOfChar16T,
7288 )
7289 }
7290
7291 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7293 let ffi_result =
7294 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector();
7295 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7296 }
7297
7298 pub unsafe fn from_allocator_of_char16_t(
7300 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
7301 ) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7302 let ffi_result =
7303 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector2(
7304 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
7305 .as_raw_ptr(),
7306 );
7307 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7308 }
7309
7310 pub unsafe fn from_usize_allocator_of_char16_t(
7312 n: usize,
7313 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
7314 ) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7315 let ffi_result =
7316 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector3(
7317 n,
7318 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
7319 .as_raw_ptr(),
7320 );
7321 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7322 }
7323
7324 pub unsafe fn from_usize_char16_t_allocator_of_char16_t(
7326 n: usize,
7327 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
7328 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
7329 ) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7330 let ffi_result =
7331 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector4(
7332 n,
7333 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(value)
7334 .as_raw_ptr(),
7335 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
7336 .as_raw_ptr(),
7337 );
7338 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7339 }
7340
7341 pub unsafe fn from_vector_of_char16_t_allocator_of_char16_t(
7343 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar16T>>,
7344 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
7345 ) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7346 let ffi_result =
7347 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector6(
7348 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar16T>>::cast_into(x)
7349 .as_raw_ptr(),
7350 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
7351 .as_raw_ptr(),
7352 );
7353 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7354 }
7355
7356 pub unsafe fn from_2_char16_t_allocator_of_char16_t(
7358 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
7359 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
7360 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
7361 ) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7362 let ffi_result =
7363 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector8(
7364 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(first)
7365 .as_raw_ptr(),
7366 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(last)
7367 .as_raw_ptr(),
7368 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(
7369 alloc,
7370 )
7371 .as_raw_ptr(),
7372 );
7373 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7374 }
7375
7376 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7378 let ffi_result =
7379 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector9(n);
7380 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7381 }
7382
7383 pub unsafe fn from_usize_char16_t(
7385 n: usize,
7386 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
7387 ) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7388 let ffi_result =
7389 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector10(
7390 n,
7391 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(value)
7392 .as_raw_ptr(),
7393 );
7394 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7395 }
7396
7397 pub unsafe fn from_2_char16_t(
7399 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
7400 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
7401 ) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7402 let ffi_result =
7403 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector11(
7404 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(first)
7405 .as_raw_ptr(),
7406 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(last)
7407 .as_raw_ptr(),
7408 );
7409 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7410 }
7411
7412 pub unsafe fn new_copy(
7414 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar16T>>,
7415 ) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
7416 let ffi_result =
7417 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector1(
7418 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar16T>>::cast_into(other)
7419 .as_raw_ptr(),
7420 );
7421 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7422 }
7423
7424 pub unsafe fn pop_back(&mut self) {
7426 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_pop_back(
7427 self as *mut crate::VectorOfChar16T,
7428 )
7429 }
7430
7431 pub unsafe fn push_back(
7433 &mut self,
7434 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
7435 ) {
7436 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_push_back(
7437 self as *mut crate::VectorOfChar16T,
7438 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(x)
7439 .as_raw_ptr(),
7440 )
7441 }
7442
7443 pub unsafe fn reserve(&mut self, n: usize) {
7445 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_reserve(
7446 self as *mut crate::VectorOfChar16T,
7447 n,
7448 )
7449 }
7450
7451 pub unsafe fn resize_1a(&mut self, new_size: usize) {
7453 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_resize(
7454 self as *mut crate::VectorOfChar16T,
7455 new_size,
7456 )
7457 }
7458
7459 pub unsafe fn resize_2a(
7461 &mut self,
7462 new_size: usize,
7463 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
7464 ) {
7465 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_resize1(
7466 self as *mut crate::VectorOfChar16T,
7467 new_size,
7468 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(x)
7469 .as_raw_ptr(),
7470 )
7471 }
7472
7473 pub unsafe fn shrink_to_fit(&mut self) {
7475 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_shrink_to_fit(
7476 self as *mut crate::VectorOfChar16T,
7477 )
7478 }
7479
7480 pub unsafe fn size(&self) -> usize {
7482 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_size(
7483 self as *const crate::VectorOfChar16T,
7484 )
7485 }
7486
7487 pub unsafe fn swap(
7489 &mut self,
7490 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar16T>>,
7491 ) {
7492 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_swap(
7493 self as *mut crate::VectorOfChar16T,
7494 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar16T>>::cast_into(x)
7495 .as_mut_raw_ptr(),
7496 )
7497 }
7498}
7499
7500#[repr(C)]
7502pub struct VectorOfChar32T {
7503 _unused: u8,
7504}
7505impl VectorOfChar32T {
7506 pub unsafe fn assign_usize_char32_t(
7508 &mut self,
7509 n: usize,
7510 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
7511 ) {
7512 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_assign(
7513 self as *mut crate::VectorOfChar32T,
7514 n,
7515 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(val)
7516 .as_raw_ptr(),
7517 )
7518 }
7519
7520 pub unsafe fn assign_2_char32_t(
7522 &mut self,
7523 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
7524 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
7525 ) {
7526 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_assign1(
7527 self as *mut crate::VectorOfChar32T,
7528 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(first)
7529 .as_raw_ptr(),
7530 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(last)
7531 .as_raw_ptr(),
7532 )
7533 }
7534
7535 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
7537 let ffi_result =
7538 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_at(
7539 self as *mut crate::VectorOfChar32T,
7540 n,
7541 );
7542 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7543 }
7544
7545 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char32_t> {
7547 let ffi_result =
7548 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_at1(
7549 self as *const crate::VectorOfChar32T,
7550 n,
7551 );
7552 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7553 }
7554
7555 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
7557 let ffi_result =
7558 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_back(
7559 self as *mut crate::VectorOfChar32T,
7560 );
7561 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7562 }
7563
7564 pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::char32_t> {
7566 let ffi_result =
7567 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_back1(
7568 self as *const crate::VectorOfChar32T,
7569 );
7570 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7571 }
7572
7573 pub unsafe fn capacity(&self) -> usize {
7575 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_capacity(
7576 self as *const crate::VectorOfChar32T,
7577 )
7578 }
7579
7580 pub unsafe fn clear(&mut self) {
7582 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_clear(
7583 self as *mut crate::VectorOfChar32T,
7584 )
7585 }
7586
7587 pub unsafe fn copy_from(
7589 &mut self,
7590 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar32T>>,
7591 ) -> ::cpp_core::MutRef<crate::VectorOfChar32T> {
7592 let ffi_result =
7593 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_operator_(
7594 self as *mut crate::VectorOfChar32T,
7595 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar32T>>::cast_into(other)
7596 .as_raw_ptr(),
7597 );
7598 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7599 }
7600
7601 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::char32_t> {
7603 let ffi_result =
7604 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_data(
7605 self as *mut crate::VectorOfChar32T,
7606 );
7607 ::cpp_core::MutPtr::from_raw(ffi_result)
7608 }
7609
7610 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
7612 let ffi_result =
7613 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_data1(
7614 self as *const crate::VectorOfChar32T,
7615 );
7616 ::cpp_core::Ptr::from_raw(ffi_result)
7617 }
7618
7619 pub unsafe fn empty(&self) -> bool {
7621 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_empty(
7622 self as *const crate::VectorOfChar32T,
7623 )
7624 }
7625
7626 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
7628 let ffi_result =
7629 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_front(
7630 self as *mut crate::VectorOfChar32T,
7631 );
7632 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7633 }
7634
7635 pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::char32_t> {
7637 let ffi_result =
7638 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_front1(
7639 self as *const crate::VectorOfChar32T,
7640 );
7641 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7642 }
7643
7644 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
7646 let ffi_result =
7647 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_operator__(
7648 self as *mut crate::VectorOfChar32T,
7649 n,
7650 );
7651 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7652 }
7653
7654 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char32_t> {
7656 let ffi_result =
7657 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_operator__1(
7658 self as *const crate::VectorOfChar32T,
7659 n,
7660 );
7661 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7662 }
7663
7664 pub unsafe fn max_size(&self) -> usize {
7666 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_max_size(
7667 self as *const crate::VectorOfChar32T,
7668 )
7669 }
7670
7671 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7673 let ffi_result =
7674 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector();
7675 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7676 }
7677
7678 pub unsafe fn from_allocator_of_char32_t(
7680 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
7681 ) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7682 let ffi_result =
7683 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector2(
7684 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
7685 .as_raw_ptr(),
7686 );
7687 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7688 }
7689
7690 pub unsafe fn from_usize_allocator_of_char32_t(
7692 n: usize,
7693 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
7694 ) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7695 let ffi_result =
7696 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector3(
7697 n,
7698 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
7699 .as_raw_ptr(),
7700 );
7701 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7702 }
7703
7704 pub unsafe fn from_usize_char32_t_allocator_of_char32_t(
7706 n: usize,
7707 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
7708 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
7709 ) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7710 let ffi_result =
7711 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector4(
7712 n,
7713 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(value)
7714 .as_raw_ptr(),
7715 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
7716 .as_raw_ptr(),
7717 );
7718 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7719 }
7720
7721 pub unsafe fn from_vector_of_char32_t_allocator_of_char32_t(
7723 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar32T>>,
7724 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
7725 ) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7726 let ffi_result =
7727 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector6(
7728 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar32T>>::cast_into(x)
7729 .as_raw_ptr(),
7730 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
7731 .as_raw_ptr(),
7732 );
7733 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7734 }
7735
7736 pub unsafe fn from_2_char32_t_allocator_of_char32_t(
7738 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
7739 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
7740 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
7741 ) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7742 let ffi_result =
7743 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector8(
7744 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(first)
7745 .as_raw_ptr(),
7746 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(last)
7747 .as_raw_ptr(),
7748 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(
7749 alloc,
7750 )
7751 .as_raw_ptr(),
7752 );
7753 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7754 }
7755
7756 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7758 let ffi_result =
7759 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector9(n);
7760 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7761 }
7762
7763 pub unsafe fn from_usize_char32_t(
7765 n: usize,
7766 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
7767 ) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7768 let ffi_result =
7769 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector10(
7770 n,
7771 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(value)
7772 .as_raw_ptr(),
7773 );
7774 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7775 }
7776
7777 pub unsafe fn from_2_char32_t(
7779 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
7780 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
7781 ) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7782 let ffi_result =
7783 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector11(
7784 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(first)
7785 .as_raw_ptr(),
7786 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(last)
7787 .as_raw_ptr(),
7788 );
7789 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7790 }
7791
7792 pub unsafe fn new_copy(
7794 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar32T>>,
7795 ) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
7796 let ffi_result =
7797 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector1(
7798 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar32T>>::cast_into(other)
7799 .as_raw_ptr(),
7800 );
7801 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
7802 }
7803
7804 pub unsafe fn pop_back(&mut self) {
7806 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_pop_back(
7807 self as *mut crate::VectorOfChar32T,
7808 )
7809 }
7810
7811 pub unsafe fn push_back(
7813 &mut self,
7814 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
7815 ) {
7816 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_push_back(
7817 self as *mut crate::VectorOfChar32T,
7818 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(x)
7819 .as_raw_ptr(),
7820 )
7821 }
7822
7823 pub unsafe fn reserve(&mut self, n: usize) {
7825 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_reserve(
7826 self as *mut crate::VectorOfChar32T,
7827 n,
7828 )
7829 }
7830
7831 pub unsafe fn resize_1a(&mut self, new_size: usize) {
7833 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_resize(
7834 self as *mut crate::VectorOfChar32T,
7835 new_size,
7836 )
7837 }
7838
7839 pub unsafe fn resize_2a(
7841 &mut self,
7842 new_size: usize,
7843 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
7844 ) {
7845 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_resize1(
7846 self as *mut crate::VectorOfChar32T,
7847 new_size,
7848 ::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(x)
7849 .as_raw_ptr(),
7850 )
7851 }
7852
7853 pub unsafe fn shrink_to_fit(&mut self) {
7855 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_shrink_to_fit(
7856 self as *mut crate::VectorOfChar32T,
7857 )
7858 }
7859
7860 pub unsafe fn size(&self) -> usize {
7862 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_size(
7863 self as *const crate::VectorOfChar32T,
7864 )
7865 }
7866
7867 pub unsafe fn swap(
7869 &mut self,
7870 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar32T>>,
7871 ) {
7872 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_swap(
7873 self as *mut crate::VectorOfChar32T,
7874 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar32T>>::cast_into(x)
7875 .as_mut_raw_ptr(),
7876 )
7877 }
7878}
7879
7880#[repr(C)]
7882pub struct VectorOfShort {
7883 _unused: u8,
7884}
7885impl VectorOfShort {
7886 pub unsafe fn assign_usize_short(
7888 &mut self,
7889 n: usize,
7890 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
7891 ) {
7892 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_assign(
7893 self as *mut crate::VectorOfShort,
7894 n,
7895 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(val)
7896 .as_raw_ptr(),
7897 )
7898 }
7899
7900 pub unsafe fn assign_2_short(
7902 &mut self,
7903 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
7904 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
7905 ) {
7906 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_assign1(
7907 self as *mut crate::VectorOfShort,
7908 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(first)
7909 .as_raw_ptr(),
7910 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(last)
7911 .as_raw_ptr(),
7912 )
7913 }
7914
7915 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_short> {
7917 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_at(
7918 self as *mut crate::VectorOfShort,
7919 n,
7920 );
7921 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7922 }
7923
7924 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_short> {
7926 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_at1(
7927 self as *const crate::VectorOfShort,
7928 n,
7929 );
7930 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7931 }
7932
7933 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_short> {
7935 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_back(
7936 self as *mut crate::VectorOfShort,
7937 );
7938 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7939 }
7940
7941 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_short> {
7943 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_back1(
7944 self as *const crate::VectorOfShort,
7945 );
7946 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
7947 }
7948
7949 pub unsafe fn capacity(&self) -> usize {
7951 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_capacity(
7952 self as *const crate::VectorOfShort,
7953 )
7954 }
7955
7956 pub unsafe fn clear(&mut self) {
7958 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_clear(
7959 self as *mut crate::VectorOfShort,
7960 )
7961 }
7962
7963 pub unsafe fn copy_from(
7965 &mut self,
7966 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfShort>>,
7967 ) -> ::cpp_core::MutRef<crate::VectorOfShort> {
7968 let ffi_result =
7969 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_operator_(
7970 self as *mut crate::VectorOfShort,
7971 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfShort>>::cast_into(other)
7972 .as_raw_ptr(),
7973 );
7974 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
7975 }
7976
7977 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_short> {
7979 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_data(
7980 self as *mut crate::VectorOfShort,
7981 );
7982 ::cpp_core::MutPtr::from_raw(ffi_result)
7983 }
7984
7985 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_short> {
7987 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_data1(
7988 self as *const crate::VectorOfShort,
7989 );
7990 ::cpp_core::Ptr::from_raw(ffi_result)
7991 }
7992
7993 pub unsafe fn empty(&self) -> bool {
7995 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_empty(
7996 self as *const crate::VectorOfShort,
7997 )
7998 }
7999
8000 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_short> {
8002 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_front(
8003 self as *mut crate::VectorOfShort,
8004 );
8005 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8006 }
8007
8008 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_short> {
8010 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_front1(
8011 self as *const crate::VectorOfShort,
8012 );
8013 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8014 }
8015
8016 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_short> {
8018 let ffi_result =
8019 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_operator__(
8020 self as *mut crate::VectorOfShort,
8021 n,
8022 );
8023 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8024 }
8025
8026 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_short> {
8028 let ffi_result =
8029 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_operator__1(
8030 self as *const crate::VectorOfShort,
8031 n,
8032 );
8033 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8034 }
8035
8036 pub unsafe fn max_size(&self) -> usize {
8038 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_max_size(
8039 self as *const crate::VectorOfShort,
8040 )
8041 }
8042
8043 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfShort> {
8045 let ffi_result =
8046 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector();
8047 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8048 }
8049
8050 pub unsafe fn from_allocator_of_short(
8052 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
8053 ) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8054 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector2(
8055 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
8056 .as_raw_ptr(),
8057 );
8058 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8059 }
8060
8061 pub unsafe fn from_usize_allocator_of_short(
8063 n: usize,
8064 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
8065 ) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8066 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector3(
8067 n,
8068 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
8069 .as_raw_ptr(),
8070 );
8071 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8072 }
8073
8074 pub unsafe fn from_usize_short_allocator_of_short(
8076 n: usize,
8077 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
8078 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
8079 ) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8080 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector4(
8081 n,
8082 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(value)
8083 .as_raw_ptr(),
8084 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
8085 .as_raw_ptr(),
8086 );
8087 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8088 }
8089
8090 pub unsafe fn from_vector_of_short_allocator_of_short(
8092 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfShort>>,
8093 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
8094 ) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8095 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector6(
8096 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfShort>>::cast_into(x)
8097 .as_raw_ptr(),
8098 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
8099 .as_raw_ptr(),
8100 );
8101 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8102 }
8103
8104 pub unsafe fn from_2_short_allocator_of_short(
8106 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
8107 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
8108 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
8109 ) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8110 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector8(
8111 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(first)
8112 .as_raw_ptr(),
8113 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(last)
8114 .as_raw_ptr(),
8115 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(alloc)
8116 .as_raw_ptr(),
8117 );
8118 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8119 }
8120
8121 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8123 let ffi_result =
8124 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector9(n);
8125 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8126 }
8127
8128 pub unsafe fn from_usize_short(
8130 n: usize,
8131 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
8132 ) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8133 let ffi_result =
8134 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector10(
8135 n,
8136 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(value)
8137 .as_raw_ptr(),
8138 );
8139 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8140 }
8141
8142 pub unsafe fn from_2_short(
8144 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
8145 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
8146 ) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8147 let ffi_result =
8148 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector11(
8149 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(first)
8150 .as_raw_ptr(),
8151 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(last)
8152 .as_raw_ptr(),
8153 );
8154 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8155 }
8156
8157 pub unsafe fn new_copy(
8159 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfShort>>,
8160 ) -> ::cpp_core::CppBox<crate::VectorOfShort> {
8161 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector1(
8162 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfShort>>::cast_into(other)
8163 .as_raw_ptr(),
8164 );
8165 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8166 }
8167
8168 pub unsafe fn pop_back(&mut self) {
8170 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_pop_back(
8171 self as *mut crate::VectorOfShort,
8172 )
8173 }
8174
8175 pub unsafe fn push_back(
8177 &mut self,
8178 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
8179 ) {
8180 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_push_back(
8181 self as *mut crate::VectorOfShort,
8182 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(x)
8183 .as_raw_ptr(),
8184 )
8185 }
8186
8187 pub unsafe fn reserve(&mut self, n: usize) {
8189 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_reserve(
8190 self as *mut crate::VectorOfShort,
8191 n,
8192 )
8193 }
8194
8195 pub unsafe fn resize_1a(&mut self, new_size: usize) {
8197 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_resize(
8198 self as *mut crate::VectorOfShort,
8199 new_size,
8200 )
8201 }
8202
8203 pub unsafe fn resize_2a(
8205 &mut self,
8206 new_size: usize,
8207 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
8208 ) {
8209 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_resize1(
8210 self as *mut crate::VectorOfShort,
8211 new_size,
8212 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(x)
8213 .as_raw_ptr(),
8214 )
8215 }
8216
8217 pub unsafe fn shrink_to_fit(&mut self) {
8219 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_shrink_to_fit(
8220 self as *mut crate::VectorOfShort,
8221 )
8222 }
8223
8224 pub unsafe fn size(&self) -> usize {
8226 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_size(
8227 self as *const crate::VectorOfShort,
8228 )
8229 }
8230
8231 pub unsafe fn swap(
8233 &mut self,
8234 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfShort>>,
8235 ) {
8236 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_swap(
8237 self as *mut crate::VectorOfShort,
8238 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfShort>>::cast_into(x)
8239 .as_mut_raw_ptr(),
8240 )
8241 }
8242}
8243
8244#[repr(C)]
8246pub struct VectorOfUshort {
8247 _unused: u8,
8248}
8249impl VectorOfUshort {
8250 pub unsafe fn assign_usize_ushort(
8252 &mut self,
8253 n: usize,
8254 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
8255 ) {
8256 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_assign(
8257 self as *mut crate::VectorOfUshort,
8258 n,
8259 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ushort>>::cast_into(val)
8260 .as_raw_ptr(),
8261 )
8262 }
8263
8264 pub unsafe fn assign_2_ushort(
8266 &mut self,
8267 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
8268 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
8269 ) {
8270 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_assign1(
8271 self as *mut crate::VectorOfUshort,
8272 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ushort>>::cast_into(first)
8273 .as_raw_ptr(),
8274 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ushort>>::cast_into(last)
8275 .as_raw_ptr(),
8276 )
8277 }
8278
8279 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ushort> {
8281 let ffi_result =
8282 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_at(
8283 self as *mut crate::VectorOfUshort,
8284 n,
8285 );
8286 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8287 }
8288
8289 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ushort> {
8291 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_at1(self as *const crate::VectorOfUshort, n);
8292 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8293 }
8294
8295 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ushort> {
8297 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_back(self as *mut crate::VectorOfUshort);
8298 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8299 }
8300
8301 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_ushort> {
8303 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_back1(self as *const crate::VectorOfUshort);
8304 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8305 }
8306
8307 pub unsafe fn capacity(&self) -> usize {
8309 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_capacity(self as *const crate::VectorOfUshort)
8310 }
8311
8312 pub unsafe fn clear(&mut self) {
8314 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_clear(
8315 self as *mut crate::VectorOfUshort,
8316 )
8317 }
8318
8319 pub unsafe fn copy_from(
8321 &mut self,
8322 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUshort>>,
8323 ) -> ::cpp_core::MutRef<crate::VectorOfUshort> {
8324 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_operator_(self as *mut crate::VectorOfUshort, ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUshort>>::cast_into(other).as_raw_ptr());
8325 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8326 }
8327
8328 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ushort> {
8330 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_data(self as *mut crate::VectorOfUshort);
8331 ::cpp_core::MutPtr::from_raw(ffi_result)
8332 }
8333
8334 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ushort> {
8336 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_data1(self as *const crate::VectorOfUshort);
8337 ::cpp_core::Ptr::from_raw(ffi_result)
8338 }
8339
8340 pub unsafe fn empty(&self) -> bool {
8342 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_empty(
8343 self as *const crate::VectorOfUshort,
8344 )
8345 }
8346
8347 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ushort> {
8349 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_front(self as *mut crate::VectorOfUshort);
8350 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8351 }
8352
8353 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_ushort> {
8355 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_front1(self as *const crate::VectorOfUshort);
8356 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8357 }
8358
8359 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ushort> {
8361 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_operator__(self as *mut crate::VectorOfUshort, n);
8362 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8363 }
8364
8365 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ushort> {
8367 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_operator__1(self as *const crate::VectorOfUshort, n);
8368 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8369 }
8370
8371 pub unsafe fn max_size(&self) -> usize {
8373 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_max_size(self as *const crate::VectorOfUshort)
8374 }
8375
8376 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8378 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector();
8379 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8380 }
8381
8382 pub unsafe fn from_allocator_of_ushort(
8384 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
8385 ) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8386 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector2(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(a).as_raw_ptr());
8387 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8388 }
8389
8390 pub unsafe fn from_usize_allocator_of_ushort(
8392 n: usize,
8393 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
8394 ) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8395 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector3(n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(a).as_raw_ptr());
8396 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8397 }
8398
8399 pub unsafe fn from_usize_ushort_allocator_of_ushort(
8401 n: usize,
8402 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
8403 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
8404 ) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8405 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector4(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ushort>>::cast_into(value).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(a).as_raw_ptr());
8406 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8407 }
8408
8409 pub unsafe fn from_vector_of_ushort_allocator_of_ushort(
8411 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUshort>>,
8412 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
8413 ) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8414 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector6(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUshort>>::cast_into(x).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(a).as_raw_ptr());
8415 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8416 }
8417
8418 pub unsafe fn from_2_ushort_allocator_of_ushort(
8420 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
8421 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
8422 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
8423 ) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8424 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector8(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ushort>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ushort>>::cast_into(last).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(alloc).as_raw_ptr());
8425 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8426 }
8427
8428 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8430 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector9(n);
8431 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8432 }
8433
8434 pub unsafe fn from_usize_ushort(
8436 n: usize,
8437 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
8438 ) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8439 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector10(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ushort>>::cast_into(value).as_raw_ptr());
8440 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8441 }
8442
8443 pub unsafe fn from_2_ushort(
8445 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
8446 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
8447 ) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8448 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector11(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ushort>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ushort>>::cast_into(last).as_raw_ptr());
8449 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8450 }
8451
8452 pub unsafe fn new_copy(
8454 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUshort>>,
8455 ) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
8456 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector1(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUshort>>::cast_into(other).as_raw_ptr());
8457 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8458 }
8459
8460 pub unsafe fn pop_back(&mut self) {
8462 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_pop_back(self as *mut crate::VectorOfUshort)
8463 }
8464
8465 pub unsafe fn push_back(
8467 &mut self,
8468 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
8469 ) {
8470 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_push_back(self as *mut crate::VectorOfUshort, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ushort>>::cast_into(x).as_raw_ptr())
8471 }
8472
8473 pub unsafe fn reserve(&mut self, n: usize) {
8475 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_reserve(
8476 self as *mut crate::VectorOfUshort,
8477 n,
8478 )
8479 }
8480
8481 pub unsafe fn resize_1a(&mut self, new_size: usize) {
8483 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_resize(
8484 self as *mut crate::VectorOfUshort,
8485 new_size,
8486 )
8487 }
8488
8489 pub unsafe fn resize_2a(
8491 &mut self,
8492 new_size: usize,
8493 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
8494 ) {
8495 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_resize1(
8496 self as *mut crate::VectorOfUshort,
8497 new_size,
8498 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ushort>>::cast_into(x)
8499 .as_raw_ptr(),
8500 )
8501 }
8502
8503 pub unsafe fn shrink_to_fit(&mut self) {
8505 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_shrink_to_fit(self as *mut crate::VectorOfUshort)
8506 }
8507
8508 pub unsafe fn size(&self) -> usize {
8510 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_size(
8511 self as *const crate::VectorOfUshort,
8512 )
8513 }
8514
8515 pub unsafe fn swap(
8517 &mut self,
8518 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUshort>>,
8519 ) {
8520 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_swap(
8521 self as *mut crate::VectorOfUshort,
8522 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUshort>>::cast_into(x)
8523 .as_mut_raw_ptr(),
8524 )
8525 }
8526}
8527
8528#[repr(C)]
8530pub struct VectorOfInt {
8531 _unused: u8,
8532}
8533impl VectorOfInt {
8534 pub unsafe fn assign_usize_int(
8536 &mut self,
8537 n: usize,
8538 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
8539 ) {
8540 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_assign(
8541 self as *mut crate::VectorOfInt,
8542 n,
8543 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(val)
8544 .as_raw_ptr(),
8545 )
8546 }
8547
8548 pub unsafe fn assign_2_int(
8550 &mut self,
8551 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
8552 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
8553 ) {
8554 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_assign1(
8555 self as *mut crate::VectorOfInt,
8556 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(first)
8557 .as_raw_ptr(),
8558 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(last)
8559 .as_raw_ptr(),
8560 )
8561 }
8562
8563 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_int> {
8565 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_at(
8566 self as *mut crate::VectorOfInt,
8567 n,
8568 );
8569 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8570 }
8571
8572 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_int> {
8574 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_at1(
8575 self as *const crate::VectorOfInt,
8576 n,
8577 );
8578 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8579 }
8580
8581 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_int> {
8583 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_back(
8584 self as *mut crate::VectorOfInt,
8585 );
8586 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8587 }
8588
8589 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_int> {
8591 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_back1(
8592 self as *const crate::VectorOfInt,
8593 );
8594 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8595 }
8596
8597 pub unsafe fn capacity(&self) -> usize {
8599 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_capacity(
8600 self as *const crate::VectorOfInt,
8601 )
8602 }
8603
8604 pub unsafe fn clear(&mut self) {
8606 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_clear(
8607 self as *mut crate::VectorOfInt,
8608 )
8609 }
8610
8611 pub unsafe fn copy_from(
8613 &mut self,
8614 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfInt>>,
8615 ) -> ::cpp_core::MutRef<crate::VectorOfInt> {
8616 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_operator_(
8617 self as *mut crate::VectorOfInt,
8618 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfInt>>::cast_into(other)
8619 .as_raw_ptr(),
8620 );
8621 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8622 }
8623
8624 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_int> {
8626 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_data(
8627 self as *mut crate::VectorOfInt,
8628 );
8629 ::cpp_core::MutPtr::from_raw(ffi_result)
8630 }
8631
8632 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_int> {
8634 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_data1(
8635 self as *const crate::VectorOfInt,
8636 );
8637 ::cpp_core::Ptr::from_raw(ffi_result)
8638 }
8639
8640 pub unsafe fn empty(&self) -> bool {
8642 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_empty(
8643 self as *const crate::VectorOfInt,
8644 )
8645 }
8646
8647 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_int> {
8649 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_front(
8650 self as *mut crate::VectorOfInt,
8651 );
8652 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8653 }
8654
8655 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_int> {
8657 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_front1(
8658 self as *const crate::VectorOfInt,
8659 );
8660 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8661 }
8662
8663 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_int> {
8665 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_operator__(
8666 self as *mut crate::VectorOfInt,
8667 n,
8668 );
8669 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8670 }
8671
8672 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_int> {
8674 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_operator__1(
8675 self as *const crate::VectorOfInt,
8676 n,
8677 );
8678 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8679 }
8680
8681 pub unsafe fn max_size(&self) -> usize {
8683 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_max_size(
8684 self as *const crate::VectorOfInt,
8685 )
8686 }
8687
8688 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfInt> {
8690 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector();
8691 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8692 }
8693
8694 pub unsafe fn from_allocator_of_int(
8696 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
8697 ) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8698 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector2(
8699 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
8700 .as_raw_ptr(),
8701 );
8702 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8703 }
8704
8705 pub unsafe fn from_usize_allocator_of_int(
8707 n: usize,
8708 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
8709 ) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8710 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector3(
8711 n,
8712 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
8713 .as_raw_ptr(),
8714 );
8715 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8716 }
8717
8718 pub unsafe fn from_usize_int_allocator_of_int(
8720 n: usize,
8721 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
8722 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
8723 ) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8724 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector4(
8725 n,
8726 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(value)
8727 .as_raw_ptr(),
8728 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
8729 .as_raw_ptr(),
8730 );
8731 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8732 }
8733
8734 pub unsafe fn from_vector_of_int_allocator_of_int(
8736 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfInt>>,
8737 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
8738 ) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8739 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector6(
8740 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfInt>>::cast_into(x).as_raw_ptr(),
8741 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
8742 .as_raw_ptr(),
8743 );
8744 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8745 }
8746
8747 pub unsafe fn from_2_int_allocator_of_int(
8749 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
8750 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
8751 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
8752 ) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8753 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector8(
8754 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(first)
8755 .as_raw_ptr(),
8756 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(last)
8757 .as_raw_ptr(),
8758 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(alloc)
8759 .as_raw_ptr(),
8760 );
8761 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8762 }
8763
8764 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8766 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector9(n);
8767 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8768 }
8769
8770 pub unsafe fn from_usize_int(
8772 n: usize,
8773 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
8774 ) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8775 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector10(
8776 n,
8777 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(value)
8778 .as_raw_ptr(),
8779 );
8780 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8781 }
8782
8783 pub unsafe fn from_2_int(
8785 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
8786 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
8787 ) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8788 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector11(
8789 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(first)
8790 .as_raw_ptr(),
8791 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(last)
8792 .as_raw_ptr(),
8793 );
8794 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8795 }
8796
8797 pub unsafe fn new_copy(
8799 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfInt>>,
8800 ) -> ::cpp_core::CppBox<crate::VectorOfInt> {
8801 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector1(
8802 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfInt>>::cast_into(other)
8803 .as_raw_ptr(),
8804 );
8805 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
8806 }
8807
8808 pub unsafe fn pop_back(&mut self) {
8810 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_pop_back(
8811 self as *mut crate::VectorOfInt,
8812 )
8813 }
8814
8815 pub unsafe fn push_back(
8817 &mut self,
8818 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
8819 ) {
8820 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_push_back(
8821 self as *mut crate::VectorOfInt,
8822 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(x)
8823 .as_raw_ptr(),
8824 )
8825 }
8826
8827 pub unsafe fn reserve(&mut self, n: usize) {
8829 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_reserve(
8830 self as *mut crate::VectorOfInt,
8831 n,
8832 )
8833 }
8834
8835 pub unsafe fn resize_1a(&mut self, new_size: usize) {
8837 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_resize(
8838 self as *mut crate::VectorOfInt,
8839 new_size,
8840 )
8841 }
8842
8843 pub unsafe fn resize_2a(
8845 &mut self,
8846 new_size: usize,
8847 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
8848 ) {
8849 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_resize1(
8850 self as *mut crate::VectorOfInt,
8851 new_size,
8852 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(x)
8853 .as_raw_ptr(),
8854 )
8855 }
8856
8857 pub unsafe fn shrink_to_fit(&mut self) {
8859 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_shrink_to_fit(
8860 self as *mut crate::VectorOfInt,
8861 )
8862 }
8863
8864 pub unsafe fn size(&self) -> usize {
8866 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_size(
8867 self as *const crate::VectorOfInt,
8868 )
8869 }
8870
8871 pub unsafe fn swap(
8873 &mut self,
8874 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfInt>>,
8875 ) {
8876 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_swap(
8877 self as *mut crate::VectorOfInt,
8878 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfInt>>::cast_into(x)
8879 .as_mut_raw_ptr(),
8880 )
8881 }
8882}
8883
8884#[repr(C)]
8886pub struct VectorOfUint {
8887 _unused: u8,
8888}
8889impl VectorOfUint {
8890 pub unsafe fn assign_usize_uint(
8892 &mut self,
8893 n: usize,
8894 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
8895 ) {
8896 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_assign(
8897 self as *mut crate::VectorOfUint,
8898 n,
8899 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uint>>::cast_into(val)
8900 .as_raw_ptr(),
8901 )
8902 }
8903
8904 pub unsafe fn assign_2_uint(
8906 &mut self,
8907 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
8908 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
8909 ) {
8910 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_assign1(
8911 self as *mut crate::VectorOfUint,
8912 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uint>>::cast_into(first)
8913 .as_raw_ptr(),
8914 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uint>>::cast_into(last)
8915 .as_raw_ptr(),
8916 )
8917 }
8918
8919 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_uint> {
8921 let ffi_result =
8922 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_at(
8923 self as *mut crate::VectorOfUint,
8924 n,
8925 );
8926 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8927 }
8928
8929 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_uint> {
8931 let ffi_result =
8932 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_at1(
8933 self as *const crate::VectorOfUint,
8934 n,
8935 );
8936 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8937 }
8938
8939 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_uint> {
8941 let ffi_result =
8942 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_back(
8943 self as *mut crate::VectorOfUint,
8944 );
8945 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8946 }
8947
8948 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_uint> {
8950 let ffi_result =
8951 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_back1(
8952 self as *const crate::VectorOfUint,
8953 );
8954 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
8955 }
8956
8957 pub unsafe fn capacity(&self) -> usize {
8959 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_capacity(
8960 self as *const crate::VectorOfUint,
8961 )
8962 }
8963
8964 pub unsafe fn clear(&mut self) {
8966 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_clear(
8967 self as *mut crate::VectorOfUint,
8968 )
8969 }
8970
8971 pub unsafe fn copy_from(
8973 &mut self,
8974 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUint>>,
8975 ) -> ::cpp_core::MutRef<crate::VectorOfUint> {
8976 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_operator_(self as *mut crate::VectorOfUint, ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUint>>::cast_into(other).as_raw_ptr());
8977 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
8978 }
8979
8980 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_uint> {
8982 let ffi_result =
8983 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_data(
8984 self as *mut crate::VectorOfUint,
8985 );
8986 ::cpp_core::MutPtr::from_raw(ffi_result)
8987 }
8988
8989 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_uint> {
8991 let ffi_result =
8992 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_data1(
8993 self as *const crate::VectorOfUint,
8994 );
8995 ::cpp_core::Ptr::from_raw(ffi_result)
8996 }
8997
8998 pub unsafe fn empty(&self) -> bool {
9000 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_empty(
9001 self as *const crate::VectorOfUint,
9002 )
9003 }
9004
9005 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_uint> {
9007 let ffi_result =
9008 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_front(
9009 self as *mut crate::VectorOfUint,
9010 );
9011 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9012 }
9013
9014 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_uint> {
9016 let ffi_result =
9017 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_front1(
9018 self as *const crate::VectorOfUint,
9019 );
9020 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9021 }
9022
9023 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_uint> {
9025 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_operator__(self as *mut crate::VectorOfUint, n);
9026 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9027 }
9028
9029 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_uint> {
9031 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_operator__1(self as *const crate::VectorOfUint, n);
9032 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9033 }
9034
9035 pub unsafe fn max_size(&self) -> usize {
9037 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_max_size(
9038 self as *const crate::VectorOfUint,
9039 )
9040 }
9041
9042 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUint> {
9044 let ffi_result =
9045 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector(
9046 );
9047 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9048 }
9049
9050 pub unsafe fn from_allocator_of_uint(
9052 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
9053 ) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9054 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector2(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(a).as_raw_ptr());
9055 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9056 }
9057
9058 pub unsafe fn from_usize_allocator_of_uint(
9060 n: usize,
9061 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
9062 ) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9063 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector3(n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(a).as_raw_ptr());
9064 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9065 }
9066
9067 pub unsafe fn from_usize_uint_allocator_of_uint(
9069 n: usize,
9070 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
9071 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
9072 ) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9073 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector4(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uint>>::cast_into(value).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(a).as_raw_ptr());
9074 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9075 }
9076
9077 pub unsafe fn from_vector_of_uint_allocator_of_uint(
9079 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUint>>,
9080 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
9081 ) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9082 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector6(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUint>>::cast_into(x).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(a).as_raw_ptr());
9083 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9084 }
9085
9086 pub unsafe fn from_2_uint_allocator_of_uint(
9088 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
9089 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
9090 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
9091 ) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9092 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector8(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uint>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uint>>::cast_into(last).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(alloc).as_raw_ptr());
9093 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9094 }
9095
9096 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9098 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector9(n);
9099 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9100 }
9101
9102 pub unsafe fn from_usize_uint(
9104 n: usize,
9105 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
9106 ) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9107 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector10(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uint>>::cast_into(value).as_raw_ptr());
9108 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9109 }
9110
9111 pub unsafe fn from_2_uint(
9113 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
9114 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
9115 ) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9116 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector11(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uint>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_uint>>::cast_into(last).as_raw_ptr());
9117 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9118 }
9119
9120 pub unsafe fn new_copy(
9122 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUint>>,
9123 ) -> ::cpp_core::CppBox<crate::VectorOfUint> {
9124 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector1(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUint>>::cast_into(other).as_raw_ptr());
9125 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9126 }
9127
9128 pub unsafe fn pop_back(&mut self) {
9130 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_pop_back(
9131 self as *mut crate::VectorOfUint,
9132 )
9133 }
9134
9135 pub unsafe fn push_back(
9137 &mut self,
9138 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
9139 ) {
9140 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_push_back(
9141 self as *mut crate::VectorOfUint,
9142 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uint>>::cast_into(x)
9143 .as_raw_ptr(),
9144 )
9145 }
9146
9147 pub unsafe fn reserve(&mut self, n: usize) {
9149 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_reserve(
9150 self as *mut crate::VectorOfUint,
9151 n,
9152 )
9153 }
9154
9155 pub unsafe fn resize_1a(&mut self, new_size: usize) {
9157 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_resize(
9158 self as *mut crate::VectorOfUint,
9159 new_size,
9160 )
9161 }
9162
9163 pub unsafe fn resize_2a(
9165 &mut self,
9166 new_size: usize,
9167 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
9168 ) {
9169 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_resize1(
9170 self as *mut crate::VectorOfUint,
9171 new_size,
9172 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uint>>::cast_into(x)
9173 .as_raw_ptr(),
9174 )
9175 }
9176
9177 pub unsafe fn shrink_to_fit(&mut self) {
9179 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_shrink_to_fit(self as *mut crate::VectorOfUint)
9180 }
9181
9182 pub unsafe fn size(&self) -> usize {
9184 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_size(
9185 self as *const crate::VectorOfUint,
9186 )
9187 }
9188
9189 pub unsafe fn swap(
9191 &mut self,
9192 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUint>>,
9193 ) {
9194 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_swap(
9195 self as *mut crate::VectorOfUint,
9196 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUint>>::cast_into(x)
9197 .as_mut_raw_ptr(),
9198 )
9199 }
9200}
9201
9202#[repr(C)]
9204pub struct VectorOfLong {
9205 _unused: u8,
9206}
9207impl VectorOfLong {
9208 pub unsafe fn assign_usize_long(
9210 &mut self,
9211 n: usize,
9212 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
9213 ) {
9214 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_assign(
9215 self as *mut crate::VectorOfLong,
9216 n,
9217 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(val)
9218 .as_raw_ptr(),
9219 )
9220 }
9221
9222 pub unsafe fn assign_2_long(
9224 &mut self,
9225 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
9226 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
9227 ) {
9228 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_assign1(
9229 self as *mut crate::VectorOfLong,
9230 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(first)
9231 .as_raw_ptr(),
9232 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(last)
9233 .as_raw_ptr(),
9234 )
9235 }
9236
9237 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_long> {
9239 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_at(
9240 self as *mut crate::VectorOfLong,
9241 n,
9242 );
9243 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9244 }
9245
9246 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_long> {
9248 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_at1(
9249 self as *const crate::VectorOfLong,
9250 n,
9251 );
9252 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9253 }
9254
9255 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_long> {
9257 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_back(
9258 self as *mut crate::VectorOfLong,
9259 );
9260 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9261 }
9262
9263 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_long> {
9265 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_back1(
9266 self as *const crate::VectorOfLong,
9267 );
9268 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9269 }
9270
9271 pub unsafe fn capacity(&self) -> usize {
9273 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_capacity(
9274 self as *const crate::VectorOfLong,
9275 )
9276 }
9277
9278 pub unsafe fn clear(&mut self) {
9280 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_clear(
9281 self as *mut crate::VectorOfLong,
9282 )
9283 }
9284
9285 pub unsafe fn copy_from(
9287 &mut self,
9288 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLong>>,
9289 ) -> ::cpp_core::MutRef<crate::VectorOfLong> {
9290 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_operator_(
9291 self as *mut crate::VectorOfLong,
9292 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLong>>::cast_into(other)
9293 .as_raw_ptr(),
9294 );
9295 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9296 }
9297
9298 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_long> {
9300 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_data(
9301 self as *mut crate::VectorOfLong,
9302 );
9303 ::cpp_core::MutPtr::from_raw(ffi_result)
9304 }
9305
9306 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_long> {
9308 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_data1(
9309 self as *const crate::VectorOfLong,
9310 );
9311 ::cpp_core::Ptr::from_raw(ffi_result)
9312 }
9313
9314 pub unsafe fn empty(&self) -> bool {
9316 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_empty(
9317 self as *const crate::VectorOfLong,
9318 )
9319 }
9320
9321 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_long> {
9323 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_front(
9324 self as *mut crate::VectorOfLong,
9325 );
9326 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9327 }
9328
9329 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_long> {
9331 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_front1(
9332 self as *const crate::VectorOfLong,
9333 );
9334 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9335 }
9336
9337 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_long> {
9339 let ffi_result =
9340 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_operator__(
9341 self as *mut crate::VectorOfLong,
9342 n,
9343 );
9344 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9345 }
9346
9347 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_long> {
9349 let ffi_result =
9350 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_operator__1(
9351 self as *const crate::VectorOfLong,
9352 n,
9353 );
9354 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9355 }
9356
9357 pub unsafe fn max_size(&self) -> usize {
9359 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_max_size(
9360 self as *const crate::VectorOfLong,
9361 )
9362 }
9363
9364 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfLong> {
9366 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector();
9367 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9368 }
9369
9370 pub unsafe fn from_allocator_of_long(
9372 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
9373 ) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9374 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector2(
9375 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
9376 .as_raw_ptr(),
9377 );
9378 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9379 }
9380
9381 pub unsafe fn from_usize_allocator_of_long(
9383 n: usize,
9384 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
9385 ) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9386 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector3(
9387 n,
9388 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
9389 .as_raw_ptr(),
9390 );
9391 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9392 }
9393
9394 pub unsafe fn from_usize_long_allocator_of_long(
9396 n: usize,
9397 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
9398 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
9399 ) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9400 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector4(
9401 n,
9402 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(value)
9403 .as_raw_ptr(),
9404 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
9405 .as_raw_ptr(),
9406 );
9407 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9408 }
9409
9410 pub unsafe fn from_vector_of_long_allocator_of_long(
9412 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLong>>,
9413 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
9414 ) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9415 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector6(
9416 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLong>>::cast_into(x).as_raw_ptr(),
9417 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
9418 .as_raw_ptr(),
9419 );
9420 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9421 }
9422
9423 pub unsafe fn from_2_long_allocator_of_long(
9425 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
9426 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
9427 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
9428 ) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9429 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector8(
9430 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(first)
9431 .as_raw_ptr(),
9432 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(last)
9433 .as_raw_ptr(),
9434 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(alloc)
9435 .as_raw_ptr(),
9436 );
9437 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9438 }
9439
9440 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9442 let ffi_result =
9443 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector9(n);
9444 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9445 }
9446
9447 pub unsafe fn from_usize_long(
9449 n: usize,
9450 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
9451 ) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9452 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector10(
9453 n,
9454 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(value)
9455 .as_raw_ptr(),
9456 );
9457 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9458 }
9459
9460 pub unsafe fn from_2_long(
9462 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
9463 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
9464 ) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9465 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector11(
9466 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(first)
9467 .as_raw_ptr(),
9468 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(last)
9469 .as_raw_ptr(),
9470 );
9471 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9472 }
9473
9474 pub unsafe fn new_copy(
9476 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLong>>,
9477 ) -> ::cpp_core::CppBox<crate::VectorOfLong> {
9478 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector1(
9479 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLong>>::cast_into(other)
9480 .as_raw_ptr(),
9481 );
9482 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9483 }
9484
9485 pub unsafe fn pop_back(&mut self) {
9487 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_pop_back(
9488 self as *mut crate::VectorOfLong,
9489 )
9490 }
9491
9492 pub unsafe fn push_back(
9494 &mut self,
9495 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
9496 ) {
9497 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_push_back(
9498 self as *mut crate::VectorOfLong,
9499 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(x)
9500 .as_raw_ptr(),
9501 )
9502 }
9503
9504 pub unsafe fn reserve(&mut self, n: usize) {
9506 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_reserve(
9507 self as *mut crate::VectorOfLong,
9508 n,
9509 )
9510 }
9511
9512 pub unsafe fn resize_1a(&mut self, new_size: usize) {
9514 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_resize(
9515 self as *mut crate::VectorOfLong,
9516 new_size,
9517 )
9518 }
9519
9520 pub unsafe fn resize_2a(
9522 &mut self,
9523 new_size: usize,
9524 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
9525 ) {
9526 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_resize1(
9527 self as *mut crate::VectorOfLong,
9528 new_size,
9529 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(x)
9530 .as_raw_ptr(),
9531 )
9532 }
9533
9534 pub unsafe fn shrink_to_fit(&mut self) {
9536 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_shrink_to_fit(
9537 self as *mut crate::VectorOfLong,
9538 )
9539 }
9540
9541 pub unsafe fn size(&self) -> usize {
9543 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_size(
9544 self as *const crate::VectorOfLong,
9545 )
9546 }
9547
9548 pub unsafe fn swap(
9550 &mut self,
9551 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLong>>,
9552 ) {
9553 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_swap(
9554 self as *mut crate::VectorOfLong,
9555 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLong>>::cast_into(x)
9556 .as_mut_raw_ptr(),
9557 )
9558 }
9559}
9560
9561#[repr(C)]
9563pub struct VectorOfUlong {
9564 _unused: u8,
9565}
9566impl VectorOfUlong {
9567 pub unsafe fn assign_usize_ulong(
9569 &mut self,
9570 n: usize,
9571 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
9572 ) {
9573 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_assign(
9574 self as *mut crate::VectorOfUlong,
9575 n,
9576 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulong>>::cast_into(val)
9577 .as_raw_ptr(),
9578 )
9579 }
9580
9581 pub unsafe fn assign_2_ulong(
9583 &mut self,
9584 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
9585 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
9586 ) {
9587 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_assign1(
9588 self as *mut crate::VectorOfUlong,
9589 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulong>>::cast_into(first)
9590 .as_raw_ptr(),
9591 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulong>>::cast_into(last)
9592 .as_raw_ptr(),
9593 )
9594 }
9595
9596 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ulong> {
9598 let ffi_result =
9599 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_at(
9600 self as *mut crate::VectorOfUlong,
9601 n,
9602 );
9603 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9604 }
9605
9606 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ulong> {
9608 let ffi_result =
9609 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_at1(
9610 self as *const crate::VectorOfUlong,
9611 n,
9612 );
9613 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9614 }
9615
9616 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ulong> {
9618 let ffi_result =
9619 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_back(
9620 self as *mut crate::VectorOfUlong,
9621 );
9622 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9623 }
9624
9625 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_ulong> {
9627 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_back1(self as *const crate::VectorOfUlong);
9628 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9629 }
9630
9631 pub unsafe fn capacity(&self) -> usize {
9633 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_capacity(
9634 self as *const crate::VectorOfUlong,
9635 )
9636 }
9637
9638 pub unsafe fn clear(&mut self) {
9640 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_clear(
9641 self as *mut crate::VectorOfUlong,
9642 )
9643 }
9644
9645 pub unsafe fn copy_from(
9647 &mut self,
9648 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlong>>,
9649 ) -> ::cpp_core::MutRef<crate::VectorOfUlong> {
9650 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_operator_(self as *mut crate::VectorOfUlong, ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUlong>>::cast_into(other).as_raw_ptr());
9651 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9652 }
9653
9654 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ulong> {
9656 let ffi_result =
9657 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_data(
9658 self as *mut crate::VectorOfUlong,
9659 );
9660 ::cpp_core::MutPtr::from_raw(ffi_result)
9661 }
9662
9663 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ulong> {
9665 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_data1(self as *const crate::VectorOfUlong);
9666 ::cpp_core::Ptr::from_raw(ffi_result)
9667 }
9668
9669 pub unsafe fn empty(&self) -> bool {
9671 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_empty(
9672 self as *const crate::VectorOfUlong,
9673 )
9674 }
9675
9676 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ulong> {
9678 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_front(self as *mut crate::VectorOfUlong);
9679 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9680 }
9681
9682 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_ulong> {
9684 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_front1(self as *const crate::VectorOfUlong);
9685 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9686 }
9687
9688 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ulong> {
9690 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_operator__(self as *mut crate::VectorOfUlong, n);
9691 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9692 }
9693
9694 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ulong> {
9696 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_operator__1(self as *const crate::VectorOfUlong, n);
9697 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9698 }
9699
9700 pub unsafe fn max_size(&self) -> usize {
9702 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_max_size(
9703 self as *const crate::VectorOfUlong,
9704 )
9705 }
9706
9707 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9709 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector();
9710 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9711 }
9712
9713 pub unsafe fn from_allocator_of_ulong(
9715 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
9716 ) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9717 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector2(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(a).as_raw_ptr());
9718 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9719 }
9720
9721 pub unsafe fn from_usize_allocator_of_ulong(
9723 n: usize,
9724 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
9725 ) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9726 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector3(n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(a).as_raw_ptr());
9727 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9728 }
9729
9730 pub unsafe fn from_usize_ulong_allocator_of_ulong(
9732 n: usize,
9733 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
9734 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
9735 ) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9736 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector4(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulong>>::cast_into(value).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(a).as_raw_ptr());
9737 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9738 }
9739
9740 pub unsafe fn from_vector_of_ulong_allocator_of_ulong(
9742 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlong>>,
9743 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
9744 ) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9745 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector6(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUlong>>::cast_into(x).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(a).as_raw_ptr());
9746 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9747 }
9748
9749 pub unsafe fn from_2_ulong_allocator_of_ulong(
9751 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
9752 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
9753 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
9754 ) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9755 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector8(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulong>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulong>>::cast_into(last).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(alloc).as_raw_ptr());
9756 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9757 }
9758
9759 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9761 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector9(n);
9762 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9763 }
9764
9765 pub unsafe fn from_usize_ulong(
9767 n: usize,
9768 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
9769 ) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9770 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector10(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulong>>::cast_into(value).as_raw_ptr());
9771 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9772 }
9773
9774 pub unsafe fn from_2_ulong(
9776 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
9777 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
9778 ) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9779 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector11(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulong>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulong>>::cast_into(last).as_raw_ptr());
9780 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9781 }
9782
9783 pub unsafe fn new_copy(
9785 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlong>>,
9786 ) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
9787 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector1(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUlong>>::cast_into(other).as_raw_ptr());
9788 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
9789 }
9790
9791 pub unsafe fn pop_back(&mut self) {
9793 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_pop_back(
9794 self as *mut crate::VectorOfUlong,
9795 )
9796 }
9797
9798 pub unsafe fn push_back(
9800 &mut self,
9801 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
9802 ) {
9803 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_push_back(
9804 self as *mut crate::VectorOfUlong,
9805 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulong>>::cast_into(x)
9806 .as_raw_ptr(),
9807 )
9808 }
9809
9810 pub unsafe fn reserve(&mut self, n: usize) {
9812 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_reserve(
9813 self as *mut crate::VectorOfUlong,
9814 n,
9815 )
9816 }
9817
9818 pub unsafe fn resize_1a(&mut self, new_size: usize) {
9820 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_resize(
9821 self as *mut crate::VectorOfUlong,
9822 new_size,
9823 )
9824 }
9825
9826 pub unsafe fn resize_2a(
9828 &mut self,
9829 new_size: usize,
9830 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
9831 ) {
9832 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_resize1(
9833 self as *mut crate::VectorOfUlong,
9834 new_size,
9835 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulong>>::cast_into(x)
9836 .as_raw_ptr(),
9837 )
9838 }
9839
9840 pub unsafe fn shrink_to_fit(&mut self) {
9842 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_shrink_to_fit(self as *mut crate::VectorOfUlong)
9843 }
9844
9845 pub unsafe fn size(&self) -> usize {
9847 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_size(
9848 self as *const crate::VectorOfUlong,
9849 )
9850 }
9851
9852 pub unsafe fn swap(
9854 &mut self,
9855 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlong>>,
9856 ) {
9857 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_swap(
9858 self as *mut crate::VectorOfUlong,
9859 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlong>>::cast_into(x)
9860 .as_mut_raw_ptr(),
9861 )
9862 }
9863}
9864
9865#[repr(C)]
9867pub struct VectorOfLonglong {
9868 _unused: u8,
9869}
9870impl VectorOfLonglong {
9871 pub unsafe fn assign_usize_longlong(
9873 &mut self,
9874 n: usize,
9875 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
9876 ) {
9877 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_assign(
9878 self as *mut crate::VectorOfLonglong,
9879 n,
9880 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(val)
9881 .as_raw_ptr(),
9882 )
9883 }
9884
9885 pub unsafe fn assign_2_longlong(
9887 &mut self,
9888 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
9889 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
9890 ) {
9891 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_assign1(
9892 self as *mut crate::VectorOfLonglong,
9893 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(first)
9894 .as_raw_ptr(),
9895 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(last)
9896 .as_raw_ptr(),
9897 )
9898 }
9899
9900 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_longlong> {
9902 let ffi_result =
9903 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_at(
9904 self as *mut crate::VectorOfLonglong,
9905 n,
9906 );
9907 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9908 }
9909
9910 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_longlong> {
9912 let ffi_result =
9913 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_at1(
9914 self as *const crate::VectorOfLonglong,
9915 n,
9916 );
9917 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9918 }
9919
9920 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_longlong> {
9922 let ffi_result =
9923 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_back(
9924 self as *mut crate::VectorOfLonglong,
9925 );
9926 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9927 }
9928
9929 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_longlong> {
9931 let ffi_result =
9932 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_back1(
9933 self as *const crate::VectorOfLonglong,
9934 );
9935 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
9936 }
9937
9938 pub unsafe fn capacity(&self) -> usize {
9940 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_capacity(
9941 self as *const crate::VectorOfLonglong,
9942 )
9943 }
9944
9945 pub unsafe fn clear(&mut self) {
9947 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_clear(
9948 self as *mut crate::VectorOfLonglong,
9949 )
9950 }
9951
9952 pub unsafe fn copy_from(
9954 &mut self,
9955 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLonglong>>,
9956 ) -> ::cpp_core::MutRef<crate::VectorOfLonglong> {
9957 let ffi_result =
9958 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_operator_(
9959 self as *mut crate::VectorOfLonglong,
9960 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLonglong>>::cast_into(other)
9961 .as_raw_ptr(),
9962 );
9963 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9964 }
9965
9966 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_longlong> {
9968 let ffi_result =
9969 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_data(
9970 self as *mut crate::VectorOfLonglong,
9971 );
9972 ::cpp_core::MutPtr::from_raw(ffi_result)
9973 }
9974
9975 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_longlong> {
9977 let ffi_result =
9978 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_data1(
9979 self as *const crate::VectorOfLonglong,
9980 );
9981 ::cpp_core::Ptr::from_raw(ffi_result)
9982 }
9983
9984 pub unsafe fn empty(&self) -> bool {
9986 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_empty(
9987 self as *const crate::VectorOfLonglong,
9988 )
9989 }
9990
9991 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_longlong> {
9993 let ffi_result =
9994 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_front(
9995 self as *mut crate::VectorOfLonglong,
9996 );
9997 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
9998 }
9999
10000 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_longlong> {
10002 let ffi_result =
10003 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_front1(
10004 self as *const crate::VectorOfLonglong,
10005 );
10006 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10007 }
10008
10009 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_longlong> {
10011 let ffi_result =
10012 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_operator__(
10013 self as *mut crate::VectorOfLonglong,
10014 n,
10015 );
10016 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10017 }
10018
10019 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_longlong> {
10021 let ffi_result =
10022 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_operator__1(
10023 self as *const crate::VectorOfLonglong,
10024 n,
10025 );
10026 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10027 }
10028
10029 pub unsafe fn max_size(&self) -> usize {
10031 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_max_size(
10032 self as *const crate::VectorOfLonglong,
10033 )
10034 }
10035
10036 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10038 let ffi_result =
10039 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector();
10040 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10041 }
10042
10043 pub unsafe fn from_allocator_of_longlong(
10045 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
10046 ) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10047 let ffi_result =
10048 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector2(
10049 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
10050 .as_raw_ptr(),
10051 );
10052 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10053 }
10054
10055 pub unsafe fn from_usize_allocator_of_longlong(
10057 n: usize,
10058 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
10059 ) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10060 let ffi_result =
10061 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector3(
10062 n,
10063 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
10064 .as_raw_ptr(),
10065 );
10066 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10067 }
10068
10069 pub unsafe fn from_usize_longlong_allocator_of_longlong(
10071 n: usize,
10072 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
10073 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
10074 ) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10075 let ffi_result =
10076 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector4(
10077 n,
10078 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(
10079 value,
10080 )
10081 .as_raw_ptr(),
10082 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
10083 .as_raw_ptr(),
10084 );
10085 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10086 }
10087
10088 pub unsafe fn from_vector_of_longlong_allocator_of_longlong(
10090 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLonglong>>,
10091 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
10092 ) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10093 let ffi_result =
10094 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector6(
10095 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLonglong>>::cast_into(x)
10096 .as_raw_ptr(),
10097 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
10098 .as_raw_ptr(),
10099 );
10100 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10101 }
10102
10103 pub unsafe fn from_2_longlong_allocator_of_longlong(
10105 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
10106 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
10107 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
10108 ) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10109 let ffi_result =
10110 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector8(
10111 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(
10112 first,
10113 )
10114 .as_raw_ptr(),
10115 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(
10116 last,
10117 )
10118 .as_raw_ptr(),
10119 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(
10120 alloc,
10121 )
10122 .as_raw_ptr(),
10123 );
10124 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10125 }
10126
10127 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10129 let ffi_result =
10130 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector9(n);
10131 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10132 }
10133
10134 pub unsafe fn from_usize_longlong(
10136 n: usize,
10137 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
10138 ) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10139 let ffi_result =
10140 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector10(
10141 n,
10142 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(
10143 value,
10144 )
10145 .as_raw_ptr(),
10146 );
10147 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10148 }
10149
10150 pub unsafe fn from_2_longlong(
10152 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
10153 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
10154 ) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10155 let ffi_result =
10156 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector11(
10157 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(
10158 first,
10159 )
10160 .as_raw_ptr(),
10161 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(
10162 last,
10163 )
10164 .as_raw_ptr(),
10165 );
10166 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10167 }
10168
10169 pub unsafe fn new_copy(
10171 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLonglong>>,
10172 ) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
10173 let ffi_result =
10174 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector1(
10175 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLonglong>>::cast_into(other)
10176 .as_raw_ptr(),
10177 );
10178 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10179 }
10180
10181 pub unsafe fn pop_back(&mut self) {
10183 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_pop_back(
10184 self as *mut crate::VectorOfLonglong,
10185 )
10186 }
10187
10188 pub unsafe fn push_back(
10190 &mut self,
10191 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
10192 ) {
10193 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_push_back(
10194 self as *mut crate::VectorOfLonglong,
10195 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(x)
10196 .as_raw_ptr(),
10197 )
10198 }
10199
10200 pub unsafe fn reserve(&mut self, n: usize) {
10202 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_reserve(
10203 self as *mut crate::VectorOfLonglong,
10204 n,
10205 )
10206 }
10207
10208 pub unsafe fn resize_1a(&mut self, new_size: usize) {
10210 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_resize(
10211 self as *mut crate::VectorOfLonglong,
10212 new_size,
10213 )
10214 }
10215
10216 pub unsafe fn resize_2a(
10218 &mut self,
10219 new_size: usize,
10220 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
10221 ) {
10222 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_resize1(
10223 self as *mut crate::VectorOfLonglong,
10224 new_size,
10225 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(x)
10226 .as_raw_ptr(),
10227 )
10228 }
10229
10230 pub unsafe fn shrink_to_fit(&mut self) {
10232 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_shrink_to_fit(
10233 self as *mut crate::VectorOfLonglong,
10234 )
10235 }
10236
10237 pub unsafe fn size(&self) -> usize {
10239 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_size(
10240 self as *const crate::VectorOfLonglong,
10241 )
10242 }
10243
10244 pub unsafe fn swap(
10246 &mut self,
10247 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLonglong>>,
10248 ) {
10249 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_swap(
10250 self as *mut crate::VectorOfLonglong,
10251 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLonglong>>::cast_into(x)
10252 .as_mut_raw_ptr(),
10253 )
10254 }
10255}
10256
10257#[repr(C)]
10259pub struct VectorOfUlonglong {
10260 _unused: u8,
10261}
10262impl VectorOfUlonglong {
10263 pub unsafe fn assign_usize_ulonglong(
10265 &mut self,
10266 n: usize,
10267 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
10268 ) {
10269 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_assign(self as *mut crate::VectorOfUlonglong, n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulonglong>>::cast_into(val).as_raw_ptr())
10270 }
10271
10272 pub unsafe fn assign_2_ulonglong(
10274 &mut self,
10275 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
10276 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
10277 ) {
10278 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_assign1(self as *mut crate::VectorOfUlonglong, ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>::cast_into(last).as_raw_ptr())
10279 }
10280
10281 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ulonglong> {
10283 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_at(self as *mut crate::VectorOfUlonglong, n);
10284 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10285 }
10286
10287 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ulonglong> {
10289 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_at1(self as *const crate::VectorOfUlonglong, n);
10290 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10291 }
10292
10293 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ulonglong> {
10295 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_back(self as *mut crate::VectorOfUlonglong);
10296 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10297 }
10298
10299 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_ulonglong> {
10301 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_back1(self as *const crate::VectorOfUlonglong);
10302 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10303 }
10304
10305 pub unsafe fn capacity(&self) -> usize {
10307 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_capacity(self as *const crate::VectorOfUlonglong)
10308 }
10309
10310 pub unsafe fn clear(&mut self) {
10312 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_clear(self as *mut crate::VectorOfUlonglong)
10313 }
10314
10315 pub unsafe fn copy_from(
10317 &mut self,
10318 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlonglong>>,
10319 ) -> ::cpp_core::MutRef<crate::VectorOfUlonglong> {
10320 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_operator_(self as *mut crate::VectorOfUlonglong, ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUlonglong>>::cast_into(other).as_raw_ptr());
10321 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10322 }
10323
10324 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ulonglong> {
10326 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_data(self as *mut crate::VectorOfUlonglong);
10327 ::cpp_core::MutPtr::from_raw(ffi_result)
10328 }
10329
10330 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ulonglong> {
10332 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_data1(self as *const crate::VectorOfUlonglong);
10333 ::cpp_core::Ptr::from_raw(ffi_result)
10334 }
10335
10336 pub unsafe fn empty(&self) -> bool {
10338 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_empty(self as *const crate::VectorOfUlonglong)
10339 }
10340
10341 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ulonglong> {
10343 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_front(self as *mut crate::VectorOfUlonglong);
10344 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10345 }
10346
10347 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_ulonglong> {
10349 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_front1(self as *const crate::VectorOfUlonglong);
10350 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10351 }
10352
10353 pub unsafe fn index_mut(
10355 &mut self,
10356 n: usize,
10357 ) -> ::cpp_core::MutRef<::std::os::raw::c_ulonglong> {
10358 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_operator__(self as *mut crate::VectorOfUlonglong, n);
10359 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10360 }
10361
10362 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ulonglong> {
10364 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_operator__1(self as *const crate::VectorOfUlonglong, n);
10365 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10366 }
10367
10368 pub unsafe fn max_size(&self) -> usize {
10370 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_max_size(self as *const crate::VectorOfUlonglong)
10371 }
10372
10373 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10375 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector();
10376 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10377 }
10378
10379 pub unsafe fn from_allocator_of_ulonglong(
10381 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
10382 ) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10383 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector2(::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(a).as_raw_ptr());
10384 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10385 }
10386
10387 pub unsafe fn from_usize_allocator_of_ulonglong(
10389 n: usize,
10390 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
10391 ) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10392 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector3(n, ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(a).as_raw_ptr());
10393 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10394 }
10395
10396 pub unsafe fn from_usize_ulonglong_allocator_of_ulonglong(
10398 n: usize,
10399 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
10400 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
10401 ) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10402 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector4(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulonglong>>::cast_into(value).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(a).as_raw_ptr());
10403 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10404 }
10405
10406 pub unsafe fn from_vector_of_ulonglong_allocator_of_ulonglong(
10408 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlonglong>>,
10409 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
10410 ) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10411 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector6(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUlonglong>>::cast_into(x).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(a).as_raw_ptr());
10412 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10413 }
10414
10415 pub unsafe fn from_2_ulonglong_allocator_of_ulonglong(
10417 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
10418 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
10419 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
10420 ) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10421 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector8(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>::cast_into(last).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(alloc).as_raw_ptr());
10422 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10423 }
10424
10425 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10427 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector9(n);
10428 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10429 }
10430
10431 pub unsafe fn from_usize_ulonglong(
10433 n: usize,
10434 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
10435 ) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10436 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector10(n, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulonglong>>::cast_into(value).as_raw_ptr());
10437 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10438 }
10439
10440 pub unsafe fn from_2_ulonglong(
10442 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
10443 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
10444 ) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10445 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector11(::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>::cast_into(first).as_raw_ptr(), ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>::cast_into(last).as_raw_ptr());
10446 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10447 }
10448
10449 pub unsafe fn new_copy(
10451 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlonglong>>,
10452 ) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
10453 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector1(::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUlonglong>>::cast_into(other).as_raw_ptr());
10454 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10455 }
10456
10457 pub unsafe fn pop_back(&mut self) {
10459 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_pop_back(self as *mut crate::VectorOfUlonglong)
10460 }
10461
10462 pub unsafe fn push_back(
10464 &mut self,
10465 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
10466 ) {
10467 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_push_back(self as *mut crate::VectorOfUlonglong, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulonglong>>::cast_into(x).as_raw_ptr())
10468 }
10469
10470 pub unsafe fn reserve(&mut self, n: usize) {
10472 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_reserve(self as *mut crate::VectorOfUlonglong, n)
10473 }
10474
10475 pub unsafe fn resize_1a(&mut self, new_size: usize) {
10477 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_resize(self as *mut crate::VectorOfUlonglong, new_size)
10478 }
10479
10480 pub unsafe fn resize_2a(
10482 &mut self,
10483 new_size: usize,
10484 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
10485 ) {
10486 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_resize1(self as *mut crate::VectorOfUlonglong, new_size, ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulonglong>>::cast_into(x).as_raw_ptr())
10487 }
10488
10489 pub unsafe fn shrink_to_fit(&mut self) {
10491 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_shrink_to_fit(self as *mut crate::VectorOfUlonglong)
10492 }
10493
10494 pub unsafe fn size(&self) -> usize {
10496 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_size(self as *const crate::VectorOfUlonglong)
10497 }
10498
10499 pub unsafe fn swap(
10501 &mut self,
10502 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlonglong>>,
10503 ) {
10504 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_swap(self as *mut crate::VectorOfUlonglong, ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlonglong>>::cast_into(x).as_mut_raw_ptr())
10505 }
10506}
10507
10508#[repr(C)]
10510pub struct VectorOfFloat {
10511 _unused: u8,
10512}
10513impl VectorOfFloat {
10514 pub unsafe fn assign_usize_float(
10516 &mut self,
10517 n: usize,
10518 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
10519 ) {
10520 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_assign(
10521 self as *mut crate::VectorOfFloat,
10522 n,
10523 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(val)
10524 .as_raw_ptr(),
10525 )
10526 }
10527
10528 pub unsafe fn assign_2_float(
10530 &mut self,
10531 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
10532 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
10533 ) {
10534 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_assign1(
10535 self as *mut crate::VectorOfFloat,
10536 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(first)
10537 .as_raw_ptr(),
10538 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(last)
10539 .as_raw_ptr(),
10540 )
10541 }
10542
10543 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_float> {
10545 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_at(
10546 self as *mut crate::VectorOfFloat,
10547 n,
10548 );
10549 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10550 }
10551
10552 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_float> {
10554 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_at1(
10555 self as *const crate::VectorOfFloat,
10556 n,
10557 );
10558 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10559 }
10560
10561 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_float> {
10563 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_back(
10564 self as *mut crate::VectorOfFloat,
10565 );
10566 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10567 }
10568
10569 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_float> {
10571 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_back1(
10572 self as *const crate::VectorOfFloat,
10573 );
10574 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10575 }
10576
10577 pub unsafe fn capacity(&self) -> usize {
10579 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_capacity(
10580 self as *const crate::VectorOfFloat,
10581 )
10582 }
10583
10584 pub unsafe fn clear(&mut self) {
10586 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_clear(
10587 self as *mut crate::VectorOfFloat,
10588 )
10589 }
10590
10591 pub unsafe fn copy_from(
10593 &mut self,
10594 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfFloat>>,
10595 ) -> ::cpp_core::MutRef<crate::VectorOfFloat> {
10596 let ffi_result =
10597 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_operator_(
10598 self as *mut crate::VectorOfFloat,
10599 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfFloat>>::cast_into(other)
10600 .as_raw_ptr(),
10601 );
10602 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10603 }
10604
10605 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_float> {
10607 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_data(
10608 self as *mut crate::VectorOfFloat,
10609 );
10610 ::cpp_core::MutPtr::from_raw(ffi_result)
10611 }
10612
10613 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_float> {
10615 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_data1(
10616 self as *const crate::VectorOfFloat,
10617 );
10618 ::cpp_core::Ptr::from_raw(ffi_result)
10619 }
10620
10621 pub unsafe fn empty(&self) -> bool {
10623 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_empty(
10624 self as *const crate::VectorOfFloat,
10625 )
10626 }
10627
10628 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_float> {
10630 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_front(
10631 self as *mut crate::VectorOfFloat,
10632 );
10633 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10634 }
10635
10636 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_float> {
10638 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_front1(
10639 self as *const crate::VectorOfFloat,
10640 );
10641 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10642 }
10643
10644 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_float> {
10646 let ffi_result =
10647 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_operator__(
10648 self as *mut crate::VectorOfFloat,
10649 n,
10650 );
10651 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10652 }
10653
10654 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_float> {
10656 let ffi_result =
10657 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_operator__1(
10658 self as *const crate::VectorOfFloat,
10659 n,
10660 );
10661 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10662 }
10663
10664 pub unsafe fn max_size(&self) -> usize {
10666 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_max_size(
10667 self as *const crate::VectorOfFloat,
10668 )
10669 }
10670
10671 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10673 let ffi_result =
10674 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector();
10675 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10676 }
10677
10678 pub unsafe fn from_allocator_of_float(
10680 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
10681 ) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10682 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector2(
10683 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
10684 .as_raw_ptr(),
10685 );
10686 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10687 }
10688
10689 pub unsafe fn from_usize_allocator_of_float(
10691 n: usize,
10692 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
10693 ) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10694 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector3(
10695 n,
10696 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
10697 .as_raw_ptr(),
10698 );
10699 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10700 }
10701
10702 pub unsafe fn from_usize_float_allocator_of_float(
10704 n: usize,
10705 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
10706 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
10707 ) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10708 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector4(
10709 n,
10710 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(value)
10711 .as_raw_ptr(),
10712 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
10713 .as_raw_ptr(),
10714 );
10715 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10716 }
10717
10718 pub unsafe fn from_vector_of_float_allocator_of_float(
10720 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfFloat>>,
10721 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
10722 ) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10723 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector6(
10724 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfFloat>>::cast_into(x)
10725 .as_raw_ptr(),
10726 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
10727 .as_raw_ptr(),
10728 );
10729 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10730 }
10731
10732 pub unsafe fn from_2_float_allocator_of_float(
10734 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
10735 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
10736 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
10737 ) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10738 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector8(
10739 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(first)
10740 .as_raw_ptr(),
10741 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(last)
10742 .as_raw_ptr(),
10743 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(alloc)
10744 .as_raw_ptr(),
10745 );
10746 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10747 }
10748
10749 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10751 let ffi_result =
10752 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector9(n);
10753 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10754 }
10755
10756 pub unsafe fn from_usize_float(
10758 n: usize,
10759 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
10760 ) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10761 let ffi_result =
10762 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector10(
10763 n,
10764 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(value)
10765 .as_raw_ptr(),
10766 );
10767 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10768 }
10769
10770 pub unsafe fn from_2_float(
10772 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
10773 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
10774 ) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10775 let ffi_result =
10776 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector11(
10777 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(first)
10778 .as_raw_ptr(),
10779 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(last)
10780 .as_raw_ptr(),
10781 );
10782 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10783 }
10784
10785 pub unsafe fn new_copy(
10787 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfFloat>>,
10788 ) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
10789 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector1(
10790 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfFloat>>::cast_into(other)
10791 .as_raw_ptr(),
10792 );
10793 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
10794 }
10795
10796 pub unsafe fn pop_back(&mut self) {
10798 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_pop_back(
10799 self as *mut crate::VectorOfFloat,
10800 )
10801 }
10802
10803 pub unsafe fn push_back(
10805 &mut self,
10806 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
10807 ) {
10808 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_push_back(
10809 self as *mut crate::VectorOfFloat,
10810 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(x)
10811 .as_raw_ptr(),
10812 )
10813 }
10814
10815 pub unsafe fn reserve(&mut self, n: usize) {
10817 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_reserve(
10818 self as *mut crate::VectorOfFloat,
10819 n,
10820 )
10821 }
10822
10823 pub unsafe fn resize_1a(&mut self, new_size: usize) {
10825 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_resize(
10826 self as *mut crate::VectorOfFloat,
10827 new_size,
10828 )
10829 }
10830
10831 pub unsafe fn resize_2a(
10833 &mut self,
10834 new_size: usize,
10835 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
10836 ) {
10837 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_resize1(
10838 self as *mut crate::VectorOfFloat,
10839 new_size,
10840 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(x)
10841 .as_raw_ptr(),
10842 )
10843 }
10844
10845 pub unsafe fn shrink_to_fit(&mut self) {
10847 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_shrink_to_fit(
10848 self as *mut crate::VectorOfFloat,
10849 )
10850 }
10851
10852 pub unsafe fn size(&self) -> usize {
10854 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_size(
10855 self as *const crate::VectorOfFloat,
10856 )
10857 }
10858
10859 pub unsafe fn swap(
10861 &mut self,
10862 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfFloat>>,
10863 ) {
10864 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_swap(
10865 self as *mut crate::VectorOfFloat,
10866 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfFloat>>::cast_into(x)
10867 .as_mut_raw_ptr(),
10868 )
10869 }
10870}
10871
10872#[repr(C)]
10874pub struct VectorOfDouble {
10875 _unused: u8,
10876}
10877impl VectorOfDouble {
10878 pub unsafe fn assign_usize_double(
10880 &mut self,
10881 n: usize,
10882 val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
10883 ) {
10884 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_assign(
10885 self as *mut crate::VectorOfDouble,
10886 n,
10887 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(val)
10888 .as_raw_ptr(),
10889 )
10890 }
10891
10892 pub unsafe fn assign_2_double(
10894 &mut self,
10895 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
10896 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
10897 ) {
10898 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_assign1(
10899 self as *mut crate::VectorOfDouble,
10900 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(first)
10901 .as_raw_ptr(),
10902 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(last)
10903 .as_raw_ptr(),
10904 )
10905 }
10906
10907 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_double> {
10909 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_at(
10910 self as *mut crate::VectorOfDouble,
10911 n,
10912 );
10913 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10914 }
10915
10916 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_double> {
10918 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_at1(
10919 self as *const crate::VectorOfDouble,
10920 n,
10921 );
10922 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10923 }
10924
10925 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_double> {
10927 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_back(
10928 self as *mut crate::VectorOfDouble,
10929 );
10930 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10931 }
10932
10933 pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_double> {
10935 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_back1(
10936 self as *const crate::VectorOfDouble,
10937 );
10938 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
10939 }
10940
10941 pub unsafe fn capacity(&self) -> usize {
10943 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_capacity(
10944 self as *const crate::VectorOfDouble,
10945 )
10946 }
10947
10948 pub unsafe fn clear(&mut self) {
10950 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_clear(
10951 self as *mut crate::VectorOfDouble,
10952 )
10953 }
10954
10955 pub unsafe fn copy_from(
10957 &mut self,
10958 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfDouble>>,
10959 ) -> ::cpp_core::MutRef<crate::VectorOfDouble> {
10960 let ffi_result =
10961 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_operator_(
10962 self as *mut crate::VectorOfDouble,
10963 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfDouble>>::cast_into(other)
10964 .as_raw_ptr(),
10965 );
10966 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10967 }
10968
10969 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_double> {
10971 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_data(
10972 self as *mut crate::VectorOfDouble,
10973 );
10974 ::cpp_core::MutPtr::from_raw(ffi_result)
10975 }
10976
10977 pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_double> {
10979 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_data1(
10980 self as *const crate::VectorOfDouble,
10981 );
10982 ::cpp_core::Ptr::from_raw(ffi_result)
10983 }
10984
10985 pub unsafe fn empty(&self) -> bool {
10987 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_empty(
10988 self as *const crate::VectorOfDouble,
10989 )
10990 }
10991
10992 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_double> {
10994 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_front(
10995 self as *mut crate::VectorOfDouble,
10996 );
10997 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
10998 }
10999
11000 pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_double> {
11002 let ffi_result =
11003 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_front1(
11004 self as *const crate::VectorOfDouble,
11005 );
11006 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11007 }
11008
11009 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_double> {
11011 let ffi_result =
11012 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_operator__(
11013 self as *mut crate::VectorOfDouble,
11014 n,
11015 );
11016 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11017 }
11018
11019 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_double> {
11021 let ffi_result =
11022 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_operator__1(
11023 self as *const crate::VectorOfDouble,
11024 n,
11025 );
11026 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11027 }
11028
11029 pub unsafe fn max_size(&self) -> usize {
11031 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_max_size(
11032 self as *const crate::VectorOfDouble,
11033 )
11034 }
11035
11036 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11038 let ffi_result =
11039 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector();
11040 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11041 }
11042
11043 pub unsafe fn from_allocator_of_double(
11045 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
11046 ) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11047 let ffi_result =
11048 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector2(
11049 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
11050 .as_raw_ptr(),
11051 );
11052 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11053 }
11054
11055 pub unsafe fn from_usize_allocator_of_double(
11057 n: usize,
11058 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
11059 ) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11060 let ffi_result =
11061 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector3(
11062 n,
11063 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
11064 .as_raw_ptr(),
11065 );
11066 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11067 }
11068
11069 pub unsafe fn from_usize_double_allocator_of_double(
11071 n: usize,
11072 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
11073 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
11074 ) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11075 let ffi_result =
11076 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector4(
11077 n,
11078 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(value)
11079 .as_raw_ptr(),
11080 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
11081 .as_raw_ptr(),
11082 );
11083 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11084 }
11085
11086 pub unsafe fn from_vector_of_double_allocator_of_double(
11088 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfDouble>>,
11089 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
11090 ) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11091 let ffi_result =
11092 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector6(
11093 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfDouble>>::cast_into(x)
11094 .as_raw_ptr(),
11095 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
11096 .as_raw_ptr(),
11097 );
11098 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11099 }
11100
11101 pub unsafe fn from_2_double_allocator_of_double(
11103 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
11104 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
11105 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
11106 ) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11107 let ffi_result =
11108 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector8(
11109 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(first)
11110 .as_raw_ptr(),
11111 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(last)
11112 .as_raw_ptr(),
11113 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(alloc)
11114 .as_raw_ptr(),
11115 );
11116 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11117 }
11118
11119 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11121 let ffi_result =
11122 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector9(n);
11123 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11124 }
11125
11126 pub unsafe fn from_usize_double(
11128 n: usize,
11129 value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
11130 ) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11131 let ffi_result =
11132 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector10(
11133 n,
11134 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(value)
11135 .as_raw_ptr(),
11136 );
11137 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11138 }
11139
11140 pub unsafe fn from_2_double(
11142 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
11143 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
11144 ) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11145 let ffi_result =
11146 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector11(
11147 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(first)
11148 .as_raw_ptr(),
11149 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(last)
11150 .as_raw_ptr(),
11151 );
11152 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11153 }
11154
11155 pub unsafe fn new_copy(
11157 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfDouble>>,
11158 ) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
11159 let ffi_result =
11160 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector1(
11161 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfDouble>>::cast_into(other)
11162 .as_raw_ptr(),
11163 );
11164 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11165 }
11166
11167 pub unsafe fn pop_back(&mut self) {
11169 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_pop_back(
11170 self as *mut crate::VectorOfDouble,
11171 )
11172 }
11173
11174 pub unsafe fn push_back(
11176 &mut self,
11177 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
11178 ) {
11179 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_push_back(
11180 self as *mut crate::VectorOfDouble,
11181 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(x)
11182 .as_raw_ptr(),
11183 )
11184 }
11185
11186 pub unsafe fn reserve(&mut self, n: usize) {
11188 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_reserve(
11189 self as *mut crate::VectorOfDouble,
11190 n,
11191 )
11192 }
11193
11194 pub unsafe fn resize_1a(&mut self, new_size: usize) {
11196 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_resize(
11197 self as *mut crate::VectorOfDouble,
11198 new_size,
11199 )
11200 }
11201
11202 pub unsafe fn resize_2a(
11204 &mut self,
11205 new_size: usize,
11206 x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
11207 ) {
11208 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_resize1(
11209 self as *mut crate::VectorOfDouble,
11210 new_size,
11211 ::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(x)
11212 .as_raw_ptr(),
11213 )
11214 }
11215
11216 pub unsafe fn shrink_to_fit(&mut self) {
11218 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_shrink_to_fit(
11219 self as *mut crate::VectorOfDouble,
11220 )
11221 }
11222
11223 pub unsafe fn size(&self) -> usize {
11225 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_size(
11226 self as *const crate::VectorOfDouble,
11227 )
11228 }
11229
11230 pub unsafe fn swap(
11232 &mut self,
11233 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfDouble>>,
11234 ) {
11235 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_swap(
11236 self as *mut crate::VectorOfDouble,
11237 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfDouble>>::cast_into(x)
11238 .as_mut_raw_ptr(),
11239 )
11240 }
11241}
11242
11243#[repr(C)]
11245pub struct VectorOfI8 {
11246 _unused: u8,
11247}
11248impl VectorOfI8 {
11249 pub unsafe fn assign_usize_i8(
11251 &mut self,
11252 n: usize,
11253 val: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>,
11254 ) {
11255 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_assign(
11256 self as *mut crate::VectorOfI8,
11257 n,
11258 ::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(val).as_raw_ptr(),
11259 )
11260 }
11261
11262 pub unsafe fn assign_2_i8(
11264 &mut self,
11265 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
11266 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
11267 ) {
11268 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_assign1(
11269 self as *mut crate::VectorOfI8,
11270 ::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(first).as_raw_ptr(),
11271 ::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(last).as_raw_ptr(),
11272 )
11273 }
11274
11275 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i8> {
11277 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_at(
11278 self as *mut crate::VectorOfI8,
11279 n,
11280 );
11281 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11282 }
11283
11284 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<i8> {
11286 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_at1(
11287 self as *const crate::VectorOfI8,
11288 n,
11289 );
11290 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11291 }
11292
11293 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<i8> {
11295 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_back(
11296 self as *mut crate::VectorOfI8,
11297 );
11298 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11299 }
11300
11301 pub unsafe fn back(&self) -> ::cpp_core::Ref<i8> {
11303 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_back1(
11304 self as *const crate::VectorOfI8,
11305 );
11306 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11307 }
11308
11309 pub unsafe fn capacity(&self) -> usize {
11311 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_capacity(
11312 self as *const crate::VectorOfI8,
11313 )
11314 }
11315
11316 pub unsafe fn clear(&mut self) {
11318 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_clear(
11319 self as *mut crate::VectorOfI8,
11320 )
11321 }
11322
11323 pub unsafe fn copy_from(
11325 &mut self,
11326 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI8>>,
11327 ) -> ::cpp_core::MutRef<crate::VectorOfI8> {
11328 let ffi_result =
11329 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_operator_(
11330 self as *mut crate::VectorOfI8,
11331 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI8>>::cast_into(other)
11332 .as_raw_ptr(),
11333 );
11334 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11335 }
11336
11337 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i8> {
11339 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_data(
11340 self as *mut crate::VectorOfI8,
11341 );
11342 ::cpp_core::MutPtr::from_raw(ffi_result)
11343 }
11344
11345 pub unsafe fn data(&self) -> ::cpp_core::Ptr<i8> {
11347 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_data1(
11348 self as *const crate::VectorOfI8,
11349 );
11350 ::cpp_core::Ptr::from_raw(ffi_result)
11351 }
11352
11353 pub unsafe fn empty(&self) -> bool {
11355 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_empty(
11356 self as *const crate::VectorOfI8,
11357 )
11358 }
11359
11360 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<i8> {
11362 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_front(
11363 self as *mut crate::VectorOfI8,
11364 );
11365 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11366 }
11367
11368 pub unsafe fn front(&self) -> ::cpp_core::Ref<i8> {
11370 let ffi_result =
11371 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_front1(
11372 self as *const crate::VectorOfI8,
11373 );
11374 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11375 }
11376
11377 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i8> {
11379 let ffi_result =
11380 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_operator__(
11381 self as *mut crate::VectorOfI8,
11382 n,
11383 );
11384 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11385 }
11386
11387 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<i8> {
11389 let ffi_result =
11390 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_operator__1(
11391 self as *const crate::VectorOfI8,
11392 n,
11393 );
11394 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11395 }
11396
11397 pub unsafe fn max_size(&self) -> usize {
11399 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_max_size(
11400 self as *const crate::VectorOfI8,
11401 )
11402 }
11403
11404 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfI8> {
11406 let ffi_result =
11407 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector();
11408 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11409 }
11410
11411 pub unsafe fn from_allocator_of_i8(
11413 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
11414 ) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11415 let ffi_result =
11416 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector2(
11417 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
11418 .as_raw_ptr(),
11419 );
11420 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11421 }
11422
11423 pub unsafe fn from_usize_allocator_of_i8(
11425 n: usize,
11426 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
11427 ) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11428 let ffi_result =
11429 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector3(
11430 n,
11431 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
11432 .as_raw_ptr(),
11433 );
11434 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11435 }
11436
11437 pub unsafe fn from_usize_i8_allocator_of_i8(
11439 n: usize,
11440 value: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>,
11441 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
11442 ) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11443 let ffi_result =
11444 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector4(
11445 n,
11446 ::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(value).as_raw_ptr(),
11447 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
11448 .as_raw_ptr(),
11449 );
11450 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11451 }
11452
11453 pub unsafe fn from_vector_of_i8_allocator_of_i8(
11455 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI8>>,
11456 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
11457 ) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11458 let ffi_result =
11459 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector6(
11460 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI8>>::cast_into(x)
11461 .as_raw_ptr(),
11462 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
11463 .as_raw_ptr(),
11464 );
11465 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11466 }
11467
11468 pub unsafe fn from_2_i8_allocator_of_i8(
11470 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
11471 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
11472 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
11473 ) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11474 let ffi_result =
11475 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector8(
11476 ::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(first).as_raw_ptr(),
11477 ::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(last).as_raw_ptr(),
11478 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(alloc)
11479 .as_raw_ptr(),
11480 );
11481 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11482 }
11483
11484 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11486 let ffi_result =
11487 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector9(n);
11488 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11489 }
11490
11491 pub unsafe fn from_usize_i8(
11493 n: usize,
11494 value: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>,
11495 ) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11496 let ffi_result =
11497 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector10(
11498 n,
11499 ::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(value).as_raw_ptr(),
11500 );
11501 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11502 }
11503
11504 pub unsafe fn from_2_i8(
11506 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
11507 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
11508 ) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11509 let ffi_result =
11510 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector11(
11511 ::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(first).as_raw_ptr(),
11512 ::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(last).as_raw_ptr(),
11513 );
11514 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11515 }
11516
11517 pub unsafe fn new_copy(
11519 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI8>>,
11520 ) -> ::cpp_core::CppBox<crate::VectorOfI8> {
11521 let ffi_result =
11522 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector1(
11523 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI8>>::cast_into(other)
11524 .as_raw_ptr(),
11525 );
11526 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11527 }
11528
11529 pub unsafe fn pop_back(&mut self) {
11531 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_pop_back(
11532 self as *mut crate::VectorOfI8,
11533 )
11534 }
11535
11536 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>) {
11538 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_push_back(
11539 self as *mut crate::VectorOfI8,
11540 ::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(x).as_raw_ptr(),
11541 )
11542 }
11543
11544 pub unsafe fn reserve(&mut self, n: usize) {
11546 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_reserve(
11547 self as *mut crate::VectorOfI8,
11548 n,
11549 )
11550 }
11551
11552 pub unsafe fn resize_1a(&mut self, new_size: usize) {
11554 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_resize(
11555 self as *mut crate::VectorOfI8,
11556 new_size,
11557 )
11558 }
11559
11560 pub unsafe fn resize_2a(
11562 &mut self,
11563 new_size: usize,
11564 x: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>,
11565 ) {
11566 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_resize1(
11567 self as *mut crate::VectorOfI8,
11568 new_size,
11569 ::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(x).as_raw_ptr(),
11570 )
11571 }
11572
11573 pub unsafe fn shrink_to_fit(&mut self) {
11575 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_shrink_to_fit(
11576 self as *mut crate::VectorOfI8,
11577 )
11578 }
11579
11580 pub unsafe fn size(&self) -> usize {
11582 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_size(
11583 self as *const crate::VectorOfI8,
11584 )
11585 }
11586
11587 pub unsafe fn swap(
11589 &mut self,
11590 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI8>>,
11591 ) {
11592 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_swap(
11593 self as *mut crate::VectorOfI8,
11594 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI8>>::cast_into(x)
11595 .as_mut_raw_ptr(),
11596 )
11597 }
11598}
11599
11600#[repr(C)]
11602pub struct VectorOfU8 {
11603 _unused: u8,
11604}
11605impl VectorOfU8 {
11606 pub unsafe fn assign_usize_u8(
11608 &mut self,
11609 n: usize,
11610 val: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>,
11611 ) {
11612 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_assign(
11613 self as *mut crate::VectorOfU8,
11614 n,
11615 ::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(val).as_raw_ptr(),
11616 )
11617 }
11618
11619 pub unsafe fn assign_2_u8(
11621 &mut self,
11622 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
11623 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
11624 ) {
11625 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_assign1(
11626 self as *mut crate::VectorOfU8,
11627 ::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(first).as_raw_ptr(),
11628 ::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(last).as_raw_ptr(),
11629 )
11630 }
11631
11632 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u8> {
11634 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_at(
11635 self as *mut crate::VectorOfU8,
11636 n,
11637 );
11638 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11639 }
11640
11641 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<u8> {
11643 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_at1(
11644 self as *const crate::VectorOfU8,
11645 n,
11646 );
11647 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11648 }
11649
11650 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<u8> {
11652 let ffi_result =
11653 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_back(
11654 self as *mut crate::VectorOfU8,
11655 );
11656 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11657 }
11658
11659 pub unsafe fn back(&self) -> ::cpp_core::Ref<u8> {
11661 let ffi_result =
11662 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_back1(
11663 self as *const crate::VectorOfU8,
11664 );
11665 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11666 }
11667
11668 pub unsafe fn capacity(&self) -> usize {
11670 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_capacity(
11671 self as *const crate::VectorOfU8,
11672 )
11673 }
11674
11675 pub unsafe fn clear(&mut self) {
11677 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_clear(
11678 self as *mut crate::VectorOfU8,
11679 )
11680 }
11681
11682 pub unsafe fn copy_from(
11684 &mut self,
11685 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU8>>,
11686 ) -> ::cpp_core::MutRef<crate::VectorOfU8> {
11687 let ffi_result =
11688 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_operator_(
11689 self as *mut crate::VectorOfU8,
11690 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU8>>::cast_into(other)
11691 .as_raw_ptr(),
11692 );
11693 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11694 }
11695
11696 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u8> {
11698 let ffi_result =
11699 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_data(
11700 self as *mut crate::VectorOfU8,
11701 );
11702 ::cpp_core::MutPtr::from_raw(ffi_result)
11703 }
11704
11705 pub unsafe fn data(&self) -> ::cpp_core::Ptr<u8> {
11707 let ffi_result =
11708 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_data1(
11709 self as *const crate::VectorOfU8,
11710 );
11711 ::cpp_core::Ptr::from_raw(ffi_result)
11712 }
11713
11714 pub unsafe fn empty(&self) -> bool {
11716 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_empty(
11717 self as *const crate::VectorOfU8,
11718 )
11719 }
11720
11721 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<u8> {
11723 let ffi_result =
11724 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_front(
11725 self as *mut crate::VectorOfU8,
11726 );
11727 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11728 }
11729
11730 pub unsafe fn front(&self) -> ::cpp_core::Ref<u8> {
11732 let ffi_result =
11733 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_front1(
11734 self as *const crate::VectorOfU8,
11735 );
11736 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11737 }
11738
11739 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u8> {
11741 let ffi_result =
11742 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_operator__(
11743 self as *mut crate::VectorOfU8,
11744 n,
11745 );
11746 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
11747 }
11748
11749 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<u8> {
11751 let ffi_result =
11752 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_operator__1(
11753 self as *const crate::VectorOfU8,
11754 n,
11755 );
11756 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
11757 }
11758
11759 pub unsafe fn max_size(&self) -> usize {
11761 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_max_size(
11762 self as *const crate::VectorOfU8,
11763 )
11764 }
11765
11766 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfU8> {
11768 let ffi_result =
11769 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector();
11770 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11771 }
11772
11773 pub unsafe fn from_allocator_of_u8(
11775 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
11776 ) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11777 let ffi_result =
11778 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector2(
11779 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
11780 .as_raw_ptr(),
11781 );
11782 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11783 }
11784
11785 pub unsafe fn from_usize_allocator_of_u8(
11787 n: usize,
11788 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
11789 ) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11790 let ffi_result =
11791 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector3(
11792 n,
11793 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
11794 .as_raw_ptr(),
11795 );
11796 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11797 }
11798
11799 pub unsafe fn from_usize_u8_allocator_of_u8(
11801 n: usize,
11802 value: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>,
11803 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
11804 ) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11805 let ffi_result =
11806 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector4(
11807 n,
11808 ::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(value).as_raw_ptr(),
11809 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
11810 .as_raw_ptr(),
11811 );
11812 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11813 }
11814
11815 pub unsafe fn from_vector_of_u8_allocator_of_u8(
11817 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU8>>,
11818 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
11819 ) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11820 let ffi_result =
11821 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector6(
11822 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU8>>::cast_into(x)
11823 .as_raw_ptr(),
11824 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
11825 .as_raw_ptr(),
11826 );
11827 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11828 }
11829
11830 pub unsafe fn from_2_u8_allocator_of_u8(
11832 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
11833 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
11834 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
11835 ) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11836 let ffi_result =
11837 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector8(
11838 ::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(first).as_raw_ptr(),
11839 ::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(last).as_raw_ptr(),
11840 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(alloc)
11841 .as_raw_ptr(),
11842 );
11843 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11844 }
11845
11846 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11848 let ffi_result =
11849 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector9(n);
11850 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11851 }
11852
11853 pub unsafe fn from_usize_u8(
11855 n: usize,
11856 value: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>,
11857 ) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11858 let ffi_result =
11859 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector10(
11860 n,
11861 ::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(value).as_raw_ptr(),
11862 );
11863 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11864 }
11865
11866 pub unsafe fn from_2_u8(
11868 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
11869 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
11870 ) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11871 let ffi_result =
11872 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector11(
11873 ::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(first).as_raw_ptr(),
11874 ::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(last).as_raw_ptr(),
11875 );
11876 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11877 }
11878
11879 pub unsafe fn new_copy(
11881 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU8>>,
11882 ) -> ::cpp_core::CppBox<crate::VectorOfU8> {
11883 let ffi_result =
11884 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector1(
11885 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU8>>::cast_into(other)
11886 .as_raw_ptr(),
11887 );
11888 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
11889 }
11890
11891 pub unsafe fn pop_back(&mut self) {
11893 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_pop_back(
11894 self as *mut crate::VectorOfU8,
11895 )
11896 }
11897
11898 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>) {
11900 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_push_back(
11901 self as *mut crate::VectorOfU8,
11902 ::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(x).as_raw_ptr(),
11903 )
11904 }
11905
11906 pub unsafe fn reserve(&mut self, n: usize) {
11908 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_reserve(
11909 self as *mut crate::VectorOfU8,
11910 n,
11911 )
11912 }
11913
11914 pub unsafe fn resize_1a(&mut self, new_size: usize) {
11916 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_resize(
11917 self as *mut crate::VectorOfU8,
11918 new_size,
11919 )
11920 }
11921
11922 pub unsafe fn resize_2a(
11924 &mut self,
11925 new_size: usize,
11926 x: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>,
11927 ) {
11928 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_resize1(
11929 self as *mut crate::VectorOfU8,
11930 new_size,
11931 ::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(x).as_raw_ptr(),
11932 )
11933 }
11934
11935 pub unsafe fn shrink_to_fit(&mut self) {
11937 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_shrink_to_fit(
11938 self as *mut crate::VectorOfU8,
11939 )
11940 }
11941
11942 pub unsafe fn size(&self) -> usize {
11944 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_size(
11945 self as *const crate::VectorOfU8,
11946 )
11947 }
11948
11949 pub unsafe fn swap(
11951 &mut self,
11952 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU8>>,
11953 ) {
11954 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_swap(
11955 self as *mut crate::VectorOfU8,
11956 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU8>>::cast_into(x)
11957 .as_mut_raw_ptr(),
11958 )
11959 }
11960}
11961
11962#[repr(C)]
11964pub struct VectorOfI16 {
11965 _unused: u8,
11966}
11967impl VectorOfI16 {
11968 pub unsafe fn assign_usize_i16(
11970 &mut self,
11971 n: usize,
11972 val: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>,
11973 ) {
11974 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_assign(
11975 self as *mut crate::VectorOfI16,
11976 n,
11977 ::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(val).as_raw_ptr(),
11978 )
11979 }
11980
11981 pub unsafe fn assign_2_i16(
11983 &mut self,
11984 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
11985 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
11986 ) {
11987 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_assign1(
11988 self as *mut crate::VectorOfI16,
11989 ::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(first).as_raw_ptr(),
11990 ::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(last).as_raw_ptr(),
11991 )
11992 }
11993
11994 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i16> {
11996 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_at(
11997 self as *mut crate::VectorOfI16,
11998 n,
11999 );
12000 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12001 }
12002
12003 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<i16> {
12005 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_at1(
12006 self as *const crate::VectorOfI16,
12007 n,
12008 );
12009 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12010 }
12011
12012 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<i16> {
12014 let ffi_result =
12015 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_back(
12016 self as *mut crate::VectorOfI16,
12017 );
12018 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12019 }
12020
12021 pub unsafe fn back(&self) -> ::cpp_core::Ref<i16> {
12023 let ffi_result =
12024 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_back1(
12025 self as *const crate::VectorOfI16,
12026 );
12027 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12028 }
12029
12030 pub unsafe fn capacity(&self) -> usize {
12032 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_capacity(
12033 self as *const crate::VectorOfI16,
12034 )
12035 }
12036
12037 pub unsafe fn clear(&mut self) {
12039 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_clear(
12040 self as *mut crate::VectorOfI16,
12041 )
12042 }
12043
12044 pub unsafe fn copy_from(
12046 &mut self,
12047 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI16>>,
12048 ) -> ::cpp_core::MutRef<crate::VectorOfI16> {
12049 let ffi_result =
12050 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_operator_(
12051 self as *mut crate::VectorOfI16,
12052 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI16>>::cast_into(other)
12053 .as_raw_ptr(),
12054 );
12055 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12056 }
12057
12058 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i16> {
12060 let ffi_result =
12061 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_data(
12062 self as *mut crate::VectorOfI16,
12063 );
12064 ::cpp_core::MutPtr::from_raw(ffi_result)
12065 }
12066
12067 pub unsafe fn data(&self) -> ::cpp_core::Ptr<i16> {
12069 let ffi_result =
12070 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_data1(
12071 self as *const crate::VectorOfI16,
12072 );
12073 ::cpp_core::Ptr::from_raw(ffi_result)
12074 }
12075
12076 pub unsafe fn empty(&self) -> bool {
12078 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_empty(
12079 self as *const crate::VectorOfI16,
12080 )
12081 }
12082
12083 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<i16> {
12085 let ffi_result =
12086 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_front(
12087 self as *mut crate::VectorOfI16,
12088 );
12089 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12090 }
12091
12092 pub unsafe fn front(&self) -> ::cpp_core::Ref<i16> {
12094 let ffi_result =
12095 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_front1(
12096 self as *const crate::VectorOfI16,
12097 );
12098 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12099 }
12100
12101 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i16> {
12103 let ffi_result =
12104 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_operator__(
12105 self as *mut crate::VectorOfI16,
12106 n,
12107 );
12108 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12109 }
12110
12111 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<i16> {
12113 let ffi_result =
12114 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_operator__1(
12115 self as *const crate::VectorOfI16,
12116 n,
12117 );
12118 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12119 }
12120
12121 pub unsafe fn max_size(&self) -> usize {
12123 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_max_size(
12124 self as *const crate::VectorOfI16,
12125 )
12126 }
12127
12128 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfI16> {
12130 let ffi_result =
12131 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector();
12132 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12133 }
12134
12135 pub unsafe fn from_allocator_of_i16(
12137 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
12138 ) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12139 let ffi_result =
12140 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector2(
12141 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
12142 .as_raw_ptr(),
12143 );
12144 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12145 }
12146
12147 pub unsafe fn from_usize_allocator_of_i16(
12149 n: usize,
12150 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
12151 ) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12152 let ffi_result =
12153 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector3(
12154 n,
12155 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
12156 .as_raw_ptr(),
12157 );
12158 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12159 }
12160
12161 pub unsafe fn from_usize_i16_allocator_of_i16(
12163 n: usize,
12164 value: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>,
12165 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
12166 ) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12167 let ffi_result =
12168 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector4(
12169 n,
12170 ::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(value).as_raw_ptr(),
12171 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
12172 .as_raw_ptr(),
12173 );
12174 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12175 }
12176
12177 pub unsafe fn from_vector_of_i16_allocator_of_i16(
12179 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI16>>,
12180 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
12181 ) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12182 let ffi_result =
12183 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector6(
12184 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI16>>::cast_into(x)
12185 .as_raw_ptr(),
12186 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
12187 .as_raw_ptr(),
12188 );
12189 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12190 }
12191
12192 pub unsafe fn from_2_i16_allocator_of_i16(
12194 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
12195 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
12196 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
12197 ) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12198 let ffi_result =
12199 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector8(
12200 ::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(first).as_raw_ptr(),
12201 ::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(last).as_raw_ptr(),
12202 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(alloc)
12203 .as_raw_ptr(),
12204 );
12205 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12206 }
12207
12208 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12210 let ffi_result =
12211 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector9(n);
12212 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12213 }
12214
12215 pub unsafe fn from_usize_i16(
12217 n: usize,
12218 value: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>,
12219 ) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12220 let ffi_result =
12221 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector10(
12222 n,
12223 ::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(value).as_raw_ptr(),
12224 );
12225 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12226 }
12227
12228 pub unsafe fn from_2_i16(
12230 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
12231 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
12232 ) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12233 let ffi_result =
12234 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector11(
12235 ::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(first).as_raw_ptr(),
12236 ::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(last).as_raw_ptr(),
12237 );
12238 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12239 }
12240
12241 pub unsafe fn new_copy(
12243 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI16>>,
12244 ) -> ::cpp_core::CppBox<crate::VectorOfI16> {
12245 let ffi_result =
12246 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector1(
12247 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI16>>::cast_into(other)
12248 .as_raw_ptr(),
12249 );
12250 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12251 }
12252
12253 pub unsafe fn pop_back(&mut self) {
12255 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_pop_back(
12256 self as *mut crate::VectorOfI16,
12257 )
12258 }
12259
12260 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>) {
12262 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_push_back(
12263 self as *mut crate::VectorOfI16,
12264 ::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(x).as_raw_ptr(),
12265 )
12266 }
12267
12268 pub unsafe fn reserve(&mut self, n: usize) {
12270 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_reserve(
12271 self as *mut crate::VectorOfI16,
12272 n,
12273 )
12274 }
12275
12276 pub unsafe fn resize_1a(&mut self, new_size: usize) {
12278 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_resize(
12279 self as *mut crate::VectorOfI16,
12280 new_size,
12281 )
12282 }
12283
12284 pub unsafe fn resize_2a(
12286 &mut self,
12287 new_size: usize,
12288 x: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>,
12289 ) {
12290 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_resize1(
12291 self as *mut crate::VectorOfI16,
12292 new_size,
12293 ::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(x).as_raw_ptr(),
12294 )
12295 }
12296
12297 pub unsafe fn shrink_to_fit(&mut self) {
12299 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_shrink_to_fit(
12300 self as *mut crate::VectorOfI16,
12301 )
12302 }
12303
12304 pub unsafe fn size(&self) -> usize {
12306 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_size(
12307 self as *const crate::VectorOfI16,
12308 )
12309 }
12310
12311 pub unsafe fn swap(
12313 &mut self,
12314 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI16>>,
12315 ) {
12316 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_swap(
12317 self as *mut crate::VectorOfI16,
12318 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI16>>::cast_into(x)
12319 .as_mut_raw_ptr(),
12320 )
12321 }
12322}
12323
12324#[repr(C)]
12326pub struct VectorOfU16 {
12327 _unused: u8,
12328}
12329impl VectorOfU16 {
12330 pub unsafe fn assign_usize_u16(
12332 &mut self,
12333 n: usize,
12334 val: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>,
12335 ) {
12336 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_assign(
12337 self as *mut crate::VectorOfU16,
12338 n,
12339 ::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(val).as_raw_ptr(),
12340 )
12341 }
12342
12343 pub unsafe fn assign_2_u16(
12345 &mut self,
12346 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
12347 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
12348 ) {
12349 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_assign1(
12350 self as *mut crate::VectorOfU16,
12351 ::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(first).as_raw_ptr(),
12352 ::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(last).as_raw_ptr(),
12353 )
12354 }
12355
12356 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u16> {
12358 let ffi_result =
12359 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_at(
12360 self as *mut crate::VectorOfU16,
12361 n,
12362 );
12363 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12364 }
12365
12366 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<u16> {
12368 let ffi_result =
12369 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_at1(
12370 self as *const crate::VectorOfU16,
12371 n,
12372 );
12373 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12374 }
12375
12376 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<u16> {
12378 let ffi_result =
12379 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_back(
12380 self as *mut crate::VectorOfU16,
12381 );
12382 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12383 }
12384
12385 pub unsafe fn back(&self) -> ::cpp_core::Ref<u16> {
12387 let ffi_result =
12388 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_back1(
12389 self as *const crate::VectorOfU16,
12390 );
12391 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12392 }
12393
12394 pub unsafe fn capacity(&self) -> usize {
12396 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_capacity(
12397 self as *const crate::VectorOfU16,
12398 )
12399 }
12400
12401 pub unsafe fn clear(&mut self) {
12403 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_clear(
12404 self as *mut crate::VectorOfU16,
12405 )
12406 }
12407
12408 pub unsafe fn copy_from(
12410 &mut self,
12411 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU16>>,
12412 ) -> ::cpp_core::MutRef<crate::VectorOfU16> {
12413 let ffi_result =
12414 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_operator_(
12415 self as *mut crate::VectorOfU16,
12416 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU16>>::cast_into(other)
12417 .as_raw_ptr(),
12418 );
12419 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12420 }
12421
12422 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u16> {
12424 let ffi_result =
12425 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_data(
12426 self as *mut crate::VectorOfU16,
12427 );
12428 ::cpp_core::MutPtr::from_raw(ffi_result)
12429 }
12430
12431 pub unsafe fn data(&self) -> ::cpp_core::Ptr<u16> {
12433 let ffi_result =
12434 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_data1(
12435 self as *const crate::VectorOfU16,
12436 );
12437 ::cpp_core::Ptr::from_raw(ffi_result)
12438 }
12439
12440 pub unsafe fn empty(&self) -> bool {
12442 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_empty(
12443 self as *const crate::VectorOfU16,
12444 )
12445 }
12446
12447 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<u16> {
12449 let ffi_result =
12450 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_front(
12451 self as *mut crate::VectorOfU16,
12452 );
12453 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12454 }
12455
12456 pub unsafe fn front(&self) -> ::cpp_core::Ref<u16> {
12458 let ffi_result =
12459 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_front1(
12460 self as *const crate::VectorOfU16,
12461 );
12462 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12463 }
12464
12465 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u16> {
12467 let ffi_result =
12468 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_operator__(
12469 self as *mut crate::VectorOfU16,
12470 n,
12471 );
12472 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12473 }
12474
12475 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<u16> {
12477 let ffi_result =
12478 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_operator__1(
12479 self as *const crate::VectorOfU16,
12480 n,
12481 );
12482 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12483 }
12484
12485 pub unsafe fn max_size(&self) -> usize {
12487 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_max_size(
12488 self as *const crate::VectorOfU16,
12489 )
12490 }
12491
12492 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfU16> {
12494 let ffi_result =
12495 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector();
12496 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12497 }
12498
12499 pub unsafe fn from_allocator_of_u16(
12501 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
12502 ) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12503 let ffi_result =
12504 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector2(
12505 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
12506 .as_raw_ptr(),
12507 );
12508 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12509 }
12510
12511 pub unsafe fn from_usize_allocator_of_u16(
12513 n: usize,
12514 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
12515 ) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12516 let ffi_result =
12517 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector3(
12518 n,
12519 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
12520 .as_raw_ptr(),
12521 );
12522 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12523 }
12524
12525 pub unsafe fn from_usize_u16_allocator_of_u16(
12527 n: usize,
12528 value: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>,
12529 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
12530 ) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12531 let ffi_result =
12532 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector4(
12533 n,
12534 ::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(value).as_raw_ptr(),
12535 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
12536 .as_raw_ptr(),
12537 );
12538 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12539 }
12540
12541 pub unsafe fn from_vector_of_u16_allocator_of_u16(
12543 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU16>>,
12544 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
12545 ) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12546 let ffi_result =
12547 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector6(
12548 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU16>>::cast_into(x)
12549 .as_raw_ptr(),
12550 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
12551 .as_raw_ptr(),
12552 );
12553 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12554 }
12555
12556 pub unsafe fn from_2_u16_allocator_of_u16(
12558 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
12559 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
12560 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
12561 ) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12562 let ffi_result =
12563 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector8(
12564 ::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(first).as_raw_ptr(),
12565 ::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(last).as_raw_ptr(),
12566 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(alloc)
12567 .as_raw_ptr(),
12568 );
12569 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12570 }
12571
12572 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12574 let ffi_result =
12575 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector9(n);
12576 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12577 }
12578
12579 pub unsafe fn from_usize_u16(
12581 n: usize,
12582 value: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>,
12583 ) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12584 let ffi_result =
12585 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector10(
12586 n,
12587 ::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(value).as_raw_ptr(),
12588 );
12589 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12590 }
12591
12592 pub unsafe fn from_2_u16(
12594 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
12595 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
12596 ) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12597 let ffi_result =
12598 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector11(
12599 ::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(first).as_raw_ptr(),
12600 ::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(last).as_raw_ptr(),
12601 );
12602 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12603 }
12604
12605 pub unsafe fn new_copy(
12607 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU16>>,
12608 ) -> ::cpp_core::CppBox<crate::VectorOfU16> {
12609 let ffi_result =
12610 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector1(
12611 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU16>>::cast_into(other)
12612 .as_raw_ptr(),
12613 );
12614 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12615 }
12616
12617 pub unsafe fn pop_back(&mut self) {
12619 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_pop_back(
12620 self as *mut crate::VectorOfU16,
12621 )
12622 }
12623
12624 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>) {
12626 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_push_back(
12627 self as *mut crate::VectorOfU16,
12628 ::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(x).as_raw_ptr(),
12629 )
12630 }
12631
12632 pub unsafe fn reserve(&mut self, n: usize) {
12634 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_reserve(
12635 self as *mut crate::VectorOfU16,
12636 n,
12637 )
12638 }
12639
12640 pub unsafe fn resize_1a(&mut self, new_size: usize) {
12642 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_resize(
12643 self as *mut crate::VectorOfU16,
12644 new_size,
12645 )
12646 }
12647
12648 pub unsafe fn resize_2a(
12650 &mut self,
12651 new_size: usize,
12652 x: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>,
12653 ) {
12654 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_resize1(
12655 self as *mut crate::VectorOfU16,
12656 new_size,
12657 ::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(x).as_raw_ptr(),
12658 )
12659 }
12660
12661 pub unsafe fn shrink_to_fit(&mut self) {
12663 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_shrink_to_fit(
12664 self as *mut crate::VectorOfU16,
12665 )
12666 }
12667
12668 pub unsafe fn size(&self) -> usize {
12670 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_size(
12671 self as *const crate::VectorOfU16,
12672 )
12673 }
12674
12675 pub unsafe fn swap(
12677 &mut self,
12678 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU16>>,
12679 ) {
12680 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_swap(
12681 self as *mut crate::VectorOfU16,
12682 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU16>>::cast_into(x)
12683 .as_mut_raw_ptr(),
12684 )
12685 }
12686}
12687
12688#[repr(C)]
12690pub struct VectorOfI32 {
12691 _unused: u8,
12692}
12693impl VectorOfI32 {
12694 pub unsafe fn assign_usize_i32(
12696 &mut self,
12697 n: usize,
12698 val: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>,
12699 ) {
12700 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_assign(
12701 self as *mut crate::VectorOfI32,
12702 n,
12703 ::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(val).as_raw_ptr(),
12704 )
12705 }
12706
12707 pub unsafe fn assign_2_i32(
12709 &mut self,
12710 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
12711 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
12712 ) {
12713 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_assign1(
12714 self as *mut crate::VectorOfI32,
12715 ::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(first).as_raw_ptr(),
12716 ::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(last).as_raw_ptr(),
12717 )
12718 }
12719
12720 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i32> {
12722 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_at(
12723 self as *mut crate::VectorOfI32,
12724 n,
12725 );
12726 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12727 }
12728
12729 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<i32> {
12731 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_at1(
12732 self as *const crate::VectorOfI32,
12733 n,
12734 );
12735 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12736 }
12737
12738 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<i32> {
12740 let ffi_result =
12741 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_back(
12742 self as *mut crate::VectorOfI32,
12743 );
12744 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12745 }
12746
12747 pub unsafe fn back(&self) -> ::cpp_core::Ref<i32> {
12749 let ffi_result =
12750 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_back1(
12751 self as *const crate::VectorOfI32,
12752 );
12753 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12754 }
12755
12756 pub unsafe fn capacity(&self) -> usize {
12758 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_capacity(
12759 self as *const crate::VectorOfI32,
12760 )
12761 }
12762
12763 pub unsafe fn clear(&mut self) {
12765 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_clear(
12766 self as *mut crate::VectorOfI32,
12767 )
12768 }
12769
12770 pub unsafe fn copy_from(
12772 &mut self,
12773 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI32>>,
12774 ) -> ::cpp_core::MutRef<crate::VectorOfI32> {
12775 let ffi_result =
12776 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_operator_(
12777 self as *mut crate::VectorOfI32,
12778 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI32>>::cast_into(other)
12779 .as_raw_ptr(),
12780 );
12781 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12782 }
12783
12784 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i32> {
12786 let ffi_result =
12787 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_data(
12788 self as *mut crate::VectorOfI32,
12789 );
12790 ::cpp_core::MutPtr::from_raw(ffi_result)
12791 }
12792
12793 pub unsafe fn data(&self) -> ::cpp_core::Ptr<i32> {
12795 let ffi_result =
12796 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_data1(
12797 self as *const crate::VectorOfI32,
12798 );
12799 ::cpp_core::Ptr::from_raw(ffi_result)
12800 }
12801
12802 pub unsafe fn empty(&self) -> bool {
12804 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_empty(
12805 self as *const crate::VectorOfI32,
12806 )
12807 }
12808
12809 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<i32> {
12811 let ffi_result =
12812 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_front(
12813 self as *mut crate::VectorOfI32,
12814 );
12815 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12816 }
12817
12818 pub unsafe fn front(&self) -> ::cpp_core::Ref<i32> {
12820 let ffi_result =
12821 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_front1(
12822 self as *const crate::VectorOfI32,
12823 );
12824 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12825 }
12826
12827 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i32> {
12829 let ffi_result =
12830 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_operator__(
12831 self as *mut crate::VectorOfI32,
12832 n,
12833 );
12834 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
12835 }
12836
12837 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<i32> {
12839 let ffi_result =
12840 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_operator__1(
12841 self as *const crate::VectorOfI32,
12842 n,
12843 );
12844 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
12845 }
12846
12847 pub unsafe fn max_size(&self) -> usize {
12849 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_max_size(
12850 self as *const crate::VectorOfI32,
12851 )
12852 }
12853
12854 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfI32> {
12856 let ffi_result =
12857 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector();
12858 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12859 }
12860
12861 pub unsafe fn from_allocator_of_i32(
12863 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
12864 ) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12865 let ffi_result =
12866 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector2(
12867 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
12868 .as_raw_ptr(),
12869 );
12870 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12871 }
12872
12873 pub unsafe fn from_usize_allocator_of_i32(
12875 n: usize,
12876 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
12877 ) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12878 let ffi_result =
12879 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector3(
12880 n,
12881 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
12882 .as_raw_ptr(),
12883 );
12884 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12885 }
12886
12887 pub unsafe fn from_usize_i32_allocator_of_i32(
12889 n: usize,
12890 value: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>,
12891 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
12892 ) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12893 let ffi_result =
12894 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector4(
12895 n,
12896 ::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(value).as_raw_ptr(),
12897 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
12898 .as_raw_ptr(),
12899 );
12900 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12901 }
12902
12903 pub unsafe fn from_vector_of_i32_allocator_of_i32(
12905 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI32>>,
12906 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
12907 ) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12908 let ffi_result =
12909 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector6(
12910 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI32>>::cast_into(x)
12911 .as_raw_ptr(),
12912 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
12913 .as_raw_ptr(),
12914 );
12915 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12916 }
12917
12918 pub unsafe fn from_2_i32_allocator_of_i32(
12920 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
12921 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
12922 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
12923 ) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12924 let ffi_result =
12925 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector8(
12926 ::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(first).as_raw_ptr(),
12927 ::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(last).as_raw_ptr(),
12928 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(alloc)
12929 .as_raw_ptr(),
12930 );
12931 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12932 }
12933
12934 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12936 let ffi_result =
12937 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector9(n);
12938 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12939 }
12940
12941 pub unsafe fn from_usize_i32(
12943 n: usize,
12944 value: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>,
12945 ) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12946 let ffi_result =
12947 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector10(
12948 n,
12949 ::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(value).as_raw_ptr(),
12950 );
12951 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12952 }
12953
12954 pub unsafe fn from_2_i32(
12956 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
12957 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
12958 ) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12959 let ffi_result =
12960 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector11(
12961 ::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(first).as_raw_ptr(),
12962 ::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(last).as_raw_ptr(),
12963 );
12964 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12965 }
12966
12967 pub unsafe fn new_copy(
12969 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI32>>,
12970 ) -> ::cpp_core::CppBox<crate::VectorOfI32> {
12971 let ffi_result =
12972 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector1(
12973 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI32>>::cast_into(other)
12974 .as_raw_ptr(),
12975 );
12976 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
12977 }
12978
12979 pub unsafe fn pop_back(&mut self) {
12981 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_pop_back(
12982 self as *mut crate::VectorOfI32,
12983 )
12984 }
12985
12986 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>) {
12988 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_push_back(
12989 self as *mut crate::VectorOfI32,
12990 ::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(x).as_raw_ptr(),
12991 )
12992 }
12993
12994 pub unsafe fn reserve(&mut self, n: usize) {
12996 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_reserve(
12997 self as *mut crate::VectorOfI32,
12998 n,
12999 )
13000 }
13001
13002 pub unsafe fn resize_1a(&mut self, new_size: usize) {
13004 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_resize(
13005 self as *mut crate::VectorOfI32,
13006 new_size,
13007 )
13008 }
13009
13010 pub unsafe fn resize_2a(
13012 &mut self,
13013 new_size: usize,
13014 x: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>,
13015 ) {
13016 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_resize1(
13017 self as *mut crate::VectorOfI32,
13018 new_size,
13019 ::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(x).as_raw_ptr(),
13020 )
13021 }
13022
13023 pub unsafe fn shrink_to_fit(&mut self) {
13025 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_shrink_to_fit(
13026 self as *mut crate::VectorOfI32,
13027 )
13028 }
13029
13030 pub unsafe fn size(&self) -> usize {
13032 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_size(
13033 self as *const crate::VectorOfI32,
13034 )
13035 }
13036
13037 pub unsafe fn swap(
13039 &mut self,
13040 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI32>>,
13041 ) {
13042 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_swap(
13043 self as *mut crate::VectorOfI32,
13044 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI32>>::cast_into(x)
13045 .as_mut_raw_ptr(),
13046 )
13047 }
13048}
13049
13050#[repr(C)]
13052pub struct VectorOfU32 {
13053 _unused: u8,
13054}
13055impl VectorOfU32 {
13056 pub unsafe fn assign_usize_u32(
13058 &mut self,
13059 n: usize,
13060 val: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>,
13061 ) {
13062 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_assign(
13063 self as *mut crate::VectorOfU32,
13064 n,
13065 ::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(val).as_raw_ptr(),
13066 )
13067 }
13068
13069 pub unsafe fn assign_2_u32(
13071 &mut self,
13072 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
13073 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
13074 ) {
13075 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_assign1(
13076 self as *mut crate::VectorOfU32,
13077 ::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(first).as_raw_ptr(),
13078 ::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(last).as_raw_ptr(),
13079 )
13080 }
13081
13082 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u32> {
13084 let ffi_result =
13085 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_at(
13086 self as *mut crate::VectorOfU32,
13087 n,
13088 );
13089 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13090 }
13091
13092 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<u32> {
13094 let ffi_result =
13095 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_at1(
13096 self as *const crate::VectorOfU32,
13097 n,
13098 );
13099 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13100 }
13101
13102 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<u32> {
13104 let ffi_result =
13105 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_back(
13106 self as *mut crate::VectorOfU32,
13107 );
13108 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13109 }
13110
13111 pub unsafe fn back(&self) -> ::cpp_core::Ref<u32> {
13113 let ffi_result =
13114 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_back1(
13115 self as *const crate::VectorOfU32,
13116 );
13117 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13118 }
13119
13120 pub unsafe fn capacity(&self) -> usize {
13122 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_capacity(
13123 self as *const crate::VectorOfU32,
13124 )
13125 }
13126
13127 pub unsafe fn clear(&mut self) {
13129 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_clear(
13130 self as *mut crate::VectorOfU32,
13131 )
13132 }
13133
13134 pub unsafe fn copy_from(
13136 &mut self,
13137 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU32>>,
13138 ) -> ::cpp_core::MutRef<crate::VectorOfU32> {
13139 let ffi_result =
13140 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_operator_(
13141 self as *mut crate::VectorOfU32,
13142 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU32>>::cast_into(other)
13143 .as_raw_ptr(),
13144 );
13145 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13146 }
13147
13148 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u32> {
13150 let ffi_result =
13151 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_data(
13152 self as *mut crate::VectorOfU32,
13153 );
13154 ::cpp_core::MutPtr::from_raw(ffi_result)
13155 }
13156
13157 pub unsafe fn data(&self) -> ::cpp_core::Ptr<u32> {
13159 let ffi_result =
13160 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_data1(
13161 self as *const crate::VectorOfU32,
13162 );
13163 ::cpp_core::Ptr::from_raw(ffi_result)
13164 }
13165
13166 pub unsafe fn empty(&self) -> bool {
13168 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_empty(
13169 self as *const crate::VectorOfU32,
13170 )
13171 }
13172
13173 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<u32> {
13175 let ffi_result =
13176 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_front(
13177 self as *mut crate::VectorOfU32,
13178 );
13179 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13180 }
13181
13182 pub unsafe fn front(&self) -> ::cpp_core::Ref<u32> {
13184 let ffi_result =
13185 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_front1(
13186 self as *const crate::VectorOfU32,
13187 );
13188 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13189 }
13190
13191 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u32> {
13193 let ffi_result =
13194 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_operator__(
13195 self as *mut crate::VectorOfU32,
13196 n,
13197 );
13198 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13199 }
13200
13201 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<u32> {
13203 let ffi_result =
13204 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_operator__1(
13205 self as *const crate::VectorOfU32,
13206 n,
13207 );
13208 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13209 }
13210
13211 pub unsafe fn max_size(&self) -> usize {
13213 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_max_size(
13214 self as *const crate::VectorOfU32,
13215 )
13216 }
13217
13218 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfU32> {
13220 let ffi_result =
13221 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector();
13222 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13223 }
13224
13225 pub unsafe fn from_allocator_of_u32(
13227 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
13228 ) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13229 let ffi_result =
13230 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector2(
13231 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
13232 .as_raw_ptr(),
13233 );
13234 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13235 }
13236
13237 pub unsafe fn from_usize_allocator_of_u32(
13239 n: usize,
13240 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
13241 ) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13242 let ffi_result =
13243 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector3(
13244 n,
13245 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
13246 .as_raw_ptr(),
13247 );
13248 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13249 }
13250
13251 pub unsafe fn from_usize_u32_allocator_of_u32(
13253 n: usize,
13254 value: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>,
13255 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
13256 ) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13257 let ffi_result =
13258 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector4(
13259 n,
13260 ::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(value).as_raw_ptr(),
13261 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
13262 .as_raw_ptr(),
13263 );
13264 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13265 }
13266
13267 pub unsafe fn from_vector_of_u32_allocator_of_u32(
13269 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU32>>,
13270 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
13271 ) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13272 let ffi_result =
13273 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector6(
13274 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU32>>::cast_into(x)
13275 .as_raw_ptr(),
13276 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
13277 .as_raw_ptr(),
13278 );
13279 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13280 }
13281
13282 pub unsafe fn from_2_u32_allocator_of_u32(
13284 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
13285 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
13286 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
13287 ) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13288 let ffi_result =
13289 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector8(
13290 ::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(first).as_raw_ptr(),
13291 ::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(last).as_raw_ptr(),
13292 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(alloc)
13293 .as_raw_ptr(),
13294 );
13295 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13296 }
13297
13298 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13300 let ffi_result =
13301 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector9(n);
13302 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13303 }
13304
13305 pub unsafe fn from_usize_u32(
13307 n: usize,
13308 value: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>,
13309 ) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13310 let ffi_result =
13311 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector10(
13312 n,
13313 ::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(value).as_raw_ptr(),
13314 );
13315 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13316 }
13317
13318 pub unsafe fn from_2_u32(
13320 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
13321 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
13322 ) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13323 let ffi_result =
13324 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector11(
13325 ::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(first).as_raw_ptr(),
13326 ::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(last).as_raw_ptr(),
13327 );
13328 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13329 }
13330
13331 pub unsafe fn new_copy(
13333 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU32>>,
13334 ) -> ::cpp_core::CppBox<crate::VectorOfU32> {
13335 let ffi_result =
13336 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector1(
13337 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU32>>::cast_into(other)
13338 .as_raw_ptr(),
13339 );
13340 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13341 }
13342
13343 pub unsafe fn pop_back(&mut self) {
13345 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_pop_back(
13346 self as *mut crate::VectorOfU32,
13347 )
13348 }
13349
13350 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>) {
13352 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_push_back(
13353 self as *mut crate::VectorOfU32,
13354 ::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(x).as_raw_ptr(),
13355 )
13356 }
13357
13358 pub unsafe fn reserve(&mut self, n: usize) {
13360 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_reserve(
13361 self as *mut crate::VectorOfU32,
13362 n,
13363 )
13364 }
13365
13366 pub unsafe fn resize_1a(&mut self, new_size: usize) {
13368 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_resize(
13369 self as *mut crate::VectorOfU32,
13370 new_size,
13371 )
13372 }
13373
13374 pub unsafe fn resize_2a(
13376 &mut self,
13377 new_size: usize,
13378 x: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>,
13379 ) {
13380 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_resize1(
13381 self as *mut crate::VectorOfU32,
13382 new_size,
13383 ::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(x).as_raw_ptr(),
13384 )
13385 }
13386
13387 pub unsafe fn shrink_to_fit(&mut self) {
13389 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_shrink_to_fit(
13390 self as *mut crate::VectorOfU32,
13391 )
13392 }
13393
13394 pub unsafe fn size(&self) -> usize {
13396 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_size(
13397 self as *const crate::VectorOfU32,
13398 )
13399 }
13400
13401 pub unsafe fn swap(
13403 &mut self,
13404 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU32>>,
13405 ) {
13406 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_swap(
13407 self as *mut crate::VectorOfU32,
13408 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU32>>::cast_into(x)
13409 .as_mut_raw_ptr(),
13410 )
13411 }
13412}
13413
13414#[repr(C)]
13416pub struct VectorOfI64 {
13417 _unused: u8,
13418}
13419impl VectorOfI64 {
13420 pub unsafe fn assign_usize_i64(
13422 &mut self,
13423 n: usize,
13424 val: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>,
13425 ) {
13426 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_assign(
13427 self as *mut crate::VectorOfI64,
13428 n,
13429 ::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(val).as_raw_ptr(),
13430 )
13431 }
13432
13433 pub unsafe fn assign_2_i64(
13435 &mut self,
13436 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
13437 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
13438 ) {
13439 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_assign1(
13440 self as *mut crate::VectorOfI64,
13441 ::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(first).as_raw_ptr(),
13442 ::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(last).as_raw_ptr(),
13443 )
13444 }
13445
13446 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i64> {
13448 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_at(
13449 self as *mut crate::VectorOfI64,
13450 n,
13451 );
13452 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13453 }
13454
13455 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<i64> {
13457 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_at1(
13458 self as *const crate::VectorOfI64,
13459 n,
13460 );
13461 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13462 }
13463
13464 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<i64> {
13466 let ffi_result =
13467 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_back(
13468 self as *mut crate::VectorOfI64,
13469 );
13470 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13471 }
13472
13473 pub unsafe fn back(&self) -> ::cpp_core::Ref<i64> {
13475 let ffi_result =
13476 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_back1(
13477 self as *const crate::VectorOfI64,
13478 );
13479 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13480 }
13481
13482 pub unsafe fn capacity(&self) -> usize {
13484 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_capacity(
13485 self as *const crate::VectorOfI64,
13486 )
13487 }
13488
13489 pub unsafe fn clear(&mut self) {
13491 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_clear(
13492 self as *mut crate::VectorOfI64,
13493 )
13494 }
13495
13496 pub unsafe fn copy_from(
13498 &mut self,
13499 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI64>>,
13500 ) -> ::cpp_core::MutRef<crate::VectorOfI64> {
13501 let ffi_result =
13502 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_operator_(
13503 self as *mut crate::VectorOfI64,
13504 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI64>>::cast_into(other)
13505 .as_raw_ptr(),
13506 );
13507 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13508 }
13509
13510 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i64> {
13512 let ffi_result =
13513 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_data(
13514 self as *mut crate::VectorOfI64,
13515 );
13516 ::cpp_core::MutPtr::from_raw(ffi_result)
13517 }
13518
13519 pub unsafe fn data(&self) -> ::cpp_core::Ptr<i64> {
13521 let ffi_result =
13522 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_data1(
13523 self as *const crate::VectorOfI64,
13524 );
13525 ::cpp_core::Ptr::from_raw(ffi_result)
13526 }
13527
13528 pub unsafe fn empty(&self) -> bool {
13530 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_empty(
13531 self as *const crate::VectorOfI64,
13532 )
13533 }
13534
13535 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<i64> {
13537 let ffi_result =
13538 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_front(
13539 self as *mut crate::VectorOfI64,
13540 );
13541 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13542 }
13543
13544 pub unsafe fn front(&self) -> ::cpp_core::Ref<i64> {
13546 let ffi_result =
13547 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_front1(
13548 self as *const crate::VectorOfI64,
13549 );
13550 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13551 }
13552
13553 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i64> {
13555 let ffi_result =
13556 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_operator__(
13557 self as *mut crate::VectorOfI64,
13558 n,
13559 );
13560 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13561 }
13562
13563 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<i64> {
13565 let ffi_result =
13566 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_operator__1(
13567 self as *const crate::VectorOfI64,
13568 n,
13569 );
13570 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13571 }
13572
13573 pub unsafe fn max_size(&self) -> usize {
13575 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_max_size(
13576 self as *const crate::VectorOfI64,
13577 )
13578 }
13579
13580 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfI64> {
13582 let ffi_result =
13583 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector();
13584 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13585 }
13586
13587 pub unsafe fn from_allocator_of_i64(
13589 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
13590 ) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13591 let ffi_result =
13592 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector2(
13593 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
13594 .as_raw_ptr(),
13595 );
13596 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13597 }
13598
13599 pub unsafe fn from_usize_allocator_of_i64(
13601 n: usize,
13602 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
13603 ) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13604 let ffi_result =
13605 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector3(
13606 n,
13607 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
13608 .as_raw_ptr(),
13609 );
13610 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13611 }
13612
13613 pub unsafe fn from_usize_i64_allocator_of_i64(
13615 n: usize,
13616 value: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>,
13617 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
13618 ) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13619 let ffi_result =
13620 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector4(
13621 n,
13622 ::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(value).as_raw_ptr(),
13623 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
13624 .as_raw_ptr(),
13625 );
13626 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13627 }
13628
13629 pub unsafe fn from_vector_of_i64_allocator_of_i64(
13631 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI64>>,
13632 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
13633 ) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13634 let ffi_result =
13635 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector6(
13636 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI64>>::cast_into(x)
13637 .as_raw_ptr(),
13638 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
13639 .as_raw_ptr(),
13640 );
13641 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13642 }
13643
13644 pub unsafe fn from_2_i64_allocator_of_i64(
13646 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
13647 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
13648 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
13649 ) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13650 let ffi_result =
13651 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector8(
13652 ::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(first).as_raw_ptr(),
13653 ::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(last).as_raw_ptr(),
13654 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(alloc)
13655 .as_raw_ptr(),
13656 );
13657 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13658 }
13659
13660 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13662 let ffi_result =
13663 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector9(n);
13664 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13665 }
13666
13667 pub unsafe fn from_usize_i64(
13669 n: usize,
13670 value: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>,
13671 ) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13672 let ffi_result =
13673 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector10(
13674 n,
13675 ::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(value).as_raw_ptr(),
13676 );
13677 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13678 }
13679
13680 pub unsafe fn from_2_i64(
13682 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
13683 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
13684 ) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13685 let ffi_result =
13686 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector11(
13687 ::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(first).as_raw_ptr(),
13688 ::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(last).as_raw_ptr(),
13689 );
13690 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13691 }
13692
13693 pub unsafe fn new_copy(
13695 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI64>>,
13696 ) -> ::cpp_core::CppBox<crate::VectorOfI64> {
13697 let ffi_result =
13698 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector1(
13699 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI64>>::cast_into(other)
13700 .as_raw_ptr(),
13701 );
13702 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13703 }
13704
13705 pub unsafe fn pop_back(&mut self) {
13707 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_pop_back(
13708 self as *mut crate::VectorOfI64,
13709 )
13710 }
13711
13712 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>) {
13714 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_push_back(
13715 self as *mut crate::VectorOfI64,
13716 ::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(x).as_raw_ptr(),
13717 )
13718 }
13719
13720 pub unsafe fn reserve(&mut self, n: usize) {
13722 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_reserve(
13723 self as *mut crate::VectorOfI64,
13724 n,
13725 )
13726 }
13727
13728 pub unsafe fn resize_1a(&mut self, new_size: usize) {
13730 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_resize(
13731 self as *mut crate::VectorOfI64,
13732 new_size,
13733 )
13734 }
13735
13736 pub unsafe fn resize_2a(
13738 &mut self,
13739 new_size: usize,
13740 x: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>,
13741 ) {
13742 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_resize1(
13743 self as *mut crate::VectorOfI64,
13744 new_size,
13745 ::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(x).as_raw_ptr(),
13746 )
13747 }
13748
13749 pub unsafe fn shrink_to_fit(&mut self) {
13751 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_shrink_to_fit(
13752 self as *mut crate::VectorOfI64,
13753 )
13754 }
13755
13756 pub unsafe fn size(&self) -> usize {
13758 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_size(
13759 self as *const crate::VectorOfI64,
13760 )
13761 }
13762
13763 pub unsafe fn swap(
13765 &mut self,
13766 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI64>>,
13767 ) {
13768 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_swap(
13769 self as *mut crate::VectorOfI64,
13770 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI64>>::cast_into(x)
13771 .as_mut_raw_ptr(),
13772 )
13773 }
13774}
13775
13776#[repr(C)]
13778pub struct VectorOfU64 {
13779 _unused: u8,
13780}
13781impl VectorOfU64 {
13782 pub unsafe fn assign_usize_u64(
13784 &mut self,
13785 n: usize,
13786 val: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>,
13787 ) {
13788 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_assign(
13789 self as *mut crate::VectorOfU64,
13790 n,
13791 ::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(val).as_raw_ptr(),
13792 )
13793 }
13794
13795 pub unsafe fn assign_2_u64(
13797 &mut self,
13798 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
13799 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
13800 ) {
13801 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_assign1(
13802 self as *mut crate::VectorOfU64,
13803 ::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(first).as_raw_ptr(),
13804 ::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(last).as_raw_ptr(),
13805 )
13806 }
13807
13808 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u64> {
13810 let ffi_result =
13811 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_at(
13812 self as *mut crate::VectorOfU64,
13813 n,
13814 );
13815 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13816 }
13817
13818 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<u64> {
13820 let ffi_result =
13821 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_at1(
13822 self as *const crate::VectorOfU64,
13823 n,
13824 );
13825 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13826 }
13827
13828 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<u64> {
13830 let ffi_result =
13831 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_back(
13832 self as *mut crate::VectorOfU64,
13833 );
13834 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13835 }
13836
13837 pub unsafe fn back(&self) -> ::cpp_core::Ref<u64> {
13839 let ffi_result =
13840 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_back1(
13841 self as *const crate::VectorOfU64,
13842 );
13843 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13844 }
13845
13846 pub unsafe fn capacity(&self) -> usize {
13848 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_capacity(
13849 self as *const crate::VectorOfU64,
13850 )
13851 }
13852
13853 pub unsafe fn clear(&mut self) {
13855 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_clear(
13856 self as *mut crate::VectorOfU64,
13857 )
13858 }
13859
13860 pub unsafe fn copy_from(
13862 &mut self,
13863 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU64>>,
13864 ) -> ::cpp_core::MutRef<crate::VectorOfU64> {
13865 let ffi_result =
13866 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_operator_(
13867 self as *mut crate::VectorOfU64,
13868 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU64>>::cast_into(other)
13869 .as_raw_ptr(),
13870 );
13871 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13872 }
13873
13874 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u64> {
13876 let ffi_result =
13877 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_data(
13878 self as *mut crate::VectorOfU64,
13879 );
13880 ::cpp_core::MutPtr::from_raw(ffi_result)
13881 }
13882
13883 pub unsafe fn data(&self) -> ::cpp_core::Ptr<u64> {
13885 let ffi_result =
13886 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_data1(
13887 self as *const crate::VectorOfU64,
13888 );
13889 ::cpp_core::Ptr::from_raw(ffi_result)
13890 }
13891
13892 pub unsafe fn empty(&self) -> bool {
13894 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_empty(
13895 self as *const crate::VectorOfU64,
13896 )
13897 }
13898
13899 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<u64> {
13901 let ffi_result =
13902 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_front(
13903 self as *mut crate::VectorOfU64,
13904 );
13905 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13906 }
13907
13908 pub unsafe fn front(&self) -> ::cpp_core::Ref<u64> {
13910 let ffi_result =
13911 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_front1(
13912 self as *const crate::VectorOfU64,
13913 );
13914 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13915 }
13916
13917 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u64> {
13919 let ffi_result =
13920 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_operator__(
13921 self as *mut crate::VectorOfU64,
13922 n,
13923 );
13924 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
13925 }
13926
13927 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<u64> {
13929 let ffi_result =
13930 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_operator__1(
13931 self as *const crate::VectorOfU64,
13932 n,
13933 );
13934 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
13935 }
13936
13937 pub unsafe fn max_size(&self) -> usize {
13939 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_max_size(
13940 self as *const crate::VectorOfU64,
13941 )
13942 }
13943
13944 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfU64> {
13946 let ffi_result =
13947 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector();
13948 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13949 }
13950
13951 pub unsafe fn from_allocator_of_u64(
13953 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
13954 ) -> ::cpp_core::CppBox<crate::VectorOfU64> {
13955 let ffi_result =
13956 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector2(
13957 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
13958 .as_raw_ptr(),
13959 );
13960 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13961 }
13962
13963 pub unsafe fn from_usize_allocator_of_u64(
13965 n: usize,
13966 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
13967 ) -> ::cpp_core::CppBox<crate::VectorOfU64> {
13968 let ffi_result =
13969 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector3(
13970 n,
13971 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
13972 .as_raw_ptr(),
13973 );
13974 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13975 }
13976
13977 pub unsafe fn from_usize_u64_allocator_of_u64(
13979 n: usize,
13980 value: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>,
13981 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
13982 ) -> ::cpp_core::CppBox<crate::VectorOfU64> {
13983 let ffi_result =
13984 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector4(
13985 n,
13986 ::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(value).as_raw_ptr(),
13987 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
13988 .as_raw_ptr(),
13989 );
13990 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
13991 }
13992
13993 pub unsafe fn from_vector_of_u64_allocator_of_u64(
13995 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU64>>,
13996 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
13997 ) -> ::cpp_core::CppBox<crate::VectorOfU64> {
13998 let ffi_result =
13999 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector6(
14000 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU64>>::cast_into(x)
14001 .as_raw_ptr(),
14002 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
14003 .as_raw_ptr(),
14004 );
14005 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14006 }
14007
14008 pub unsafe fn from_2_u64_allocator_of_u64(
14010 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
14011 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
14012 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
14013 ) -> ::cpp_core::CppBox<crate::VectorOfU64> {
14014 let ffi_result =
14015 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector8(
14016 ::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(first).as_raw_ptr(),
14017 ::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(last).as_raw_ptr(),
14018 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(alloc)
14019 .as_raw_ptr(),
14020 );
14021 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14022 }
14023
14024 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfU64> {
14026 let ffi_result =
14027 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector9(n);
14028 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14029 }
14030
14031 pub unsafe fn from_usize_u64(
14033 n: usize,
14034 value: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>,
14035 ) -> ::cpp_core::CppBox<crate::VectorOfU64> {
14036 let ffi_result =
14037 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector10(
14038 n,
14039 ::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(value).as_raw_ptr(),
14040 );
14041 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14042 }
14043
14044 pub unsafe fn from_2_u64(
14046 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
14047 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
14048 ) -> ::cpp_core::CppBox<crate::VectorOfU64> {
14049 let ffi_result =
14050 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector11(
14051 ::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(first).as_raw_ptr(),
14052 ::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(last).as_raw_ptr(),
14053 );
14054 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14055 }
14056
14057 pub unsafe fn new_copy(
14059 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU64>>,
14060 ) -> ::cpp_core::CppBox<crate::VectorOfU64> {
14061 let ffi_result =
14062 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector1(
14063 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU64>>::cast_into(other)
14064 .as_raw_ptr(),
14065 );
14066 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14067 }
14068
14069 pub unsafe fn pop_back(&mut self) {
14071 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_pop_back(
14072 self as *mut crate::VectorOfU64,
14073 )
14074 }
14075
14076 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>) {
14078 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_push_back(
14079 self as *mut crate::VectorOfU64,
14080 ::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(x).as_raw_ptr(),
14081 )
14082 }
14083
14084 pub unsafe fn reserve(&mut self, n: usize) {
14086 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_reserve(
14087 self as *mut crate::VectorOfU64,
14088 n,
14089 )
14090 }
14091
14092 pub unsafe fn resize_1a(&mut self, new_size: usize) {
14094 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_resize(
14095 self as *mut crate::VectorOfU64,
14096 new_size,
14097 )
14098 }
14099
14100 pub unsafe fn resize_2a(
14102 &mut self,
14103 new_size: usize,
14104 x: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>,
14105 ) {
14106 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_resize1(
14107 self as *mut crate::VectorOfU64,
14108 new_size,
14109 ::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(x).as_raw_ptr(),
14110 )
14111 }
14112
14113 pub unsafe fn shrink_to_fit(&mut self) {
14115 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_shrink_to_fit(
14116 self as *mut crate::VectorOfU64,
14117 )
14118 }
14119
14120 pub unsafe fn size(&self) -> usize {
14122 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_size(
14123 self as *const crate::VectorOfU64,
14124 )
14125 }
14126
14127 pub unsafe fn swap(
14129 &mut self,
14130 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU64>>,
14131 ) {
14132 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_swap(
14133 self as *mut crate::VectorOfU64,
14134 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU64>>::cast_into(x)
14135 .as_mut_raw_ptr(),
14136 )
14137 }
14138}
14139
14140#[repr(C)]
14142pub struct VectorOfUsize {
14143 _unused: u8,
14144}
14145impl VectorOfUsize {
14146 pub unsafe fn assign_usize_usize(
14148 &mut self,
14149 n: usize,
14150 val: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>,
14151 ) {
14152 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_assign(
14153 self as *mut crate::VectorOfUsize,
14154 n,
14155 ::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(val).as_raw_ptr(),
14156 )
14157 }
14158
14159 pub unsafe fn assign_2_usize(
14161 &mut self,
14162 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
14163 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
14164 ) {
14165 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_assign1(
14166 self as *mut crate::VectorOfUsize,
14167 ::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(first).as_raw_ptr(),
14168 ::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(last).as_raw_ptr(),
14169 )
14170 }
14171
14172 pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<usize> {
14174 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_at(
14175 self as *mut crate::VectorOfUsize,
14176 n,
14177 );
14178 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14179 }
14180
14181 pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<usize> {
14183 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_at1(
14184 self as *const crate::VectorOfUsize,
14185 n,
14186 );
14187 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
14188 }
14189
14190 pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<usize> {
14192 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_back(
14193 self as *mut crate::VectorOfUsize,
14194 );
14195 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14196 }
14197
14198 pub unsafe fn back(&self) -> ::cpp_core::Ref<usize> {
14200 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_back1(
14201 self as *const crate::VectorOfUsize,
14202 );
14203 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
14204 }
14205
14206 pub unsafe fn capacity(&self) -> usize {
14208 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_capacity(
14209 self as *const crate::VectorOfUsize,
14210 )
14211 }
14212
14213 pub unsafe fn clear(&mut self) {
14215 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_clear(
14216 self as *mut crate::VectorOfUsize,
14217 )
14218 }
14219
14220 pub unsafe fn copy_from(
14222 &mut self,
14223 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUsize>>,
14224 ) -> ::cpp_core::MutRef<crate::VectorOfUsize> {
14225 let ffi_result =
14226 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_operator_(
14227 self as *mut crate::VectorOfUsize,
14228 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUsize>>::cast_into(other)
14229 .as_raw_ptr(),
14230 );
14231 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14232 }
14233
14234 pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<usize> {
14236 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_data(
14237 self as *mut crate::VectorOfUsize,
14238 );
14239 ::cpp_core::MutPtr::from_raw(ffi_result)
14240 }
14241
14242 pub unsafe fn data(&self) -> ::cpp_core::Ptr<usize> {
14244 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_data1(
14245 self as *const crate::VectorOfUsize,
14246 );
14247 ::cpp_core::Ptr::from_raw(ffi_result)
14248 }
14249
14250 pub unsafe fn empty(&self) -> bool {
14252 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_empty(
14253 self as *const crate::VectorOfUsize,
14254 )
14255 }
14256
14257 pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<usize> {
14259 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_front(
14260 self as *mut crate::VectorOfUsize,
14261 );
14262 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14263 }
14264
14265 pub unsafe fn front(&self) -> ::cpp_core::Ref<usize> {
14267 let ffi_result =
14268 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_front1(
14269 self as *const crate::VectorOfUsize,
14270 );
14271 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
14272 }
14273
14274 pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<usize> {
14276 let ffi_result =
14277 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_operator__(
14278 self as *mut crate::VectorOfUsize,
14279 n,
14280 );
14281 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14282 }
14283
14284 pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<usize> {
14286 let ffi_result =
14287 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_operator__1(
14288 self as *const crate::VectorOfUsize,
14289 n,
14290 );
14291 ::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
14292 }
14293
14294 pub unsafe fn max_size(&self) -> usize {
14296 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_max_size(
14297 self as *const crate::VectorOfUsize,
14298 )
14299 }
14300
14301 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14303 let ffi_result =
14304 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector();
14305 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14306 }
14307
14308 pub unsafe fn from_allocator_of_usize(
14310 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
14311 ) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14312 let ffi_result =
14313 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector2(
14314 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
14315 .as_raw_ptr(),
14316 );
14317 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14318 }
14319
14320 pub unsafe fn from_usize_allocator_of_usize(
14322 n: usize,
14323 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
14324 ) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14325 let ffi_result =
14326 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector3(
14327 n,
14328 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
14329 .as_raw_ptr(),
14330 );
14331 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14332 }
14333
14334 pub unsafe fn from_usize_usize_allocator_of_usize(
14336 n: usize,
14337 value: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>,
14338 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
14339 ) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14340 let ffi_result =
14341 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector4(
14342 n,
14343 ::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(value).as_raw_ptr(),
14344 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
14345 .as_raw_ptr(),
14346 );
14347 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14348 }
14349
14350 pub unsafe fn from_vector_of_usize_allocator_of_usize(
14352 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUsize>>,
14353 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
14354 ) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14355 let ffi_result =
14356 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector6(
14357 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUsize>>::cast_into(x)
14358 .as_raw_ptr(),
14359 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
14360 .as_raw_ptr(),
14361 );
14362 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14363 }
14364
14365 pub unsafe fn from_2_usize_allocator_of_usize(
14367 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
14368 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
14369 alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
14370 ) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14371 let ffi_result =
14372 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector8(
14373 ::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(first).as_raw_ptr(),
14374 ::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(last).as_raw_ptr(),
14375 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(alloc)
14376 .as_raw_ptr(),
14377 );
14378 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14379 }
14380
14381 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14383 let ffi_result =
14384 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector9(n);
14385 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14386 }
14387
14388 pub unsafe fn from_usize_usize(
14390 n: usize,
14391 value: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>,
14392 ) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14393 let ffi_result =
14394 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector10(
14395 n,
14396 ::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(value).as_raw_ptr(),
14397 );
14398 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14399 }
14400
14401 pub unsafe fn from_2_usize(
14403 first: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
14404 last: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
14405 ) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14406 let ffi_result =
14407 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector11(
14408 ::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(first).as_raw_ptr(),
14409 ::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(last).as_raw_ptr(),
14410 );
14411 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14412 }
14413
14414 pub unsafe fn new_copy(
14416 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUsize>>,
14417 ) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
14418 let ffi_result =
14419 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector1(
14420 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUsize>>::cast_into(other)
14421 .as_raw_ptr(),
14422 );
14423 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14424 }
14425
14426 pub unsafe fn pop_back(&mut self) {
14428 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_pop_back(
14429 self as *mut crate::VectorOfUsize,
14430 )
14431 }
14432
14433 pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>) {
14435 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_push_back(
14436 self as *mut crate::VectorOfUsize,
14437 ::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(x).as_raw_ptr(),
14438 )
14439 }
14440
14441 pub unsafe fn reserve(&mut self, n: usize) {
14443 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_reserve(
14444 self as *mut crate::VectorOfUsize,
14445 n,
14446 )
14447 }
14448
14449 pub unsafe fn resize_1a(&mut self, new_size: usize) {
14451 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_resize(
14452 self as *mut crate::VectorOfUsize,
14453 new_size,
14454 )
14455 }
14456
14457 pub unsafe fn resize_2a(
14459 &mut self,
14460 new_size: usize,
14461 x: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>,
14462 ) {
14463 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_resize1(
14464 self as *mut crate::VectorOfUsize,
14465 new_size,
14466 ::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(x).as_raw_ptr(),
14467 )
14468 }
14469
14470 pub unsafe fn shrink_to_fit(&mut self) {
14472 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_shrink_to_fit(
14473 self as *mut crate::VectorOfUsize,
14474 )
14475 }
14476
14477 pub unsafe fn size(&self) -> usize {
14479 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_size(
14480 self as *const crate::VectorOfUsize,
14481 )
14482 }
14483
14484 pub unsafe fn swap(
14486 &mut self,
14487 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUsize>>,
14488 ) {
14489 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_swap(
14490 self as *mut crate::VectorOfUsize,
14491 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUsize>>::cast_into(x)
14492 .as_mut_raw_ptr(),
14493 )
14494 }
14495}
14496
14497#[repr(C)]
14499pub struct VectorOfVoid {
14500 _unused: u8,
14501}
14502impl VectorOfVoid {
14503 pub unsafe fn at(&mut self, n: usize) -> ::cpp_core::MutRef<*mut ::std::ffi::c_void> {
14505 let ffi_result =
14506 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_at(
14507 self as *mut crate::VectorOfVoid,
14508 n,
14509 );
14510 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14511 }
14512
14513 pub unsafe fn back(&mut self) -> ::cpp_core::MutRef<*mut ::std::ffi::c_void> {
14515 let ffi_result =
14516 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_back(
14517 self as *mut crate::VectorOfVoid,
14518 );
14519 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14520 }
14521
14522 pub unsafe fn capacity(&self) -> usize {
14524 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_capacity(
14525 self as *const crate::VectorOfVoid,
14526 )
14527 }
14528
14529 pub unsafe fn clear(&mut self) {
14531 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_clear(
14532 self as *mut crate::VectorOfVoid,
14533 )
14534 }
14535
14536 pub unsafe fn copy_from(
14538 &mut self,
14539 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfVoid>>,
14540 ) -> ::cpp_core::MutRef<crate::VectorOfVoid> {
14541 let ffi_result =
14542 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_operator_(
14543 self as *mut crate::VectorOfVoid,
14544 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfVoid>>::cast_into(other)
14545 .as_raw_ptr(),
14546 );
14547 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14548 }
14549
14550 pub unsafe fn data(&mut self) -> ::cpp_core::MutPtr<*mut ::std::ffi::c_void> {
14552 let ffi_result =
14553 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_data(
14554 self as *mut crate::VectorOfVoid,
14555 );
14556 ::cpp_core::MutPtr::from_raw(ffi_result)
14557 }
14558
14559 pub unsafe fn empty(&self) -> bool {
14561 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_empty(
14562 self as *const crate::VectorOfVoid,
14563 )
14564 }
14565
14566 pub unsafe fn front(&mut self) -> ::cpp_core::MutRef<*mut ::std::ffi::c_void> {
14568 let ffi_result =
14569 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_front(
14570 self as *mut crate::VectorOfVoid,
14571 );
14572 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14573 }
14574
14575 pub unsafe fn index(&mut self, n: usize) -> ::cpp_core::MutRef<*mut ::std::ffi::c_void> {
14577 let ffi_result =
14578 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_operator__(
14579 self as *mut crate::VectorOfVoid,
14580 n,
14581 );
14582 ::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
14583 }
14584
14585 pub unsafe fn max_size(&self) -> usize {
14587 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_max_size(
14588 self as *const crate::VectorOfVoid,
14589 )
14590 }
14591
14592 pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfVoid> {
14594 let ffi_result =
14595 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector();
14596 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14597 }
14598
14599 pub unsafe fn from_allocator_of_void(
14601 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
14602 ) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
14603 let ffi_result =
14604 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector2(
14605 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(a)
14606 .as_raw_ptr(),
14607 );
14608 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14609 }
14610
14611 pub unsafe fn from_usize_allocator_of_void(
14613 n: usize,
14614 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
14615 ) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
14616 let ffi_result =
14617 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector3(
14618 n,
14619 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(a)
14620 .as_raw_ptr(),
14621 );
14622 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14623 }
14624
14625 pub unsafe fn from_vector_of_void_allocator_of_void(
14627 x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfVoid>>,
14628 a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
14629 ) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
14630 let ffi_result =
14631 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector6(
14632 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfVoid>>::cast_into(x)
14633 .as_raw_ptr(),
14634 ::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(a)
14635 .as_raw_ptr(),
14636 );
14637 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14638 }
14639
14640 pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
14642 let ffi_result =
14643 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector9(n);
14644 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14645 }
14646
14647 pub unsafe fn new_copy(
14649 other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfVoid>>,
14650 ) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
14651 let ffi_result =
14652 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector1(
14653 ::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfVoid>>::cast_into(other)
14654 .as_raw_ptr(),
14655 );
14656 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
14657 }
14658
14659 pub unsafe fn pop_back(&mut self) {
14661 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_pop_back(
14662 self as *mut crate::VectorOfVoid,
14663 )
14664 }
14665
14666 pub unsafe fn reserve(&mut self, n: usize) {
14668 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_reserve(
14669 self as *mut crate::VectorOfVoid,
14670 n,
14671 )
14672 }
14673
14674 pub unsafe fn resize(&mut self, new_size: usize) {
14676 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_resize(
14677 self as *mut crate::VectorOfVoid,
14678 new_size,
14679 )
14680 }
14681
14682 pub unsafe fn shrink_to_fit(&mut self) {
14684 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_shrink_to_fit(
14685 self as *mut crate::VectorOfVoid,
14686 )
14687 }
14688
14689 pub unsafe fn size(&self) -> usize {
14691 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_size(
14692 self as *const crate::VectorOfVoid,
14693 )
14694 }
14695
14696 pub unsafe fn swap(
14698 &mut self,
14699 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfVoid>>,
14700 ) {
14701 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_swap(
14702 self as *mut crate::VectorOfVoid,
14703 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfVoid>>::cast_into(x)
14704 .as_mut_raw_ptr(),
14705 )
14706 }
14707}
14708
14709impl ::cpp_core::CppDeletable for crate::PiecewiseConstructT {
14710 unsafe fn delete(&mut self) {
14712 crate::__ffi::ctr_cpp_std_ffi_std_piecewise_construct_t_dpiecewise_construct_t(
14713 self as *mut crate::PiecewiseConstructT,
14714 )
14715 }
14716}
14717
14718impl ::cpp_core::CppDeletable for crate::InputIteratorTag {
14719 unsafe fn delete(&mut self) {
14721 crate::__ffi::ctr_cpp_std_ffi_std_input_iterator_tag_dinput_iterator_tag(
14722 self as *mut crate::InputIteratorTag,
14723 )
14724 }
14725}
14726
14727impl ::cpp_core::CppDeletable for crate::OutputIteratorTag {
14728 unsafe fn delete(&mut self) {
14730 crate::__ffi::ctr_cpp_std_ffi_std_output_iterator_tag_doutput_iterator_tag(
14731 self as *mut crate::OutputIteratorTag,
14732 )
14733 }
14734}
14735
14736impl ::cpp_core::CppDeletable for crate::ForwardIteratorTag {
14737 unsafe fn delete(&mut self) {
14739 crate::__ffi::ctr_cpp_std_ffi_std_forward_iterator_tag_dforward_iterator_tag(
14740 self as *mut crate::ForwardIteratorTag,
14741 )
14742 }
14743}
14744
14745impl ::cpp_core::CppDeletable for crate::BidirectionalIteratorTag {
14746 unsafe fn delete(&mut self) {
14748 crate::__ffi::ctr_cpp_std_ffi_std_bidirectional_iterator_tag_dbidirectional_iterator_tag(
14749 self as *mut crate::BidirectionalIteratorTag,
14750 )
14751 }
14752}
14753
14754impl ::cpp_core::CppDeletable for crate::RandomAccessIteratorTag {
14755 unsafe fn delete(&mut self) {
14757 crate::__ffi::ctr_cpp_std_ffi_std_random_access_iterator_tag_drandom_access_iterator_tag(
14758 self as *mut crate::RandomAccessIteratorTag,
14759 )
14760 }
14761}
14762
14763impl ::cpp_core::CppDeletable for crate::VectorOfBool {
14764 unsafe fn delete(&mut self) {
14766 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_dvector(
14767 self as *mut crate::VectorOfBool,
14768 )
14769 }
14770}
14771
14772impl ::cpp_core::CppDeletable for crate::VectorOfChar {
14773 unsafe fn delete(&mut self) {
14775 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_dvector(
14776 self as *mut crate::VectorOfChar,
14777 )
14778 }
14779}
14780
14781impl ::cpp_core::CppDeletable for crate::VectorOfSchar {
14782 unsafe fn delete(&mut self) {
14784 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_dvector(
14785 self as *mut crate::VectorOfSchar,
14786 )
14787 }
14788}
14789
14790impl ::cpp_core::CppDeletable for crate::VectorOfUchar {
14791 unsafe fn delete(&mut self) {
14793 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_dvector(
14794 self as *mut crate::VectorOfUchar,
14795 )
14796 }
14797}
14798
14799impl ::cpp_core::CppDeletable for crate::VectorOfWcharT {
14800 unsafe fn delete(&mut self) {
14802 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_dvector(
14803 self as *mut crate::VectorOfWcharT,
14804 )
14805 }
14806}
14807
14808impl ::cpp_core::CppDeletable for crate::VectorOfChar16T {
14809 unsafe fn delete(&mut self) {
14811 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_dvector(
14812 self as *mut crate::VectorOfChar16T,
14813 )
14814 }
14815}
14816
14817impl ::cpp_core::CppDeletable for crate::VectorOfChar32T {
14818 unsafe fn delete(&mut self) {
14820 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_dvector(
14821 self as *mut crate::VectorOfChar32T,
14822 )
14823 }
14824}
14825
14826impl ::cpp_core::CppDeletable for crate::VectorOfShort {
14827 unsafe fn delete(&mut self) {
14829 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_dvector(
14830 self as *mut crate::VectorOfShort,
14831 )
14832 }
14833}
14834
14835impl ::cpp_core::CppDeletable for crate::VectorOfUshort {
14836 unsafe fn delete(&mut self) {
14838 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_dvector(
14839 self as *mut crate::VectorOfUshort,
14840 )
14841 }
14842}
14843
14844impl ::cpp_core::CppDeletable for crate::VectorOfInt {
14845 unsafe fn delete(&mut self) {
14847 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_dvector(
14848 self as *mut crate::VectorOfInt,
14849 )
14850 }
14851}
14852
14853impl ::cpp_core::CppDeletable for crate::VectorOfUint {
14854 unsafe fn delete(&mut self) {
14856 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_dvector(
14857 self as *mut crate::VectorOfUint,
14858 )
14859 }
14860}
14861
14862impl ::cpp_core::CppDeletable for crate::VectorOfLong {
14863 unsafe fn delete(&mut self) {
14865 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_dvector(
14866 self as *mut crate::VectorOfLong,
14867 )
14868 }
14869}
14870
14871impl ::cpp_core::CppDeletable for crate::VectorOfUlong {
14872 unsafe fn delete(&mut self) {
14874 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_dvector(
14875 self as *mut crate::VectorOfUlong,
14876 )
14877 }
14878}
14879
14880impl ::cpp_core::CppDeletable for crate::VectorOfLonglong {
14881 unsafe fn delete(&mut self) {
14883 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_dvector(
14884 self as *mut crate::VectorOfLonglong,
14885 )
14886 }
14887}
14888
14889impl ::cpp_core::CppDeletable for crate::VectorOfUlonglong {
14890 unsafe fn delete(&mut self) {
14892 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_dvector(self as *mut crate::VectorOfUlonglong)
14893 }
14894}
14895
14896impl ::cpp_core::CppDeletable for crate::VectorOfFloat {
14897 unsafe fn delete(&mut self) {
14899 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_dvector(
14900 self as *mut crate::VectorOfFloat,
14901 )
14902 }
14903}
14904
14905impl ::cpp_core::CppDeletable for crate::VectorOfDouble {
14906 unsafe fn delete(&mut self) {
14908 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_dvector(
14909 self as *mut crate::VectorOfDouble,
14910 )
14911 }
14912}
14913
14914impl ::cpp_core::CppDeletable for crate::VectorOfI8 {
14915 unsafe fn delete(&mut self) {
14917 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_dvector(
14918 self as *mut crate::VectorOfI8,
14919 )
14920 }
14921}
14922
14923impl ::cpp_core::CppDeletable for crate::VectorOfU8 {
14924 unsafe fn delete(&mut self) {
14926 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_dvector(
14927 self as *mut crate::VectorOfU8,
14928 )
14929 }
14930}
14931
14932impl ::cpp_core::CppDeletable for crate::VectorOfI16 {
14933 unsafe fn delete(&mut self) {
14935 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_dvector(
14936 self as *mut crate::VectorOfI16,
14937 )
14938 }
14939}
14940
14941impl ::cpp_core::CppDeletable for crate::VectorOfU16 {
14942 unsafe fn delete(&mut self) {
14944 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_dvector(
14945 self as *mut crate::VectorOfU16,
14946 )
14947 }
14948}
14949
14950impl ::cpp_core::CppDeletable for crate::VectorOfI32 {
14951 unsafe fn delete(&mut self) {
14953 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_dvector(
14954 self as *mut crate::VectorOfI32,
14955 )
14956 }
14957}
14958
14959impl ::cpp_core::CppDeletable for crate::VectorOfU32 {
14960 unsafe fn delete(&mut self) {
14962 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_dvector(
14963 self as *mut crate::VectorOfU32,
14964 )
14965 }
14966}
14967
14968impl ::cpp_core::CppDeletable for crate::VectorOfI64 {
14969 unsafe fn delete(&mut self) {
14971 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_dvector(
14972 self as *mut crate::VectorOfI64,
14973 )
14974 }
14975}
14976
14977impl ::cpp_core::CppDeletable for crate::VectorOfU64 {
14978 unsafe fn delete(&mut self) {
14980 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_dvector(
14981 self as *mut crate::VectorOfU64,
14982 )
14983 }
14984}
14985
14986impl ::cpp_core::CppDeletable for crate::VectorOfUsize {
14987 unsafe fn delete(&mut self) {
14989 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_dvector(
14990 self as *mut crate::VectorOfUsize,
14991 )
14992 }
14993}
14994
14995impl ::cpp_core::CppDeletable for crate::VectorOfVoid {
14996 unsafe fn delete(&mut self) {
14998 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_dvector(
14999 self as *mut crate::VectorOfVoid,
15000 )
15001 }
15002}
15003
15004impl ::cpp_core::CppDeletable for crate::AllocatorOfChar {
15005 unsafe fn delete(&mut self) {
15007 crate::__ffi::ctr_cpp_std_ffi_std_allocator_char_dallocator(
15008 self as *mut crate::AllocatorOfChar,
15009 )
15010 }
15011}
15012
15013impl ::cpp_core::CppDeletable for crate::AllocatorOfWcharT {
15014 unsafe fn delete(&mut self) {
15016 crate::__ffi::ctr_cpp_std_ffi_std_allocator_wchar_t_dallocator(
15017 self as *mut crate::AllocatorOfWcharT,
15018 )
15019 }
15020}
15021
15022impl ::cpp_core::CppDeletable for crate::AllocatorOfChar16T {
15023 unsafe fn delete(&mut self) {
15025 crate::__ffi::ctr_cpp_std_ffi_std_allocator_char16_t_dallocator(
15026 self as *mut crate::AllocatorOfChar16T,
15027 )
15028 }
15029}
15030
15031impl ::cpp_core::CppDeletable for crate::AllocatorOfChar32T {
15032 unsafe fn delete(&mut self) {
15034 crate::__ffi::ctr_cpp_std_ffi_std_allocator_char32_t_dallocator(
15035 self as *mut crate::AllocatorOfChar32T,
15036 )
15037 }
15038}
15039
15040impl ::cpp_core::CppDeletable for crate::AllocatorOfBool {
15041 unsafe fn delete(&mut self) {
15043 crate::__ffi::ctr_cpp_std_ffi_std_allocator_bool_dallocator(
15044 self as *mut crate::AllocatorOfBool,
15045 )
15046 }
15047}
15048
15049impl ::cpp_core::CppDeletable for crate::AllocatorOfSchar {
15050 unsafe fn delete(&mut self) {
15052 crate::__ffi::ctr_cpp_std_ffi_std_allocator_signed_char_dallocator(
15053 self as *mut crate::AllocatorOfSchar,
15054 )
15055 }
15056}
15057
15058impl ::cpp_core::CppDeletable for crate::AllocatorOfUchar {
15059 unsafe fn delete(&mut self) {
15061 crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_char_dallocator(
15062 self as *mut crate::AllocatorOfUchar,
15063 )
15064 }
15065}
15066
15067impl ::cpp_core::CppDeletable for crate::AllocatorOfShort {
15068 unsafe fn delete(&mut self) {
15070 crate::__ffi::ctr_cpp_std_ffi_std_allocator_short_dallocator(
15071 self as *mut crate::AllocatorOfShort,
15072 )
15073 }
15074}
15075
15076impl ::cpp_core::CppDeletable for crate::AllocatorOfUshort {
15077 unsafe fn delete(&mut self) {
15079 crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_short_dallocator(
15080 self as *mut crate::AllocatorOfUshort,
15081 )
15082 }
15083}
15084
15085impl ::cpp_core::CppDeletable for crate::AllocatorOfInt {
15086 unsafe fn delete(&mut self) {
15088 crate::__ffi::ctr_cpp_std_ffi_std_allocator_int_dallocator(
15089 self as *mut crate::AllocatorOfInt,
15090 )
15091 }
15092}
15093
15094impl ::cpp_core::CppDeletable for crate::AllocatorOfUint {
15095 unsafe fn delete(&mut self) {
15097 crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_int_dallocator(
15098 self as *mut crate::AllocatorOfUint,
15099 )
15100 }
15101}
15102
15103impl ::cpp_core::CppDeletable for crate::AllocatorOfLong {
15104 unsafe fn delete(&mut self) {
15106 crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_dallocator(
15107 self as *mut crate::AllocatorOfLong,
15108 )
15109 }
15110}
15111
15112impl ::cpp_core::CppDeletable for crate::AllocatorOfUlong {
15113 unsafe fn delete(&mut self) {
15115 crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_dallocator(
15116 self as *mut crate::AllocatorOfUlong,
15117 )
15118 }
15119}
15120
15121impl ::cpp_core::CppDeletable for crate::AllocatorOfLonglong {
15122 unsafe fn delete(&mut self) {
15124 crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_long_dallocator(
15125 self as *mut crate::AllocatorOfLonglong,
15126 )
15127 }
15128}
15129
15130impl ::cpp_core::CppDeletable for crate::AllocatorOfUlonglong {
15131 unsafe fn delete(&mut self) {
15133 crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_long_dallocator(
15134 self as *mut crate::AllocatorOfUlonglong,
15135 )
15136 }
15137}
15138
15139impl ::cpp_core::CppDeletable for crate::AllocatorOfFloat {
15140 unsafe fn delete(&mut self) {
15142 crate::__ffi::ctr_cpp_std_ffi_std_allocator_float_dallocator(
15143 self as *mut crate::AllocatorOfFloat,
15144 )
15145 }
15146}
15147
15148impl ::cpp_core::CppDeletable for crate::AllocatorOfDouble {
15149 unsafe fn delete(&mut self) {
15151 crate::__ffi::ctr_cpp_std_ffi_std_allocator_double_dallocator(
15152 self as *mut crate::AllocatorOfDouble,
15153 )
15154 }
15155}
15156
15157impl ::cpp_core::CppDeletable for crate::AllocatorOfI8 {
15158 unsafe fn delete(&mut self) {
15160 crate::__ffi::ctr_cpp_std_ffi_std_allocator_int8_t_dallocator(
15161 self as *mut crate::AllocatorOfI8,
15162 )
15163 }
15164}
15165
15166impl ::cpp_core::CppDeletable for crate::AllocatorOfU8 {
15167 unsafe fn delete(&mut self) {
15169 crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint8_t_dallocator(
15170 self as *mut crate::AllocatorOfU8,
15171 )
15172 }
15173}
15174
15175impl ::cpp_core::CppDeletable for crate::AllocatorOfI16 {
15176 unsafe fn delete(&mut self) {
15178 crate::__ffi::ctr_cpp_std_ffi_std_allocator_int16_t_dallocator(
15179 self as *mut crate::AllocatorOfI16,
15180 )
15181 }
15182}
15183
15184impl ::cpp_core::CppDeletable for crate::AllocatorOfU16 {
15185 unsafe fn delete(&mut self) {
15187 crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint16_t_dallocator(
15188 self as *mut crate::AllocatorOfU16,
15189 )
15190 }
15191}
15192
15193impl ::cpp_core::CppDeletable for crate::AllocatorOfI32 {
15194 unsafe fn delete(&mut self) {
15196 crate::__ffi::ctr_cpp_std_ffi_std_allocator_int32_t_dallocator(
15197 self as *mut crate::AllocatorOfI32,
15198 )
15199 }
15200}
15201
15202impl ::cpp_core::CppDeletable for crate::AllocatorOfU32 {
15203 unsafe fn delete(&mut self) {
15205 crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint32_t_dallocator(
15206 self as *mut crate::AllocatorOfU32,
15207 )
15208 }
15209}
15210
15211impl ::cpp_core::CppDeletable for crate::AllocatorOfI64 {
15212 unsafe fn delete(&mut self) {
15214 crate::__ffi::ctr_cpp_std_ffi_std_allocator_int64_t_dallocator(
15215 self as *mut crate::AllocatorOfI64,
15216 )
15217 }
15218}
15219
15220impl ::cpp_core::CppDeletable for crate::AllocatorOfU64 {
15221 unsafe fn delete(&mut self) {
15223 crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint64_t_dallocator(
15224 self as *mut crate::AllocatorOfU64,
15225 )
15226 }
15227}
15228
15229impl ::cpp_core::CppDeletable for crate::AllocatorOfUsize {
15230 unsafe fn delete(&mut self) {
15232 crate::__ffi::ctr_cpp_std_ffi_std_allocator_size_t_dallocator(
15233 self as *mut crate::AllocatorOfUsize,
15234 )
15235 }
15236}
15237
15238impl ::cpp_core::CppDeletable for crate::AllocatorOfVoid {
15239 unsafe fn delete(&mut self) {
15241 crate::__ffi::ctr_cpp_std_ffi_std_allocator_void_ptr_dallocator(
15242 self as *mut crate::AllocatorOfVoid,
15243 )
15244 }
15245}
15246
15247impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfChar>> for crate::AllocatorOfChar {
15248 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfChar>) -> bool {
15250 unsafe {
15251 crate::__ffi::ctr_cpp_std_ffi_std_operator__1(
15252 self as *const crate::AllocatorOfChar,
15253 arg2.as_raw_ptr(),
15254 )
15255 }
15256 }
15257}
15258
15259impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfWcharT>> for crate::AllocatorOfWcharT {
15260 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfWcharT>) -> bool {
15262 unsafe {
15263 crate::__ffi::ctr_cpp_std_ffi_std_operator__2(
15264 self as *const crate::AllocatorOfWcharT,
15265 arg2.as_raw_ptr(),
15266 )
15267 }
15268 }
15269}
15270
15271impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfChar16T>>
15272 for crate::AllocatorOfChar16T
15273{
15274 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfChar16T>) -> bool {
15276 unsafe {
15277 crate::__ffi::ctr_cpp_std_ffi_std_operator__3(
15278 self as *const crate::AllocatorOfChar16T,
15279 arg2.as_raw_ptr(),
15280 )
15281 }
15282 }
15283}
15284
15285impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfChar32T>>
15286 for crate::AllocatorOfChar32T
15287{
15288 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfChar32T>) -> bool {
15290 unsafe {
15291 crate::__ffi::ctr_cpp_std_ffi_std_operator__4(
15292 self as *const crate::AllocatorOfChar32T,
15293 arg2.as_raw_ptr(),
15294 )
15295 }
15296 }
15297}
15298
15299impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfBool>> for crate::AllocatorOfBool {
15300 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfBool>) -> bool {
15302 unsafe {
15303 crate::__ffi::ctr_cpp_std_ffi_std_operator__5(
15304 self as *const crate::AllocatorOfBool,
15305 arg2.as_raw_ptr(),
15306 )
15307 }
15308 }
15309}
15310
15311impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfSchar>> for crate::AllocatorOfSchar {
15312 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfSchar>) -> bool {
15314 unsafe {
15315 crate::__ffi::ctr_cpp_std_ffi_std_operator__6(
15316 self as *const crate::AllocatorOfSchar,
15317 arg2.as_raw_ptr(),
15318 )
15319 }
15320 }
15321}
15322
15323impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUchar>> for crate::AllocatorOfUchar {
15324 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUchar>) -> bool {
15326 unsafe {
15327 crate::__ffi::ctr_cpp_std_ffi_std_operator__7(
15328 self as *const crate::AllocatorOfUchar,
15329 arg2.as_raw_ptr(),
15330 )
15331 }
15332 }
15333}
15334
15335impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfShort>> for crate::AllocatorOfShort {
15336 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfShort>) -> bool {
15338 unsafe {
15339 crate::__ffi::ctr_cpp_std_ffi_std_operator__8(
15340 self as *const crate::AllocatorOfShort,
15341 arg2.as_raw_ptr(),
15342 )
15343 }
15344 }
15345}
15346
15347impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUshort>> for crate::AllocatorOfUshort {
15348 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUshort>) -> bool {
15350 unsafe {
15351 crate::__ffi::ctr_cpp_std_ffi_std_operator__9(
15352 self as *const crate::AllocatorOfUshort,
15353 arg2.as_raw_ptr(),
15354 )
15355 }
15356 }
15357}
15358
15359impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfInt>> for crate::AllocatorOfInt {
15360 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfInt>) -> bool {
15362 unsafe {
15363 crate::__ffi::ctr_cpp_std_ffi_std_operator__10(
15364 self as *const crate::AllocatorOfInt,
15365 arg2.as_raw_ptr(),
15366 )
15367 }
15368 }
15369}
15370
15371impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUint>> for crate::AllocatorOfUint {
15372 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUint>) -> bool {
15374 unsafe {
15375 crate::__ffi::ctr_cpp_std_ffi_std_operator__11(
15376 self as *const crate::AllocatorOfUint,
15377 arg2.as_raw_ptr(),
15378 )
15379 }
15380 }
15381}
15382
15383impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfLong>> for crate::AllocatorOfLong {
15384 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfLong>) -> bool {
15386 unsafe {
15387 crate::__ffi::ctr_cpp_std_ffi_std_operator__12(
15388 self as *const crate::AllocatorOfLong,
15389 arg2.as_raw_ptr(),
15390 )
15391 }
15392 }
15393}
15394
15395impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUlong>> for crate::AllocatorOfUlong {
15396 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUlong>) -> bool {
15398 unsafe {
15399 crate::__ffi::ctr_cpp_std_ffi_std_operator__13(
15400 self as *const crate::AllocatorOfUlong,
15401 arg2.as_raw_ptr(),
15402 )
15403 }
15404 }
15405}
15406
15407impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfLonglong>>
15408 for crate::AllocatorOfLonglong
15409{
15410 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfLonglong>) -> bool {
15412 unsafe {
15413 crate::__ffi::ctr_cpp_std_ffi_std_operator__14(
15414 self as *const crate::AllocatorOfLonglong,
15415 arg2.as_raw_ptr(),
15416 )
15417 }
15418 }
15419}
15420
15421impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUlonglong>>
15422 for crate::AllocatorOfUlonglong
15423{
15424 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUlonglong>) -> bool {
15426 unsafe {
15427 crate::__ffi::ctr_cpp_std_ffi_std_operator__15(
15428 self as *const crate::AllocatorOfUlonglong,
15429 arg2.as_raw_ptr(),
15430 )
15431 }
15432 }
15433}
15434
15435impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfFloat>> for crate::AllocatorOfFloat {
15436 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfFloat>) -> bool {
15438 unsafe {
15439 crate::__ffi::ctr_cpp_std_ffi_std_operator__16(
15440 self as *const crate::AllocatorOfFloat,
15441 arg2.as_raw_ptr(),
15442 )
15443 }
15444 }
15445}
15446
15447impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfDouble>> for crate::AllocatorOfDouble {
15448 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfDouble>) -> bool {
15450 unsafe {
15451 crate::__ffi::ctr_cpp_std_ffi_std_operator__17(
15452 self as *const crate::AllocatorOfDouble,
15453 arg2.as_raw_ptr(),
15454 )
15455 }
15456 }
15457}
15458
15459impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfI8>> for crate::AllocatorOfI8 {
15460 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfI8>) -> bool {
15462 unsafe {
15463 crate::__ffi::ctr_cpp_std_ffi_std_operator__18(
15464 self as *const crate::AllocatorOfI8,
15465 arg2.as_raw_ptr(),
15466 )
15467 }
15468 }
15469}
15470
15471impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfU8>> for crate::AllocatorOfU8 {
15472 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfU8>) -> bool {
15474 unsafe {
15475 crate::__ffi::ctr_cpp_std_ffi_std_operator__19(
15476 self as *const crate::AllocatorOfU8,
15477 arg2.as_raw_ptr(),
15478 )
15479 }
15480 }
15481}
15482
15483impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfI16>> for crate::AllocatorOfI16 {
15484 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfI16>) -> bool {
15486 unsafe {
15487 crate::__ffi::ctr_cpp_std_ffi_std_operator__20(
15488 self as *const crate::AllocatorOfI16,
15489 arg2.as_raw_ptr(),
15490 )
15491 }
15492 }
15493}
15494
15495impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfU16>> for crate::AllocatorOfU16 {
15496 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfU16>) -> bool {
15498 unsafe {
15499 crate::__ffi::ctr_cpp_std_ffi_std_operator__21(
15500 self as *const crate::AllocatorOfU16,
15501 arg2.as_raw_ptr(),
15502 )
15503 }
15504 }
15505}
15506
15507impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfI32>> for crate::AllocatorOfI32 {
15508 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfI32>) -> bool {
15510 unsafe {
15511 crate::__ffi::ctr_cpp_std_ffi_std_operator__22(
15512 self as *const crate::AllocatorOfI32,
15513 arg2.as_raw_ptr(),
15514 )
15515 }
15516 }
15517}
15518
15519impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfU32>> for crate::AllocatorOfU32 {
15520 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfU32>) -> bool {
15522 unsafe {
15523 crate::__ffi::ctr_cpp_std_ffi_std_operator__23(
15524 self as *const crate::AllocatorOfU32,
15525 arg2.as_raw_ptr(),
15526 )
15527 }
15528 }
15529}
15530
15531impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfI64>> for crate::AllocatorOfI64 {
15532 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfI64>) -> bool {
15534 unsafe {
15535 crate::__ffi::ctr_cpp_std_ffi_std_operator__24(
15536 self as *const crate::AllocatorOfI64,
15537 arg2.as_raw_ptr(),
15538 )
15539 }
15540 }
15541}
15542
15543impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfU64>> for crate::AllocatorOfU64 {
15544 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfU64>) -> bool {
15546 unsafe {
15547 crate::__ffi::ctr_cpp_std_ffi_std_operator__25(
15548 self as *const crate::AllocatorOfU64,
15549 arg2.as_raw_ptr(),
15550 )
15551 }
15552 }
15553}
15554
15555impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUsize>> for crate::AllocatorOfUsize {
15556 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUsize>) -> bool {
15558 unsafe {
15559 crate::__ffi::ctr_cpp_std_ffi_std_operator__26(
15560 self as *const crate::AllocatorOfUsize,
15561 arg2.as_raw_ptr(),
15562 )
15563 }
15564 }
15565}
15566
15567impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfVoid>> for crate::AllocatorOfVoid {
15568 fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfVoid>) -> bool {
15570 unsafe {
15571 crate::__ffi::ctr_cpp_std_ffi_std_operator__27(
15572 self as *const crate::AllocatorOfVoid,
15573 arg2.as_raw_ptr(),
15574 )
15575 }
15576 }
15577}
15578
15579impl ::cpp_core::CppDeletable for crate::String {
15580 unsafe fn delete(&mut self) {
15582 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_dbasic_string(self as *mut crate::String)
15583 }
15584}
15585
15586impl ::cpp_core::CppDeletable for crate::WString {
15587 unsafe fn delete(&mut self) {
15589 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_dbasic_string(self as *mut crate::WString)
15590 }
15591}
15592
15593impl ::cpp_core::CppDeletable for crate::U16String {
15594 unsafe fn delete(&mut self) {
15596 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_dbasic_string(self as *mut crate::U16String)
15597 }
15598}
15599
15600impl ::cpp_core::CppDeletable for crate::U32String {
15601 unsafe fn delete(&mut self) {
15603 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_dbasic_string(self as *mut crate::U32String)
15604 }
15605}
15606
15607impl ::cpp_core::vector_ops::Size for crate::String {
15608 unsafe fn size(&self) -> usize {
15610 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_size(self as *const crate::String)
15611 }
15612}
15613
15614impl ::cpp_core::vector_ops::Size for crate::WString {
15615 unsafe fn size(&self) -> usize {
15617 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_size(self as *const crate::WString)
15618 }
15619}
15620
15621impl ::cpp_core::vector_ops::Size for crate::U16String {
15622 unsafe fn size(&self) -> usize {
15624 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_size(self as *const crate::U16String)
15625 }
15626}
15627
15628impl ::cpp_core::vector_ops::Size for crate::U32String {
15629 unsafe fn size(&self) -> usize {
15631 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_size(self as *const crate::U32String)
15632 }
15633}
15634
15635impl ::std::ops::AddAssign<::cpp_core::Ref<crate::String>> for crate::String {
15636 fn add_assign(&mut self, str: ::cpp_core::Ref<crate::String>) {
15638 let ffi_result = unsafe {
15639 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_operator__2(self as *mut crate::String, str.as_raw_ptr())
15640 };
15641 let _ = ffi_result;
15642 }
15643}
15644
15645impl ::std::ops::AddAssign<::cpp_core::Ref<crate::WString>> for crate::WString {
15646 fn add_assign(&mut self, str: ::cpp_core::Ref<crate::WString>) {
15648 let ffi_result = unsafe {
15649 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_operator__2(self as *mut crate::WString, str.as_raw_ptr())
15650 };
15651 let _ = ffi_result;
15652 }
15653}
15654
15655impl ::std::ops::AddAssign<::cpp_core::Ref<crate::U16String>> for crate::U16String {
15656 fn add_assign(&mut self, str: ::cpp_core::Ref<crate::U16String>) {
15658 let ffi_result = unsafe {
15659 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_operator__2(self as *mut crate::U16String, str.as_raw_ptr())
15660 };
15661 let _ = ffi_result;
15662 }
15663}
15664
15665impl ::std::ops::AddAssign<::cpp_core::Ref<crate::U32String>> for crate::U32String {
15666 fn add_assign(&mut self, str: ::cpp_core::Ref<crate::U32String>) {
15668 let ffi_result = unsafe {
15669 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_operator__2(self as *mut crate::U32String, str.as_raw_ptr())
15670 };
15671 let _ = ffi_result;
15672 }
15673}
15674
15675impl ::std::ops::AddAssign<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
15676 fn add_assign(&mut self, s: ::cpp_core::Ptr<::std::os::raw::c_char>) {
15678 let ffi_result = unsafe {
15679 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_operator__3(self as *mut crate::String, s.as_raw_ptr())
15680 };
15681 let _ = ffi_result;
15682 }
15683}
15684
15685impl ::std::ops::AddAssign<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
15686 fn add_assign(&mut self, s: ::cpp_core::Ptr<::cpp_core::wchar_t>) {
15688 let ffi_result = unsafe {
15689 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_operator__3(self as *mut crate::WString, s.as_raw_ptr())
15690 };
15691 let _ = ffi_result;
15692 }
15693}
15694
15695impl ::std::ops::AddAssign<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
15696 fn add_assign(&mut self, s: ::cpp_core::Ptr<::cpp_core::char16_t>) {
15698 let ffi_result = unsafe {
15699 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_operator__3(self as *mut crate::U16String, s.as_raw_ptr())
15700 };
15701 let _ = ffi_result;
15702 }
15703}
15704
15705impl ::std::ops::AddAssign<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
15706 fn add_assign(&mut self, s: ::cpp_core::Ptr<::cpp_core::char32_t>) {
15708 let ffi_result = unsafe {
15709 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_operator__3(self as *mut crate::U32String, s.as_raw_ptr())
15710 };
15711 let _ = ffi_result;
15712 }
15713}
15714
15715impl ::std::ops::AddAssign<::std::os::raw::c_char> for crate::String {
15716 fn add_assign(&mut self, c: ::std::os::raw::c_char) {
15718 let ffi_result = unsafe {
15719 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_operator__4(self as *mut crate::String, c)
15720 };
15721 let _ = ffi_result;
15722 }
15723}
15724
15725impl ::std::ops::AddAssign<::cpp_core::wchar_t> for crate::WString {
15726 fn add_assign(&mut self, c: ::cpp_core::wchar_t) {
15728 let ffi_result = unsafe {
15729 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_operator__4(self as *mut crate::WString, c)
15730 };
15731 let _ = ffi_result;
15732 }
15733}
15734
15735impl ::std::ops::AddAssign<::cpp_core::char16_t> for crate::U16String {
15736 fn add_assign(&mut self, c: ::cpp_core::char16_t) {
15738 let ffi_result = unsafe {
15739 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_operator__4(self as *mut crate::U16String, c)
15740 };
15741 let _ = ffi_result;
15742 }
15743}
15744
15745impl ::std::ops::AddAssign<::cpp_core::char32_t> for crate::U32String {
15746 fn add_assign(&mut self, c: ::cpp_core::char32_t) {
15748 let ffi_result = unsafe {
15749 crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_operator__4(self as *mut crate::U32String, c)
15750 };
15751 let _ = ffi_result;
15752 }
15753}
15754
15755impl ::cpp_core::vector_ops::Data for crate::String {
15756 type Output = ::cpp_core::Ptr<::std::os::raw::c_char>;
15757 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
15759 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_data(self as *const crate::String);
15760 ::cpp_core::Ptr::from_raw(ffi_result)
15761 }
15762}
15763
15764impl ::cpp_core::vector_ops::Data for crate::WString {
15765 type Output = ::cpp_core::Ptr<::cpp_core::wchar_t>;
15766 unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
15768 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_wchar_t_std_char_traits_wchar_t_std_allocator_wchar_t_data(self as *const crate::WString);
15769 ::cpp_core::Ptr::from_raw(ffi_result)
15770 }
15771}
15772
15773impl ::cpp_core::vector_ops::Data for crate::U16String {
15774 type Output = ::cpp_core::Ptr<::cpp_core::char16_t>;
15775 unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
15777 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char16_t_std_char_traits_char16_t_std_allocator_char16_t_data(self as *const crate::U16String);
15778 ::cpp_core::Ptr::from_raw(ffi_result)
15779 }
15780}
15781
15782impl ::cpp_core::vector_ops::Data for crate::U32String {
15783 type Output = ::cpp_core::Ptr<::cpp_core::char32_t>;
15784 unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
15786 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char32_t_std_char_traits_char32_t_std_allocator_char32_t_data(self as *const crate::U32String);
15787 ::cpp_core::Ptr::from_raw(ffi_result)
15788 }
15789}
15790
15791impl ::std::ops::Add<::cpp_core::Ref<crate::String>> for &crate::String {
15792 type Output = ::cpp_core::CppBox<crate::String>;
15793 fn add(self, rhs: ::cpp_core::Ref<crate::String>) -> ::cpp_core::CppBox<crate::String> {
15795 let ffi_result = unsafe {
15796 crate::__ffi::ctr_cpp_std_ffi_std_operator_(
15797 self as *const crate::String,
15798 rhs.as_raw_ptr(),
15799 )
15800 };
15801 unsafe {
15802 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15803 }
15804 }
15805}
15806
15807impl ::std::ops::Add<::cpp_core::Ref<crate::WString>> for &crate::WString {
15808 type Output = ::cpp_core::CppBox<crate::WString>;
15809 fn add(self, rhs: ::cpp_core::Ref<crate::WString>) -> ::cpp_core::CppBox<crate::WString> {
15811 let ffi_result = unsafe {
15812 crate::__ffi::ctr_cpp_std_ffi_std_operator_1(
15813 self as *const crate::WString,
15814 rhs.as_raw_ptr(),
15815 )
15816 };
15817 unsafe {
15818 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15819 }
15820 }
15821}
15822
15823impl ::std::ops::Add<::cpp_core::Ref<crate::U16String>> for &crate::U16String {
15824 type Output = ::cpp_core::CppBox<crate::U16String>;
15825 fn add(self, rhs: ::cpp_core::Ref<crate::U16String>) -> ::cpp_core::CppBox<crate::U16String> {
15827 let ffi_result = unsafe {
15828 crate::__ffi::ctr_cpp_std_ffi_std_operator_2(
15829 self as *const crate::U16String,
15830 rhs.as_raw_ptr(),
15831 )
15832 };
15833 unsafe {
15834 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15835 }
15836 }
15837}
15838
15839impl ::std::ops::Add<::cpp_core::Ref<crate::U32String>> for &crate::U32String {
15840 type Output = ::cpp_core::CppBox<crate::U32String>;
15841 fn add(self, rhs: ::cpp_core::Ref<crate::U32String>) -> ::cpp_core::CppBox<crate::U32String> {
15843 let ffi_result = unsafe {
15844 crate::__ffi::ctr_cpp_std_ffi_std_operator_3(
15845 self as *const crate::U32String,
15846 rhs.as_raw_ptr(),
15847 )
15848 };
15849 unsafe {
15850 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15851 }
15852 }
15853}
15854
15855impl ::std::ops::Add<::cpp_core::Ptr<::std::os::raw::c_char>> for &crate::String {
15856 type Output = ::cpp_core::CppBox<crate::String>;
15857 fn add(
15859 self,
15860 rhs: ::cpp_core::Ptr<::std::os::raw::c_char>,
15861 ) -> ::cpp_core::CppBox<crate::String> {
15862 let ffi_result = unsafe {
15863 crate::__ffi::ctr_cpp_std_ffi_std_operator_12(
15864 self as *const crate::String,
15865 rhs.as_raw_ptr(),
15866 )
15867 };
15868 unsafe {
15869 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15870 }
15871 }
15872}
15873
15874impl ::std::ops::Add<::cpp_core::Ptr<::cpp_core::wchar_t>> for &crate::WString {
15875 type Output = ::cpp_core::CppBox<crate::WString>;
15876 fn add(self, rhs: ::cpp_core::Ptr<::cpp_core::wchar_t>) -> ::cpp_core::CppBox<crate::WString> {
15878 let ffi_result = unsafe {
15879 crate::__ffi::ctr_cpp_std_ffi_std_operator_13(
15880 self as *const crate::WString,
15881 rhs.as_raw_ptr(),
15882 )
15883 };
15884 unsafe {
15885 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15886 }
15887 }
15888}
15889
15890impl ::std::ops::Add<::cpp_core::Ptr<::cpp_core::char16_t>> for &crate::U16String {
15891 type Output = ::cpp_core::CppBox<crate::U16String>;
15892 fn add(
15894 self,
15895 rhs: ::cpp_core::Ptr<::cpp_core::char16_t>,
15896 ) -> ::cpp_core::CppBox<crate::U16String> {
15897 let ffi_result = unsafe {
15898 crate::__ffi::ctr_cpp_std_ffi_std_operator_14(
15899 self as *const crate::U16String,
15900 rhs.as_raw_ptr(),
15901 )
15902 };
15903 unsafe {
15904 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15905 }
15906 }
15907}
15908
15909impl ::std::ops::Add<::cpp_core::Ptr<::cpp_core::char32_t>> for &crate::U32String {
15910 type Output = ::cpp_core::CppBox<crate::U32String>;
15911 fn add(
15913 self,
15914 rhs: ::cpp_core::Ptr<::cpp_core::char32_t>,
15915 ) -> ::cpp_core::CppBox<crate::U32String> {
15916 let ffi_result = unsafe {
15917 crate::__ffi::ctr_cpp_std_ffi_std_operator_15(
15918 self as *const crate::U32String,
15919 rhs.as_raw_ptr(),
15920 )
15921 };
15922 unsafe {
15923 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15924 }
15925 }
15926}
15927
15928impl ::std::ops::Add<::std::os::raw::c_char> for &crate::String {
15929 type Output = ::cpp_core::CppBox<crate::String>;
15930 fn add(self, rhs: ::std::os::raw::c_char) -> ::cpp_core::CppBox<crate::String> {
15932 let ffi_result = unsafe {
15933 crate::__ffi::ctr_cpp_std_ffi_std_operator_16(self as *const crate::String, rhs)
15934 };
15935 unsafe {
15936 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15937 }
15938 }
15939}
15940
15941impl ::std::ops::Add<::cpp_core::wchar_t> for &crate::WString {
15942 type Output = ::cpp_core::CppBox<crate::WString>;
15943 fn add(self, rhs: ::cpp_core::wchar_t) -> ::cpp_core::CppBox<crate::WString> {
15945 let ffi_result = unsafe {
15946 crate::__ffi::ctr_cpp_std_ffi_std_operator_17(self as *const crate::WString, rhs)
15947 };
15948 unsafe {
15949 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15950 }
15951 }
15952}
15953
15954impl ::std::ops::Add<::cpp_core::char16_t> for &crate::U16String {
15955 type Output = ::cpp_core::CppBox<crate::U16String>;
15956 fn add(self, rhs: ::cpp_core::char16_t) -> ::cpp_core::CppBox<crate::U16String> {
15958 let ffi_result = unsafe {
15959 crate::__ffi::ctr_cpp_std_ffi_std_operator_18(self as *const crate::U16String, rhs)
15960 };
15961 unsafe {
15962 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15963 }
15964 }
15965}
15966
15967impl ::std::ops::Add<::cpp_core::char32_t> for &crate::U32String {
15968 type Output = ::cpp_core::CppBox<crate::U32String>;
15969 fn add(self, rhs: ::cpp_core::char32_t) -> ::cpp_core::CppBox<crate::U32String> {
15971 let ffi_result = unsafe {
15972 crate::__ffi::ctr_cpp_std_ffi_std_operator_19(self as *const crate::U32String, rhs)
15973 };
15974 unsafe {
15975 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
15976 }
15977 }
15978}
15979
15980impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::String>> for crate::String {
15981 fn eq(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
15983 unsafe {
15984 crate::__ffi::ctr_cpp_std_ffi_std_operator__55(
15985 self as *const crate::String,
15986 rhs.as_raw_ptr(),
15987 )
15988 }
15989 }
15990}
15991
15992impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::WString>> for crate::WString {
15993 fn eq(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
15995 unsafe {
15996 crate::__ffi::ctr_cpp_std_ffi_std_operator__56(
15997 self as *const crate::WString,
15998 rhs.as_raw_ptr(),
15999 )
16000 }
16001 }
16002}
16003
16004impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::U16String>> for crate::U16String {
16005 fn eq(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
16007 unsafe {
16008 crate::__ffi::ctr_cpp_std_ffi_std_operator__57(
16009 self as *const crate::U16String,
16010 rhs.as_raw_ptr(),
16011 )
16012 }
16013 }
16014}
16015
16016impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::U32String>> for crate::U32String {
16017 fn eq(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
16019 unsafe {
16020 crate::__ffi::ctr_cpp_std_ffi_std_operator__58(
16021 self as *const crate::U32String,
16022 rhs.as_raw_ptr(),
16023 )
16024 }
16025 }
16026}
16027
16028impl ::std::cmp::PartialEq<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
16029 fn eq(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
16031 unsafe {
16032 crate::__ffi::ctr_cpp_std_ffi_std_operator__63(
16033 self as *const crate::String,
16034 rhs.as_raw_ptr(),
16035 )
16036 }
16037 }
16038}
16039
16040impl ::std::cmp::PartialEq<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
16041 fn eq(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
16043 unsafe {
16044 crate::__ffi::ctr_cpp_std_ffi_std_operator__64(
16045 self as *const crate::WString,
16046 rhs.as_raw_ptr(),
16047 )
16048 }
16049 }
16050}
16051
16052impl ::std::cmp::PartialEq<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
16053 fn eq(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
16055 unsafe {
16056 crate::__ffi::ctr_cpp_std_ffi_std_operator__65(
16057 self as *const crate::U16String,
16058 rhs.as_raw_ptr(),
16059 )
16060 }
16061 }
16062}
16063
16064impl ::std::cmp::PartialEq<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
16065 fn eq(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
16067 unsafe {
16068 crate::__ffi::ctr_cpp_std_ffi_std_operator__66(
16069 self as *const crate::U32String,
16070 rhs.as_raw_ptr(),
16071 )
16072 }
16073 }
16074}
16075
16076impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::String>> for crate::String {
16077 unsafe fn lt(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
16079 crate::__ffi::ctr_cpp_std_ffi_std_operator_48(
16080 self as *const crate::String,
16081 rhs.as_raw_ptr(),
16082 )
16083 }
16084}
16085
16086impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::WString>> for crate::WString {
16087 unsafe fn lt(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
16089 crate::__ffi::ctr_cpp_std_ffi_std_operator_49(
16090 self as *const crate::WString,
16091 rhs.as_raw_ptr(),
16092 )
16093 }
16094}
16095
16096impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::U16String>> for crate::U16String {
16097 unsafe fn lt(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
16099 crate::__ffi::ctr_cpp_std_ffi_std_operator_50(
16100 self as *const crate::U16String,
16101 rhs.as_raw_ptr(),
16102 )
16103 }
16104}
16105
16106impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::U32String>> for crate::U32String {
16107 unsafe fn lt(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
16109 crate::__ffi::ctr_cpp_std_ffi_std_operator_51(
16110 self as *const crate::U32String,
16111 rhs.as_raw_ptr(),
16112 )
16113 }
16114}
16115
16116impl ::cpp_core::cmp::Lt<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
16117 unsafe fn lt(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
16119 crate::__ffi::ctr_cpp_std_ffi_std_operator_52(
16120 self as *const crate::String,
16121 rhs.as_raw_ptr(),
16122 )
16123 }
16124}
16125
16126impl ::cpp_core::cmp::Lt<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
16127 unsafe fn lt(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
16129 crate::__ffi::ctr_cpp_std_ffi_std_operator_53(
16130 self as *const crate::WString,
16131 rhs.as_raw_ptr(),
16132 )
16133 }
16134}
16135
16136impl ::cpp_core::cmp::Lt<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
16137 unsafe fn lt(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
16139 crate::__ffi::ctr_cpp_std_ffi_std_operator_54(
16140 self as *const crate::U16String,
16141 rhs.as_raw_ptr(),
16142 )
16143 }
16144}
16145
16146impl ::cpp_core::cmp::Lt<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
16147 unsafe fn lt(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
16149 crate::__ffi::ctr_cpp_std_ffi_std_operator_55(
16150 self as *const crate::U32String,
16151 rhs.as_raw_ptr(),
16152 )
16153 }
16154}
16155
16156impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::String>> for crate::String {
16157 unsafe fn gt(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
16159 crate::__ffi::ctr_cpp_std_ffi_std_operator_60(
16160 self as *const crate::String,
16161 rhs.as_raw_ptr(),
16162 )
16163 }
16164}
16165
16166impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::WString>> for crate::WString {
16167 unsafe fn gt(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
16169 crate::__ffi::ctr_cpp_std_ffi_std_operator_61(
16170 self as *const crate::WString,
16171 rhs.as_raw_ptr(),
16172 )
16173 }
16174}
16175
16176impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::U16String>> for crate::U16String {
16177 unsafe fn gt(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
16179 crate::__ffi::ctr_cpp_std_ffi_std_operator_62(
16180 self as *const crate::U16String,
16181 rhs.as_raw_ptr(),
16182 )
16183 }
16184}
16185
16186impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::U32String>> for crate::U32String {
16187 unsafe fn gt(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
16189 crate::__ffi::ctr_cpp_std_ffi_std_operator_63(
16190 self as *const crate::U32String,
16191 rhs.as_raw_ptr(),
16192 )
16193 }
16194}
16195
16196impl ::cpp_core::cmp::Gt<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
16197 unsafe fn gt(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
16199 crate::__ffi::ctr_cpp_std_ffi_std_operator_64(
16200 self as *const crate::String,
16201 rhs.as_raw_ptr(),
16202 )
16203 }
16204}
16205
16206impl ::cpp_core::cmp::Gt<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
16207 unsafe fn gt(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
16209 crate::__ffi::ctr_cpp_std_ffi_std_operator_65(
16210 self as *const crate::WString,
16211 rhs.as_raw_ptr(),
16212 )
16213 }
16214}
16215
16216impl ::cpp_core::cmp::Gt<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
16217 unsafe fn gt(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
16219 crate::__ffi::ctr_cpp_std_ffi_std_operator_66(
16220 self as *const crate::U16String,
16221 rhs.as_raw_ptr(),
16222 )
16223 }
16224}
16225
16226impl ::cpp_core::cmp::Gt<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
16227 unsafe fn gt(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
16229 crate::__ffi::ctr_cpp_std_ffi_std_operator_67(
16230 self as *const crate::U32String,
16231 rhs.as_raw_ptr(),
16232 )
16233 }
16234}
16235
16236impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::String>> for crate::String {
16237 unsafe fn le(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
16239 crate::__ffi::ctr_cpp_std_ffi_std_operator__79(
16240 self as *const crate::String,
16241 rhs.as_raw_ptr(),
16242 )
16243 }
16244}
16245
16246impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::WString>> for crate::WString {
16247 unsafe fn le(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
16249 crate::__ffi::ctr_cpp_std_ffi_std_operator__80(
16250 self as *const crate::WString,
16251 rhs.as_raw_ptr(),
16252 )
16253 }
16254}
16255
16256impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::U16String>> for crate::U16String {
16257 unsafe fn le(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
16259 crate::__ffi::ctr_cpp_std_ffi_std_operator__81(
16260 self as *const crate::U16String,
16261 rhs.as_raw_ptr(),
16262 )
16263 }
16264}
16265
16266impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::U32String>> for crate::U32String {
16267 unsafe fn le(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
16269 crate::__ffi::ctr_cpp_std_ffi_std_operator__82(
16270 self as *const crate::U32String,
16271 rhs.as_raw_ptr(),
16272 )
16273 }
16274}
16275
16276impl ::cpp_core::cmp::Le<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
16277 unsafe fn le(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
16279 crate::__ffi::ctr_cpp_std_ffi_std_operator__83(
16280 self as *const crate::String,
16281 rhs.as_raw_ptr(),
16282 )
16283 }
16284}
16285
16286impl ::cpp_core::cmp::Le<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
16287 unsafe fn le(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
16289 crate::__ffi::ctr_cpp_std_ffi_std_operator__84(
16290 self as *const crate::WString,
16291 rhs.as_raw_ptr(),
16292 )
16293 }
16294}
16295
16296impl ::cpp_core::cmp::Le<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
16297 unsafe fn le(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
16299 crate::__ffi::ctr_cpp_std_ffi_std_operator__85(
16300 self as *const crate::U16String,
16301 rhs.as_raw_ptr(),
16302 )
16303 }
16304}
16305
16306impl ::cpp_core::cmp::Le<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
16307 unsafe fn le(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
16309 crate::__ffi::ctr_cpp_std_ffi_std_operator__86(
16310 self as *const crate::U32String,
16311 rhs.as_raw_ptr(),
16312 )
16313 }
16314}
16315
16316impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::String>> for crate::String {
16317 unsafe fn ge(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
16319 crate::__ffi::ctr_cpp_std_ffi_std_operator__91(
16320 self as *const crate::String,
16321 rhs.as_raw_ptr(),
16322 )
16323 }
16324}
16325
16326impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::WString>> for crate::WString {
16327 unsafe fn ge(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
16329 crate::__ffi::ctr_cpp_std_ffi_std_operator__92(
16330 self as *const crate::WString,
16331 rhs.as_raw_ptr(),
16332 )
16333 }
16334}
16335
16336impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::U16String>> for crate::U16String {
16337 unsafe fn ge(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
16339 crate::__ffi::ctr_cpp_std_ffi_std_operator__93(
16340 self as *const crate::U16String,
16341 rhs.as_raw_ptr(),
16342 )
16343 }
16344}
16345
16346impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::U32String>> for crate::U32String {
16347 unsafe fn ge(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
16349 crate::__ffi::ctr_cpp_std_ffi_std_operator__94(
16350 self as *const crate::U32String,
16351 rhs.as_raw_ptr(),
16352 )
16353 }
16354}
16355
16356impl ::cpp_core::cmp::Ge<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
16357 unsafe fn ge(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
16359 crate::__ffi::ctr_cpp_std_ffi_std_operator__95(
16360 self as *const crate::String,
16361 rhs.as_raw_ptr(),
16362 )
16363 }
16364}
16365
16366impl ::cpp_core::cmp::Ge<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
16367 unsafe fn ge(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
16369 crate::__ffi::ctr_cpp_std_ffi_std_operator__96(
16370 self as *const crate::WString,
16371 rhs.as_raw_ptr(),
16372 )
16373 }
16374}
16375
16376impl ::cpp_core::cmp::Ge<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
16377 unsafe fn ge(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
16379 crate::__ffi::ctr_cpp_std_ffi_std_operator__97(
16380 self as *const crate::U16String,
16381 rhs.as_raw_ptr(),
16382 )
16383 }
16384}
16385
16386impl ::cpp_core::cmp::Ge<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
16387 unsafe fn ge(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
16389 crate::__ffi::ctr_cpp_std_ffi_std_operator__98(
16390 self as *const crate::U32String,
16391 rhs.as_raw_ptr(),
16392 )
16393 }
16394}
16395
16396impl ::cpp_core::vector_ops::Size for crate::VectorOfBool {
16397 unsafe fn size(&self) -> usize {
16399 crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_size(
16400 self as *const crate::VectorOfBool,
16401 )
16402 }
16403}
16404
16405impl ::cpp_core::vector_ops::Size for crate::VectorOfChar {
16406 unsafe fn size(&self) -> usize {
16408 crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_size(
16409 self as *const crate::VectorOfChar,
16410 )
16411 }
16412}
16413
16414impl ::cpp_core::vector_ops::Size for crate::VectorOfSchar {
16415 unsafe fn size(&self) -> usize {
16417 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_size(
16418 self as *const crate::VectorOfSchar,
16419 )
16420 }
16421}
16422
16423impl ::cpp_core::vector_ops::Size for crate::VectorOfUchar {
16424 unsafe fn size(&self) -> usize {
16426 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_size(
16427 self as *const crate::VectorOfUchar,
16428 )
16429 }
16430}
16431
16432impl ::cpp_core::vector_ops::Size for crate::VectorOfWcharT {
16433 unsafe fn size(&self) -> usize {
16435 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_size(
16436 self as *const crate::VectorOfWcharT,
16437 )
16438 }
16439}
16440
16441impl ::cpp_core::vector_ops::Size for crate::VectorOfChar16T {
16442 unsafe fn size(&self) -> usize {
16444 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_size(
16445 self as *const crate::VectorOfChar16T,
16446 )
16447 }
16448}
16449
16450impl ::cpp_core::vector_ops::Size for crate::VectorOfChar32T {
16451 unsafe fn size(&self) -> usize {
16453 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_size(
16454 self as *const crate::VectorOfChar32T,
16455 )
16456 }
16457}
16458
16459impl ::cpp_core::vector_ops::Size for crate::VectorOfShort {
16460 unsafe fn size(&self) -> usize {
16462 crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_size(
16463 self as *const crate::VectorOfShort,
16464 )
16465 }
16466}
16467
16468impl ::cpp_core::vector_ops::Size for crate::VectorOfUshort {
16469 unsafe fn size(&self) -> usize {
16471 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_size(
16472 self as *const crate::VectorOfUshort,
16473 )
16474 }
16475}
16476
16477impl ::cpp_core::vector_ops::Size for crate::VectorOfInt {
16478 unsafe fn size(&self) -> usize {
16480 crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_size(
16481 self as *const crate::VectorOfInt,
16482 )
16483 }
16484}
16485
16486impl ::cpp_core::vector_ops::Size for crate::VectorOfUint {
16487 unsafe fn size(&self) -> usize {
16489 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_size(
16490 self as *const crate::VectorOfUint,
16491 )
16492 }
16493}
16494
16495impl ::cpp_core::vector_ops::Size for crate::VectorOfLong {
16496 unsafe fn size(&self) -> usize {
16498 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_size(
16499 self as *const crate::VectorOfLong,
16500 )
16501 }
16502}
16503
16504impl ::cpp_core::vector_ops::Size for crate::VectorOfUlong {
16505 unsafe fn size(&self) -> usize {
16507 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_size(
16508 self as *const crate::VectorOfUlong,
16509 )
16510 }
16511}
16512
16513impl ::cpp_core::vector_ops::Size for crate::VectorOfLonglong {
16514 unsafe fn size(&self) -> usize {
16516 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_size(
16517 self as *const crate::VectorOfLonglong,
16518 )
16519 }
16520}
16521
16522impl ::cpp_core::vector_ops::Size for crate::VectorOfUlonglong {
16523 unsafe fn size(&self) -> usize {
16525 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_size(self as *const crate::VectorOfUlonglong)
16526 }
16527}
16528
16529impl ::cpp_core::vector_ops::Size for crate::VectorOfFloat {
16530 unsafe fn size(&self) -> usize {
16532 crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_size(
16533 self as *const crate::VectorOfFloat,
16534 )
16535 }
16536}
16537
16538impl ::cpp_core::vector_ops::Size for crate::VectorOfDouble {
16539 unsafe fn size(&self) -> usize {
16541 crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_size(
16542 self as *const crate::VectorOfDouble,
16543 )
16544 }
16545}
16546
16547impl ::cpp_core::vector_ops::Size for crate::VectorOfI8 {
16548 unsafe fn size(&self) -> usize {
16550 crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_size(
16551 self as *const crate::VectorOfI8,
16552 )
16553 }
16554}
16555
16556impl ::cpp_core::vector_ops::Size for crate::VectorOfU8 {
16557 unsafe fn size(&self) -> usize {
16559 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_size(
16560 self as *const crate::VectorOfU8,
16561 )
16562 }
16563}
16564
16565impl ::cpp_core::vector_ops::Size for crate::VectorOfI16 {
16566 unsafe fn size(&self) -> usize {
16568 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_size(
16569 self as *const crate::VectorOfI16,
16570 )
16571 }
16572}
16573
16574impl ::cpp_core::vector_ops::Size for crate::VectorOfU16 {
16575 unsafe fn size(&self) -> usize {
16577 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_size(
16578 self as *const crate::VectorOfU16,
16579 )
16580 }
16581}
16582
16583impl ::cpp_core::vector_ops::Size for crate::VectorOfI32 {
16584 unsafe fn size(&self) -> usize {
16586 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_size(
16587 self as *const crate::VectorOfI32,
16588 )
16589 }
16590}
16591
16592impl ::cpp_core::vector_ops::Size for crate::VectorOfU32 {
16593 unsafe fn size(&self) -> usize {
16595 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_size(
16596 self as *const crate::VectorOfU32,
16597 )
16598 }
16599}
16600
16601impl ::cpp_core::vector_ops::Size for crate::VectorOfI64 {
16602 unsafe fn size(&self) -> usize {
16604 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_size(
16605 self as *const crate::VectorOfI64,
16606 )
16607 }
16608}
16609
16610impl ::cpp_core::vector_ops::Size for crate::VectorOfU64 {
16611 unsafe fn size(&self) -> usize {
16613 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_size(
16614 self as *const crate::VectorOfU64,
16615 )
16616 }
16617}
16618
16619impl ::cpp_core::vector_ops::Size for crate::VectorOfUsize {
16620 unsafe fn size(&self) -> usize {
16622 crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_size(
16623 self as *const crate::VectorOfUsize,
16624 )
16625 }
16626}
16627
16628impl ::cpp_core::vector_ops::Size for crate::VectorOfVoid {
16629 unsafe fn size(&self) -> usize {
16631 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_size(
16632 self as *const crate::VectorOfVoid,
16633 )
16634 }
16635}
16636
16637impl ::cpp_core::vector_ops::DataMut for crate::VectorOfChar {
16638 type Output = ::cpp_core::MutPtr<::std::os::raw::c_char>;
16639 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_char> {
16641 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_data(
16642 self as *mut crate::VectorOfChar,
16643 );
16644 ::cpp_core::MutPtr::from_raw(ffi_result)
16645 }
16646}
16647
16648impl ::cpp_core::vector_ops::DataMut for crate::VectorOfSchar {
16649 type Output = ::cpp_core::MutPtr<::std::os::raw::c_schar>;
16650 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_schar> {
16652 let ffi_result =
16653 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_data(
16654 self as *mut crate::VectorOfSchar,
16655 );
16656 ::cpp_core::MutPtr::from_raw(ffi_result)
16657 }
16658}
16659
16660impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUchar {
16661 type Output = ::cpp_core::MutPtr<::std::os::raw::c_uchar>;
16662 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_uchar> {
16664 let ffi_result =
16665 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_data(
16666 self as *mut crate::VectorOfUchar,
16667 );
16668 ::cpp_core::MutPtr::from_raw(ffi_result)
16669 }
16670}
16671
16672impl ::cpp_core::vector_ops::DataMut for crate::VectorOfWcharT {
16673 type Output = ::cpp_core::MutPtr<::cpp_core::wchar_t>;
16674 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
16676 let ffi_result =
16677 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_data(
16678 self as *mut crate::VectorOfWcharT,
16679 );
16680 ::cpp_core::MutPtr::from_raw(ffi_result)
16681 }
16682}
16683
16684impl ::cpp_core::vector_ops::DataMut for crate::VectorOfChar16T {
16685 type Output = ::cpp_core::MutPtr<::cpp_core::char16_t>;
16686 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::char16_t> {
16688 let ffi_result =
16689 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_data(
16690 self as *mut crate::VectorOfChar16T,
16691 );
16692 ::cpp_core::MutPtr::from_raw(ffi_result)
16693 }
16694}
16695
16696impl ::cpp_core::vector_ops::DataMut for crate::VectorOfChar32T {
16697 type Output = ::cpp_core::MutPtr<::cpp_core::char32_t>;
16698 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::char32_t> {
16700 let ffi_result =
16701 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_data(
16702 self as *mut crate::VectorOfChar32T,
16703 );
16704 ::cpp_core::MutPtr::from_raw(ffi_result)
16705 }
16706}
16707
16708impl ::cpp_core::vector_ops::DataMut for crate::VectorOfShort {
16709 type Output = ::cpp_core::MutPtr<::std::os::raw::c_short>;
16710 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_short> {
16712 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_data(
16713 self as *mut crate::VectorOfShort,
16714 );
16715 ::cpp_core::MutPtr::from_raw(ffi_result)
16716 }
16717}
16718
16719impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUshort {
16720 type Output = ::cpp_core::MutPtr<::std::os::raw::c_ushort>;
16721 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ushort> {
16723 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_data(self as *mut crate::VectorOfUshort);
16724 ::cpp_core::MutPtr::from_raw(ffi_result)
16725 }
16726}
16727
16728impl ::cpp_core::vector_ops::DataMut for crate::VectorOfInt {
16729 type Output = ::cpp_core::MutPtr<::std::os::raw::c_int>;
16730 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_int> {
16732 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_data(
16733 self as *mut crate::VectorOfInt,
16734 );
16735 ::cpp_core::MutPtr::from_raw(ffi_result)
16736 }
16737}
16738
16739impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUint {
16740 type Output = ::cpp_core::MutPtr<::std::os::raw::c_uint>;
16741 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_uint> {
16743 let ffi_result =
16744 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_data(
16745 self as *mut crate::VectorOfUint,
16746 );
16747 ::cpp_core::MutPtr::from_raw(ffi_result)
16748 }
16749}
16750
16751impl ::cpp_core::vector_ops::DataMut for crate::VectorOfLong {
16752 type Output = ::cpp_core::MutPtr<::std::os::raw::c_long>;
16753 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_long> {
16755 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_data(
16756 self as *mut crate::VectorOfLong,
16757 );
16758 ::cpp_core::MutPtr::from_raw(ffi_result)
16759 }
16760}
16761
16762impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUlong {
16763 type Output = ::cpp_core::MutPtr<::std::os::raw::c_ulong>;
16764 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ulong> {
16766 let ffi_result =
16767 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_data(
16768 self as *mut crate::VectorOfUlong,
16769 );
16770 ::cpp_core::MutPtr::from_raw(ffi_result)
16771 }
16772}
16773
16774impl ::cpp_core::vector_ops::DataMut for crate::VectorOfLonglong {
16775 type Output = ::cpp_core::MutPtr<::std::os::raw::c_longlong>;
16776 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_longlong> {
16778 let ffi_result =
16779 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_data(
16780 self as *mut crate::VectorOfLonglong,
16781 );
16782 ::cpp_core::MutPtr::from_raw(ffi_result)
16783 }
16784}
16785
16786impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUlonglong {
16787 type Output = ::cpp_core::MutPtr<::std::os::raw::c_ulonglong>;
16788 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ulonglong> {
16790 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_data(self as *mut crate::VectorOfUlonglong);
16791 ::cpp_core::MutPtr::from_raw(ffi_result)
16792 }
16793}
16794
16795impl ::cpp_core::vector_ops::DataMut for crate::VectorOfFloat {
16796 type Output = ::cpp_core::MutPtr<::std::os::raw::c_float>;
16797 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_float> {
16799 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_data(
16800 self as *mut crate::VectorOfFloat,
16801 );
16802 ::cpp_core::MutPtr::from_raw(ffi_result)
16803 }
16804}
16805
16806impl ::cpp_core::vector_ops::DataMut for crate::VectorOfDouble {
16807 type Output = ::cpp_core::MutPtr<::std::os::raw::c_double>;
16808 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_double> {
16810 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_data(
16811 self as *mut crate::VectorOfDouble,
16812 );
16813 ::cpp_core::MutPtr::from_raw(ffi_result)
16814 }
16815}
16816
16817impl ::cpp_core::vector_ops::DataMut for crate::VectorOfI8 {
16818 type Output = ::cpp_core::MutPtr<i8>;
16819 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i8> {
16821 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_data(
16822 self as *mut crate::VectorOfI8,
16823 );
16824 ::cpp_core::MutPtr::from_raw(ffi_result)
16825 }
16826}
16827
16828impl ::cpp_core::vector_ops::DataMut for crate::VectorOfU8 {
16829 type Output = ::cpp_core::MutPtr<u8>;
16830 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u8> {
16832 let ffi_result =
16833 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_data(
16834 self as *mut crate::VectorOfU8,
16835 );
16836 ::cpp_core::MutPtr::from_raw(ffi_result)
16837 }
16838}
16839
16840impl ::cpp_core::vector_ops::DataMut for crate::VectorOfI16 {
16841 type Output = ::cpp_core::MutPtr<i16>;
16842 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i16> {
16844 let ffi_result =
16845 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_data(
16846 self as *mut crate::VectorOfI16,
16847 );
16848 ::cpp_core::MutPtr::from_raw(ffi_result)
16849 }
16850}
16851
16852impl ::cpp_core::vector_ops::DataMut for crate::VectorOfU16 {
16853 type Output = ::cpp_core::MutPtr<u16>;
16854 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u16> {
16856 let ffi_result =
16857 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_data(
16858 self as *mut crate::VectorOfU16,
16859 );
16860 ::cpp_core::MutPtr::from_raw(ffi_result)
16861 }
16862}
16863
16864impl ::cpp_core::vector_ops::DataMut for crate::VectorOfI32 {
16865 type Output = ::cpp_core::MutPtr<i32>;
16866 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i32> {
16868 let ffi_result =
16869 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_data(
16870 self as *mut crate::VectorOfI32,
16871 );
16872 ::cpp_core::MutPtr::from_raw(ffi_result)
16873 }
16874}
16875
16876impl ::cpp_core::vector_ops::DataMut for crate::VectorOfU32 {
16877 type Output = ::cpp_core::MutPtr<u32>;
16878 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u32> {
16880 let ffi_result =
16881 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_data(
16882 self as *mut crate::VectorOfU32,
16883 );
16884 ::cpp_core::MutPtr::from_raw(ffi_result)
16885 }
16886}
16887
16888impl ::cpp_core::vector_ops::DataMut for crate::VectorOfI64 {
16889 type Output = ::cpp_core::MutPtr<i64>;
16890 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i64> {
16892 let ffi_result =
16893 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_data(
16894 self as *mut crate::VectorOfI64,
16895 );
16896 ::cpp_core::MutPtr::from_raw(ffi_result)
16897 }
16898}
16899
16900impl ::cpp_core::vector_ops::DataMut for crate::VectorOfU64 {
16901 type Output = ::cpp_core::MutPtr<u64>;
16902 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u64> {
16904 let ffi_result =
16905 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_data(
16906 self as *mut crate::VectorOfU64,
16907 );
16908 ::cpp_core::MutPtr::from_raw(ffi_result)
16909 }
16910}
16911
16912impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUsize {
16913 type Output = ::cpp_core::MutPtr<usize>;
16914 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<usize> {
16916 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_data(
16917 self as *mut crate::VectorOfUsize,
16918 );
16919 ::cpp_core::MutPtr::from_raw(ffi_result)
16920 }
16921}
16922
16923impl ::cpp_core::vector_ops::DataMut for crate::VectorOfVoid {
16924 type Output = ::cpp_core::MutPtr<*mut ::std::ffi::c_void>;
16925 unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<*mut ::std::ffi::c_void> {
16927 let ffi_result =
16928 crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_data(
16929 self as *mut crate::VectorOfVoid,
16930 );
16931 ::cpp_core::MutPtr::from_raw(ffi_result)
16932 }
16933}
16934
16935impl ::cpp_core::vector_ops::Data for crate::VectorOfChar {
16936 type Output = ::cpp_core::Ptr<::std::os::raw::c_char>;
16937 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
16939 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_data1(
16940 self as *const crate::VectorOfChar,
16941 );
16942 ::cpp_core::Ptr::from_raw(ffi_result)
16943 }
16944}
16945
16946impl ::cpp_core::vector_ops::Data for crate::VectorOfSchar {
16947 type Output = ::cpp_core::Ptr<::std::os::raw::c_schar>;
16948 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_schar> {
16950 let ffi_result =
16951 crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_data1(
16952 self as *const crate::VectorOfSchar,
16953 );
16954 ::cpp_core::Ptr::from_raw(ffi_result)
16955 }
16956}
16957
16958impl ::cpp_core::vector_ops::Data for crate::VectorOfUchar {
16959 type Output = ::cpp_core::Ptr<::std::os::raw::c_uchar>;
16960 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_uchar> {
16962 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_data1(self as *const crate::VectorOfUchar);
16963 ::cpp_core::Ptr::from_raw(ffi_result)
16964 }
16965}
16966
16967impl ::cpp_core::vector_ops::Data for crate::VectorOfWcharT {
16968 type Output = ::cpp_core::Ptr<::cpp_core::wchar_t>;
16969 unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
16971 let ffi_result =
16972 crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_data1(
16973 self as *const crate::VectorOfWcharT,
16974 );
16975 ::cpp_core::Ptr::from_raw(ffi_result)
16976 }
16977}
16978
16979impl ::cpp_core::vector_ops::Data for crate::VectorOfChar16T {
16980 type Output = ::cpp_core::Ptr<::cpp_core::char16_t>;
16981 unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
16983 let ffi_result =
16984 crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_data1(
16985 self as *const crate::VectorOfChar16T,
16986 );
16987 ::cpp_core::Ptr::from_raw(ffi_result)
16988 }
16989}
16990
16991impl ::cpp_core::vector_ops::Data for crate::VectorOfChar32T {
16992 type Output = ::cpp_core::Ptr<::cpp_core::char32_t>;
16993 unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
16995 let ffi_result =
16996 crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_data1(
16997 self as *const crate::VectorOfChar32T,
16998 );
16999 ::cpp_core::Ptr::from_raw(ffi_result)
17000 }
17001}
17002
17003impl ::cpp_core::vector_ops::Data for crate::VectorOfShort {
17004 type Output = ::cpp_core::Ptr<::std::os::raw::c_short>;
17005 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_short> {
17007 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_data1(
17008 self as *const crate::VectorOfShort,
17009 );
17010 ::cpp_core::Ptr::from_raw(ffi_result)
17011 }
17012}
17013
17014impl ::cpp_core::vector_ops::Data for crate::VectorOfUshort {
17015 type Output = ::cpp_core::Ptr<::std::os::raw::c_ushort>;
17016 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ushort> {
17018 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_data1(self as *const crate::VectorOfUshort);
17019 ::cpp_core::Ptr::from_raw(ffi_result)
17020 }
17021}
17022
17023impl ::cpp_core::vector_ops::Data for crate::VectorOfInt {
17024 type Output = ::cpp_core::Ptr<::std::os::raw::c_int>;
17025 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_int> {
17027 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_data1(
17028 self as *const crate::VectorOfInt,
17029 );
17030 ::cpp_core::Ptr::from_raw(ffi_result)
17031 }
17032}
17033
17034impl ::cpp_core::vector_ops::Data for crate::VectorOfUint {
17035 type Output = ::cpp_core::Ptr<::std::os::raw::c_uint>;
17036 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_uint> {
17038 let ffi_result =
17039 crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_data1(
17040 self as *const crate::VectorOfUint,
17041 );
17042 ::cpp_core::Ptr::from_raw(ffi_result)
17043 }
17044}
17045
17046impl ::cpp_core::vector_ops::Data for crate::VectorOfLong {
17047 type Output = ::cpp_core::Ptr<::std::os::raw::c_long>;
17048 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_long> {
17050 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_data1(
17051 self as *const crate::VectorOfLong,
17052 );
17053 ::cpp_core::Ptr::from_raw(ffi_result)
17054 }
17055}
17056
17057impl ::cpp_core::vector_ops::Data for crate::VectorOfUlong {
17058 type Output = ::cpp_core::Ptr<::std::os::raw::c_ulong>;
17059 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ulong> {
17061 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_data1(self as *const crate::VectorOfUlong);
17062 ::cpp_core::Ptr::from_raw(ffi_result)
17063 }
17064}
17065
17066impl ::cpp_core::vector_ops::Data for crate::VectorOfLonglong {
17067 type Output = ::cpp_core::Ptr<::std::os::raw::c_longlong>;
17068 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_longlong> {
17070 let ffi_result =
17071 crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_data1(
17072 self as *const crate::VectorOfLonglong,
17073 );
17074 ::cpp_core::Ptr::from_raw(ffi_result)
17075 }
17076}
17077
17078impl ::cpp_core::vector_ops::Data for crate::VectorOfUlonglong {
17079 type Output = ::cpp_core::Ptr<::std::os::raw::c_ulonglong>;
17080 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ulonglong> {
17082 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_data1(self as *const crate::VectorOfUlonglong);
17083 ::cpp_core::Ptr::from_raw(ffi_result)
17084 }
17085}
17086
17087impl ::cpp_core::vector_ops::Data for crate::VectorOfFloat {
17088 type Output = ::cpp_core::Ptr<::std::os::raw::c_float>;
17089 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_float> {
17091 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_data1(
17092 self as *const crate::VectorOfFloat,
17093 );
17094 ::cpp_core::Ptr::from_raw(ffi_result)
17095 }
17096}
17097
17098impl ::cpp_core::vector_ops::Data for crate::VectorOfDouble {
17099 type Output = ::cpp_core::Ptr<::std::os::raw::c_double>;
17100 unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_double> {
17102 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_data1(
17103 self as *const crate::VectorOfDouble,
17104 );
17105 ::cpp_core::Ptr::from_raw(ffi_result)
17106 }
17107}
17108
17109impl ::cpp_core::vector_ops::Data for crate::VectorOfI8 {
17110 type Output = ::cpp_core::Ptr<i8>;
17111 unsafe fn data(&self) -> ::cpp_core::Ptr<i8> {
17113 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_data1(
17114 self as *const crate::VectorOfI8,
17115 );
17116 ::cpp_core::Ptr::from_raw(ffi_result)
17117 }
17118}
17119
17120impl ::cpp_core::vector_ops::Data for crate::VectorOfU8 {
17121 type Output = ::cpp_core::Ptr<u8>;
17122 unsafe fn data(&self) -> ::cpp_core::Ptr<u8> {
17124 let ffi_result =
17125 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_data1(
17126 self as *const crate::VectorOfU8,
17127 );
17128 ::cpp_core::Ptr::from_raw(ffi_result)
17129 }
17130}
17131
17132impl ::cpp_core::vector_ops::Data for crate::VectorOfI16 {
17133 type Output = ::cpp_core::Ptr<i16>;
17134 unsafe fn data(&self) -> ::cpp_core::Ptr<i16> {
17136 let ffi_result =
17137 crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_data1(
17138 self as *const crate::VectorOfI16,
17139 );
17140 ::cpp_core::Ptr::from_raw(ffi_result)
17141 }
17142}
17143
17144impl ::cpp_core::vector_ops::Data for crate::VectorOfU16 {
17145 type Output = ::cpp_core::Ptr<u16>;
17146 unsafe fn data(&self) -> ::cpp_core::Ptr<u16> {
17148 let ffi_result =
17149 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_data1(
17150 self as *const crate::VectorOfU16,
17151 );
17152 ::cpp_core::Ptr::from_raw(ffi_result)
17153 }
17154}
17155
17156impl ::cpp_core::vector_ops::Data for crate::VectorOfI32 {
17157 type Output = ::cpp_core::Ptr<i32>;
17158 unsafe fn data(&self) -> ::cpp_core::Ptr<i32> {
17160 let ffi_result =
17161 crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_data1(
17162 self as *const crate::VectorOfI32,
17163 );
17164 ::cpp_core::Ptr::from_raw(ffi_result)
17165 }
17166}
17167
17168impl ::cpp_core::vector_ops::Data for crate::VectorOfU32 {
17169 type Output = ::cpp_core::Ptr<u32>;
17170 unsafe fn data(&self) -> ::cpp_core::Ptr<u32> {
17172 let ffi_result =
17173 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_data1(
17174 self as *const crate::VectorOfU32,
17175 );
17176 ::cpp_core::Ptr::from_raw(ffi_result)
17177 }
17178}
17179
17180impl ::cpp_core::vector_ops::Data for crate::VectorOfI64 {
17181 type Output = ::cpp_core::Ptr<i64>;
17182 unsafe fn data(&self) -> ::cpp_core::Ptr<i64> {
17184 let ffi_result =
17185 crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_data1(
17186 self as *const crate::VectorOfI64,
17187 );
17188 ::cpp_core::Ptr::from_raw(ffi_result)
17189 }
17190}
17191
17192impl ::cpp_core::vector_ops::Data for crate::VectorOfU64 {
17193 type Output = ::cpp_core::Ptr<u64>;
17194 unsafe fn data(&self) -> ::cpp_core::Ptr<u64> {
17196 let ffi_result =
17197 crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_data1(
17198 self as *const crate::VectorOfU64,
17199 );
17200 ::cpp_core::Ptr::from_raw(ffi_result)
17201 }
17202}
17203
17204impl ::cpp_core::vector_ops::Data for crate::VectorOfUsize {
17205 type Output = ::cpp_core::Ptr<usize>;
17206 unsafe fn data(&self) -> ::cpp_core::Ptr<usize> {
17208 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_data1(
17209 self as *const crate::VectorOfUsize,
17210 );
17211 ::cpp_core::Ptr::from_raw(ffi_result)
17212 }
17213}
17214
17215impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
17216 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
17218 unsafe {
17219 crate::__ffi::ctr_cpp_std_ffi_std_operator__103(
17220 self as *const crate::VectorOfBool,
17221 y.as_raw_ptr(),
17222 )
17223 }
17224 }
17225}
17226
17227impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
17228 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
17230 unsafe {
17231 crate::__ffi::ctr_cpp_std_ffi_std_operator__104(
17232 self as *const crate::VectorOfChar,
17233 y.as_raw_ptr(),
17234 )
17235 }
17236 }
17237}
17238
17239impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
17240 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
17242 unsafe {
17243 crate::__ffi::ctr_cpp_std_ffi_std_operator__105(
17244 self as *const crate::VectorOfSchar,
17245 y.as_raw_ptr(),
17246 )
17247 }
17248 }
17249}
17250
17251impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
17252 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
17254 unsafe {
17255 crate::__ffi::ctr_cpp_std_ffi_std_operator__106(
17256 self as *const crate::VectorOfUchar,
17257 y.as_raw_ptr(),
17258 )
17259 }
17260 }
17261}
17262
17263impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
17264 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
17266 unsafe {
17267 crate::__ffi::ctr_cpp_std_ffi_std_operator__107(
17268 self as *const crate::VectorOfWcharT,
17269 y.as_raw_ptr(),
17270 )
17271 }
17272 }
17273}
17274
17275impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
17276 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
17278 unsafe {
17279 crate::__ffi::ctr_cpp_std_ffi_std_operator__108(
17280 self as *const crate::VectorOfChar16T,
17281 y.as_raw_ptr(),
17282 )
17283 }
17284 }
17285}
17286
17287impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
17288 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
17290 unsafe {
17291 crate::__ffi::ctr_cpp_std_ffi_std_operator__109(
17292 self as *const crate::VectorOfChar32T,
17293 y.as_raw_ptr(),
17294 )
17295 }
17296 }
17297}
17298
17299impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
17300 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
17302 unsafe {
17303 crate::__ffi::ctr_cpp_std_ffi_std_operator__110(
17304 self as *const crate::VectorOfShort,
17305 y.as_raw_ptr(),
17306 )
17307 }
17308 }
17309}
17310
17311impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
17312 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
17314 unsafe {
17315 crate::__ffi::ctr_cpp_std_ffi_std_operator__111(
17316 self as *const crate::VectorOfUshort,
17317 y.as_raw_ptr(),
17318 )
17319 }
17320 }
17321}
17322
17323impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
17324 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
17326 unsafe {
17327 crate::__ffi::ctr_cpp_std_ffi_std_operator__112(
17328 self as *const crate::VectorOfInt,
17329 y.as_raw_ptr(),
17330 )
17331 }
17332 }
17333}
17334
17335impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
17336 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
17338 unsafe {
17339 crate::__ffi::ctr_cpp_std_ffi_std_operator__113(
17340 self as *const crate::VectorOfUint,
17341 y.as_raw_ptr(),
17342 )
17343 }
17344 }
17345}
17346
17347impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
17348 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
17350 unsafe {
17351 crate::__ffi::ctr_cpp_std_ffi_std_operator__114(
17352 self as *const crate::VectorOfLong,
17353 y.as_raw_ptr(),
17354 )
17355 }
17356 }
17357}
17358
17359impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
17360 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
17362 unsafe {
17363 crate::__ffi::ctr_cpp_std_ffi_std_operator__115(
17364 self as *const crate::VectorOfUlong,
17365 y.as_raw_ptr(),
17366 )
17367 }
17368 }
17369}
17370
17371impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
17372 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
17374 unsafe {
17375 crate::__ffi::ctr_cpp_std_ffi_std_operator__116(
17376 self as *const crate::VectorOfLonglong,
17377 y.as_raw_ptr(),
17378 )
17379 }
17380 }
17381}
17382
17383impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
17384 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
17386 unsafe {
17387 crate::__ffi::ctr_cpp_std_ffi_std_operator__117(
17388 self as *const crate::VectorOfUlonglong,
17389 y.as_raw_ptr(),
17390 )
17391 }
17392 }
17393}
17394
17395impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
17396 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
17398 unsafe {
17399 crate::__ffi::ctr_cpp_std_ffi_std_operator__118(
17400 self as *const crate::VectorOfFloat,
17401 y.as_raw_ptr(),
17402 )
17403 }
17404 }
17405}
17406
17407impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
17408 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
17410 unsafe {
17411 crate::__ffi::ctr_cpp_std_ffi_std_operator__119(
17412 self as *const crate::VectorOfDouble,
17413 y.as_raw_ptr(),
17414 )
17415 }
17416 }
17417}
17418
17419impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
17420 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
17422 unsafe {
17423 crate::__ffi::ctr_cpp_std_ffi_std_operator__120(
17424 self as *const crate::VectorOfI8,
17425 y.as_raw_ptr(),
17426 )
17427 }
17428 }
17429}
17430
17431impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
17432 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
17434 unsafe {
17435 crate::__ffi::ctr_cpp_std_ffi_std_operator__121(
17436 self as *const crate::VectorOfU8,
17437 y.as_raw_ptr(),
17438 )
17439 }
17440 }
17441}
17442
17443impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
17444 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
17446 unsafe {
17447 crate::__ffi::ctr_cpp_std_ffi_std_operator__122(
17448 self as *const crate::VectorOfI16,
17449 y.as_raw_ptr(),
17450 )
17451 }
17452 }
17453}
17454
17455impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
17456 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
17458 unsafe {
17459 crate::__ffi::ctr_cpp_std_ffi_std_operator__123(
17460 self as *const crate::VectorOfU16,
17461 y.as_raw_ptr(),
17462 )
17463 }
17464 }
17465}
17466
17467impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
17468 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
17470 unsafe {
17471 crate::__ffi::ctr_cpp_std_ffi_std_operator__124(
17472 self as *const crate::VectorOfI32,
17473 y.as_raw_ptr(),
17474 )
17475 }
17476 }
17477}
17478
17479impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
17480 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
17482 unsafe {
17483 crate::__ffi::ctr_cpp_std_ffi_std_operator__125(
17484 self as *const crate::VectorOfU32,
17485 y.as_raw_ptr(),
17486 )
17487 }
17488 }
17489}
17490
17491impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
17492 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
17494 unsafe {
17495 crate::__ffi::ctr_cpp_std_ffi_std_operator__126(
17496 self as *const crate::VectorOfI64,
17497 y.as_raw_ptr(),
17498 )
17499 }
17500 }
17501}
17502
17503impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
17504 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
17506 unsafe {
17507 crate::__ffi::ctr_cpp_std_ffi_std_operator__127(
17508 self as *const crate::VectorOfU64,
17509 y.as_raw_ptr(),
17510 )
17511 }
17512 }
17513}
17514
17515impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
17516 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
17518 unsafe {
17519 crate::__ffi::ctr_cpp_std_ffi_std_operator__128(
17520 self as *const crate::VectorOfUsize,
17521 y.as_raw_ptr(),
17522 )
17523 }
17524 }
17525}
17526
17527impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
17528 fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
17530 unsafe {
17531 crate::__ffi::ctr_cpp_std_ffi_std_operator__129(
17532 self as *const crate::VectorOfVoid,
17533 y.as_raw_ptr(),
17534 )
17535 }
17536 }
17537}
17538
17539impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
17540 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
17542 crate::__ffi::ctr_cpp_std_ffi_std_operator_72(
17543 self as *const crate::VectorOfBool,
17544 y.as_raw_ptr(),
17545 )
17546 }
17547}
17548
17549impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
17550 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
17552 crate::__ffi::ctr_cpp_std_ffi_std_operator_73(
17553 self as *const crate::VectorOfChar,
17554 y.as_raw_ptr(),
17555 )
17556 }
17557}
17558
17559impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
17560 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
17562 crate::__ffi::ctr_cpp_std_ffi_std_operator_74(
17563 self as *const crate::VectorOfSchar,
17564 y.as_raw_ptr(),
17565 )
17566 }
17567}
17568
17569impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
17570 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
17572 crate::__ffi::ctr_cpp_std_ffi_std_operator_75(
17573 self as *const crate::VectorOfUchar,
17574 y.as_raw_ptr(),
17575 )
17576 }
17577}
17578
17579impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
17580 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
17582 crate::__ffi::ctr_cpp_std_ffi_std_operator_76(
17583 self as *const crate::VectorOfWcharT,
17584 y.as_raw_ptr(),
17585 )
17586 }
17587}
17588
17589impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
17590 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
17592 crate::__ffi::ctr_cpp_std_ffi_std_operator_77(
17593 self as *const crate::VectorOfChar16T,
17594 y.as_raw_ptr(),
17595 )
17596 }
17597}
17598
17599impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
17600 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
17602 crate::__ffi::ctr_cpp_std_ffi_std_operator_78(
17603 self as *const crate::VectorOfChar32T,
17604 y.as_raw_ptr(),
17605 )
17606 }
17607}
17608
17609impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
17610 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
17612 crate::__ffi::ctr_cpp_std_ffi_std_operator_79(
17613 self as *const crate::VectorOfShort,
17614 y.as_raw_ptr(),
17615 )
17616 }
17617}
17618
17619impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
17620 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
17622 crate::__ffi::ctr_cpp_std_ffi_std_operator_80(
17623 self as *const crate::VectorOfUshort,
17624 y.as_raw_ptr(),
17625 )
17626 }
17627}
17628
17629impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
17630 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
17632 crate::__ffi::ctr_cpp_std_ffi_std_operator_81(
17633 self as *const crate::VectorOfInt,
17634 y.as_raw_ptr(),
17635 )
17636 }
17637}
17638
17639impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
17640 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
17642 crate::__ffi::ctr_cpp_std_ffi_std_operator_82(
17643 self as *const crate::VectorOfUint,
17644 y.as_raw_ptr(),
17645 )
17646 }
17647}
17648
17649impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
17650 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
17652 crate::__ffi::ctr_cpp_std_ffi_std_operator_83(
17653 self as *const crate::VectorOfLong,
17654 y.as_raw_ptr(),
17655 )
17656 }
17657}
17658
17659impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
17660 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
17662 crate::__ffi::ctr_cpp_std_ffi_std_operator_84(
17663 self as *const crate::VectorOfUlong,
17664 y.as_raw_ptr(),
17665 )
17666 }
17667}
17668
17669impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
17670 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
17672 crate::__ffi::ctr_cpp_std_ffi_std_operator_85(
17673 self as *const crate::VectorOfLonglong,
17674 y.as_raw_ptr(),
17675 )
17676 }
17677}
17678
17679impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
17680 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
17682 crate::__ffi::ctr_cpp_std_ffi_std_operator_86(
17683 self as *const crate::VectorOfUlonglong,
17684 y.as_raw_ptr(),
17685 )
17686 }
17687}
17688
17689impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
17690 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
17692 crate::__ffi::ctr_cpp_std_ffi_std_operator_87(
17693 self as *const crate::VectorOfFloat,
17694 y.as_raw_ptr(),
17695 )
17696 }
17697}
17698
17699impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
17700 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
17702 crate::__ffi::ctr_cpp_std_ffi_std_operator_88(
17703 self as *const crate::VectorOfDouble,
17704 y.as_raw_ptr(),
17705 )
17706 }
17707}
17708
17709impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
17710 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
17712 crate::__ffi::ctr_cpp_std_ffi_std_operator_89(
17713 self as *const crate::VectorOfI8,
17714 y.as_raw_ptr(),
17715 )
17716 }
17717}
17718
17719impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
17720 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
17722 crate::__ffi::ctr_cpp_std_ffi_std_operator_90(
17723 self as *const crate::VectorOfU8,
17724 y.as_raw_ptr(),
17725 )
17726 }
17727}
17728
17729impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
17730 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
17732 crate::__ffi::ctr_cpp_std_ffi_std_operator_91(
17733 self as *const crate::VectorOfI16,
17734 y.as_raw_ptr(),
17735 )
17736 }
17737}
17738
17739impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
17740 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
17742 crate::__ffi::ctr_cpp_std_ffi_std_operator_92(
17743 self as *const crate::VectorOfU16,
17744 y.as_raw_ptr(),
17745 )
17746 }
17747}
17748
17749impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
17750 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
17752 crate::__ffi::ctr_cpp_std_ffi_std_operator_93(
17753 self as *const crate::VectorOfI32,
17754 y.as_raw_ptr(),
17755 )
17756 }
17757}
17758
17759impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
17760 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
17762 crate::__ffi::ctr_cpp_std_ffi_std_operator_94(
17763 self as *const crate::VectorOfU32,
17764 y.as_raw_ptr(),
17765 )
17766 }
17767}
17768
17769impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
17770 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
17772 crate::__ffi::ctr_cpp_std_ffi_std_operator_95(
17773 self as *const crate::VectorOfI64,
17774 y.as_raw_ptr(),
17775 )
17776 }
17777}
17778
17779impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
17780 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
17782 crate::__ffi::ctr_cpp_std_ffi_std_operator_96(
17783 self as *const crate::VectorOfU64,
17784 y.as_raw_ptr(),
17785 )
17786 }
17787}
17788
17789impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
17790 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
17792 crate::__ffi::ctr_cpp_std_ffi_std_operator_97(
17793 self as *const crate::VectorOfUsize,
17794 y.as_raw_ptr(),
17795 )
17796 }
17797}
17798
17799impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
17800 unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
17802 crate::__ffi::ctr_cpp_std_ffi_std_operator_98(
17803 self as *const crate::VectorOfVoid,
17804 y.as_raw_ptr(),
17805 )
17806 }
17807}
17808
17809impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
17810 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
17812 crate::__ffi::ctr_cpp_std_ffi_std_operator_99(
17813 self as *const crate::VectorOfBool,
17814 y.as_raw_ptr(),
17815 )
17816 }
17817}
17818
17819impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
17820 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
17822 crate::__ffi::ctr_cpp_std_ffi_std_operator_100(
17823 self as *const crate::VectorOfChar,
17824 y.as_raw_ptr(),
17825 )
17826 }
17827}
17828
17829impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
17830 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
17832 crate::__ffi::ctr_cpp_std_ffi_std_operator_101(
17833 self as *const crate::VectorOfSchar,
17834 y.as_raw_ptr(),
17835 )
17836 }
17837}
17838
17839impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
17840 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
17842 crate::__ffi::ctr_cpp_std_ffi_std_operator_102(
17843 self as *const crate::VectorOfUchar,
17844 y.as_raw_ptr(),
17845 )
17846 }
17847}
17848
17849impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
17850 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
17852 crate::__ffi::ctr_cpp_std_ffi_std_operator_103(
17853 self as *const crate::VectorOfWcharT,
17854 y.as_raw_ptr(),
17855 )
17856 }
17857}
17858
17859impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
17860 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
17862 crate::__ffi::ctr_cpp_std_ffi_std_operator_104(
17863 self as *const crate::VectorOfChar16T,
17864 y.as_raw_ptr(),
17865 )
17866 }
17867}
17868
17869impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
17870 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
17872 crate::__ffi::ctr_cpp_std_ffi_std_operator_105(
17873 self as *const crate::VectorOfChar32T,
17874 y.as_raw_ptr(),
17875 )
17876 }
17877}
17878
17879impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
17880 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
17882 crate::__ffi::ctr_cpp_std_ffi_std_operator_106(
17883 self as *const crate::VectorOfShort,
17884 y.as_raw_ptr(),
17885 )
17886 }
17887}
17888
17889impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
17890 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
17892 crate::__ffi::ctr_cpp_std_ffi_std_operator_107(
17893 self as *const crate::VectorOfUshort,
17894 y.as_raw_ptr(),
17895 )
17896 }
17897}
17898
17899impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
17900 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
17902 crate::__ffi::ctr_cpp_std_ffi_std_operator_108(
17903 self as *const crate::VectorOfInt,
17904 y.as_raw_ptr(),
17905 )
17906 }
17907}
17908
17909impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
17910 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
17912 crate::__ffi::ctr_cpp_std_ffi_std_operator_109(
17913 self as *const crate::VectorOfUint,
17914 y.as_raw_ptr(),
17915 )
17916 }
17917}
17918
17919impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
17920 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
17922 crate::__ffi::ctr_cpp_std_ffi_std_operator_110(
17923 self as *const crate::VectorOfLong,
17924 y.as_raw_ptr(),
17925 )
17926 }
17927}
17928
17929impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
17930 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
17932 crate::__ffi::ctr_cpp_std_ffi_std_operator_111(
17933 self as *const crate::VectorOfUlong,
17934 y.as_raw_ptr(),
17935 )
17936 }
17937}
17938
17939impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
17940 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
17942 crate::__ffi::ctr_cpp_std_ffi_std_operator_112(
17943 self as *const crate::VectorOfLonglong,
17944 y.as_raw_ptr(),
17945 )
17946 }
17947}
17948
17949impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
17950 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
17952 crate::__ffi::ctr_cpp_std_ffi_std_operator_113(
17953 self as *const crate::VectorOfUlonglong,
17954 y.as_raw_ptr(),
17955 )
17956 }
17957}
17958
17959impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
17960 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
17962 crate::__ffi::ctr_cpp_std_ffi_std_operator_114(
17963 self as *const crate::VectorOfFloat,
17964 y.as_raw_ptr(),
17965 )
17966 }
17967}
17968
17969impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
17970 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
17972 crate::__ffi::ctr_cpp_std_ffi_std_operator_115(
17973 self as *const crate::VectorOfDouble,
17974 y.as_raw_ptr(),
17975 )
17976 }
17977}
17978
17979impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
17980 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
17982 crate::__ffi::ctr_cpp_std_ffi_std_operator_116(
17983 self as *const crate::VectorOfI8,
17984 y.as_raw_ptr(),
17985 )
17986 }
17987}
17988
17989impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
17990 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
17992 crate::__ffi::ctr_cpp_std_ffi_std_operator_117(
17993 self as *const crate::VectorOfU8,
17994 y.as_raw_ptr(),
17995 )
17996 }
17997}
17998
17999impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
18000 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
18002 crate::__ffi::ctr_cpp_std_ffi_std_operator_118(
18003 self as *const crate::VectorOfI16,
18004 y.as_raw_ptr(),
18005 )
18006 }
18007}
18008
18009impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
18010 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
18012 crate::__ffi::ctr_cpp_std_ffi_std_operator_119(
18013 self as *const crate::VectorOfU16,
18014 y.as_raw_ptr(),
18015 )
18016 }
18017}
18018
18019impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
18020 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
18022 crate::__ffi::ctr_cpp_std_ffi_std_operator_120(
18023 self as *const crate::VectorOfI32,
18024 y.as_raw_ptr(),
18025 )
18026 }
18027}
18028
18029impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
18030 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
18032 crate::__ffi::ctr_cpp_std_ffi_std_operator_121(
18033 self as *const crate::VectorOfU32,
18034 y.as_raw_ptr(),
18035 )
18036 }
18037}
18038
18039impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
18040 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
18042 crate::__ffi::ctr_cpp_std_ffi_std_operator_122(
18043 self as *const crate::VectorOfI64,
18044 y.as_raw_ptr(),
18045 )
18046 }
18047}
18048
18049impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
18050 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
18052 crate::__ffi::ctr_cpp_std_ffi_std_operator_123(
18053 self as *const crate::VectorOfU64,
18054 y.as_raw_ptr(),
18055 )
18056 }
18057}
18058
18059impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
18060 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
18062 crate::__ffi::ctr_cpp_std_ffi_std_operator_124(
18063 self as *const crate::VectorOfUsize,
18064 y.as_raw_ptr(),
18065 )
18066 }
18067}
18068
18069impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
18070 unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
18072 crate::__ffi::ctr_cpp_std_ffi_std_operator_125(
18073 self as *const crate::VectorOfVoid,
18074 y.as_raw_ptr(),
18075 )
18076 }
18077}
18078
18079impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
18080 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
18082 crate::__ffi::ctr_cpp_std_ffi_std_operator__157(
18083 self as *const crate::VectorOfBool,
18084 y.as_raw_ptr(),
18085 )
18086 }
18087}
18088
18089impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
18090 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
18092 crate::__ffi::ctr_cpp_std_ffi_std_operator__158(
18093 self as *const crate::VectorOfChar,
18094 y.as_raw_ptr(),
18095 )
18096 }
18097}
18098
18099impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
18100 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
18102 crate::__ffi::ctr_cpp_std_ffi_std_operator__159(
18103 self as *const crate::VectorOfSchar,
18104 y.as_raw_ptr(),
18105 )
18106 }
18107}
18108
18109impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
18110 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
18112 crate::__ffi::ctr_cpp_std_ffi_std_operator__160(
18113 self as *const crate::VectorOfUchar,
18114 y.as_raw_ptr(),
18115 )
18116 }
18117}
18118
18119impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
18120 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
18122 crate::__ffi::ctr_cpp_std_ffi_std_operator__161(
18123 self as *const crate::VectorOfWcharT,
18124 y.as_raw_ptr(),
18125 )
18126 }
18127}
18128
18129impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
18130 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
18132 crate::__ffi::ctr_cpp_std_ffi_std_operator__162(
18133 self as *const crate::VectorOfChar16T,
18134 y.as_raw_ptr(),
18135 )
18136 }
18137}
18138
18139impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
18140 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
18142 crate::__ffi::ctr_cpp_std_ffi_std_operator__163(
18143 self as *const crate::VectorOfChar32T,
18144 y.as_raw_ptr(),
18145 )
18146 }
18147}
18148
18149impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
18150 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
18152 crate::__ffi::ctr_cpp_std_ffi_std_operator__164(
18153 self as *const crate::VectorOfShort,
18154 y.as_raw_ptr(),
18155 )
18156 }
18157}
18158
18159impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
18160 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
18162 crate::__ffi::ctr_cpp_std_ffi_std_operator__165(
18163 self as *const crate::VectorOfUshort,
18164 y.as_raw_ptr(),
18165 )
18166 }
18167}
18168
18169impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
18170 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
18172 crate::__ffi::ctr_cpp_std_ffi_std_operator__166(
18173 self as *const crate::VectorOfInt,
18174 y.as_raw_ptr(),
18175 )
18176 }
18177}
18178
18179impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
18180 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
18182 crate::__ffi::ctr_cpp_std_ffi_std_operator__167(
18183 self as *const crate::VectorOfUint,
18184 y.as_raw_ptr(),
18185 )
18186 }
18187}
18188
18189impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
18190 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
18192 crate::__ffi::ctr_cpp_std_ffi_std_operator__168(
18193 self as *const crate::VectorOfLong,
18194 y.as_raw_ptr(),
18195 )
18196 }
18197}
18198
18199impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
18200 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
18202 crate::__ffi::ctr_cpp_std_ffi_std_operator__169(
18203 self as *const crate::VectorOfUlong,
18204 y.as_raw_ptr(),
18205 )
18206 }
18207}
18208
18209impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
18210 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
18212 crate::__ffi::ctr_cpp_std_ffi_std_operator__170(
18213 self as *const crate::VectorOfLonglong,
18214 y.as_raw_ptr(),
18215 )
18216 }
18217}
18218
18219impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
18220 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
18222 crate::__ffi::ctr_cpp_std_ffi_std_operator__171(
18223 self as *const crate::VectorOfUlonglong,
18224 y.as_raw_ptr(),
18225 )
18226 }
18227}
18228
18229impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
18230 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
18232 crate::__ffi::ctr_cpp_std_ffi_std_operator__172(
18233 self as *const crate::VectorOfFloat,
18234 y.as_raw_ptr(),
18235 )
18236 }
18237}
18238
18239impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
18240 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
18242 crate::__ffi::ctr_cpp_std_ffi_std_operator__173(
18243 self as *const crate::VectorOfDouble,
18244 y.as_raw_ptr(),
18245 )
18246 }
18247}
18248
18249impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
18250 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
18252 crate::__ffi::ctr_cpp_std_ffi_std_operator__174(
18253 self as *const crate::VectorOfI8,
18254 y.as_raw_ptr(),
18255 )
18256 }
18257}
18258
18259impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
18260 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
18262 crate::__ffi::ctr_cpp_std_ffi_std_operator__175(
18263 self as *const crate::VectorOfU8,
18264 y.as_raw_ptr(),
18265 )
18266 }
18267}
18268
18269impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
18270 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
18272 crate::__ffi::ctr_cpp_std_ffi_std_operator__176(
18273 self as *const crate::VectorOfI16,
18274 y.as_raw_ptr(),
18275 )
18276 }
18277}
18278
18279impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
18280 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
18282 crate::__ffi::ctr_cpp_std_ffi_std_operator__177(
18283 self as *const crate::VectorOfU16,
18284 y.as_raw_ptr(),
18285 )
18286 }
18287}
18288
18289impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
18290 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
18292 crate::__ffi::ctr_cpp_std_ffi_std_operator__178(
18293 self as *const crate::VectorOfI32,
18294 y.as_raw_ptr(),
18295 )
18296 }
18297}
18298
18299impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
18300 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
18302 crate::__ffi::ctr_cpp_std_ffi_std_operator__179(
18303 self as *const crate::VectorOfU32,
18304 y.as_raw_ptr(),
18305 )
18306 }
18307}
18308
18309impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
18310 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
18312 crate::__ffi::ctr_cpp_std_ffi_std_operator__180(
18313 self as *const crate::VectorOfI64,
18314 y.as_raw_ptr(),
18315 )
18316 }
18317}
18318
18319impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
18320 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
18322 crate::__ffi::ctr_cpp_std_ffi_std_operator__181(
18323 self as *const crate::VectorOfU64,
18324 y.as_raw_ptr(),
18325 )
18326 }
18327}
18328
18329impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
18330 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
18332 crate::__ffi::ctr_cpp_std_ffi_std_operator__182(
18333 self as *const crate::VectorOfUsize,
18334 y.as_raw_ptr(),
18335 )
18336 }
18337}
18338
18339impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
18340 unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
18342 crate::__ffi::ctr_cpp_std_ffi_std_operator__183(
18343 self as *const crate::VectorOfVoid,
18344 y.as_raw_ptr(),
18345 )
18346 }
18347}
18348
18349impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
18350 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
18352 crate::__ffi::ctr_cpp_std_ffi_std_operator__184(
18353 self as *const crate::VectorOfBool,
18354 y.as_raw_ptr(),
18355 )
18356 }
18357}
18358
18359impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
18360 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
18362 crate::__ffi::ctr_cpp_std_ffi_std_operator__185(
18363 self as *const crate::VectorOfChar,
18364 y.as_raw_ptr(),
18365 )
18366 }
18367}
18368
18369impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
18370 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
18372 crate::__ffi::ctr_cpp_std_ffi_std_operator__186(
18373 self as *const crate::VectorOfSchar,
18374 y.as_raw_ptr(),
18375 )
18376 }
18377}
18378
18379impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
18380 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
18382 crate::__ffi::ctr_cpp_std_ffi_std_operator__187(
18383 self as *const crate::VectorOfUchar,
18384 y.as_raw_ptr(),
18385 )
18386 }
18387}
18388
18389impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
18390 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
18392 crate::__ffi::ctr_cpp_std_ffi_std_operator__188(
18393 self as *const crate::VectorOfWcharT,
18394 y.as_raw_ptr(),
18395 )
18396 }
18397}
18398
18399impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
18400 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
18402 crate::__ffi::ctr_cpp_std_ffi_std_operator__189(
18403 self as *const crate::VectorOfChar16T,
18404 y.as_raw_ptr(),
18405 )
18406 }
18407}
18408
18409impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
18410 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
18412 crate::__ffi::ctr_cpp_std_ffi_std_operator__190(
18413 self as *const crate::VectorOfChar32T,
18414 y.as_raw_ptr(),
18415 )
18416 }
18417}
18418
18419impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
18420 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
18422 crate::__ffi::ctr_cpp_std_ffi_std_operator__191(
18423 self as *const crate::VectorOfShort,
18424 y.as_raw_ptr(),
18425 )
18426 }
18427}
18428
18429impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
18430 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
18432 crate::__ffi::ctr_cpp_std_ffi_std_operator__192(
18433 self as *const crate::VectorOfUshort,
18434 y.as_raw_ptr(),
18435 )
18436 }
18437}
18438
18439impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
18440 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
18442 crate::__ffi::ctr_cpp_std_ffi_std_operator__193(
18443 self as *const crate::VectorOfInt,
18444 y.as_raw_ptr(),
18445 )
18446 }
18447}
18448
18449impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
18450 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
18452 crate::__ffi::ctr_cpp_std_ffi_std_operator__194(
18453 self as *const crate::VectorOfUint,
18454 y.as_raw_ptr(),
18455 )
18456 }
18457}
18458
18459impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
18460 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
18462 crate::__ffi::ctr_cpp_std_ffi_std_operator__195(
18463 self as *const crate::VectorOfLong,
18464 y.as_raw_ptr(),
18465 )
18466 }
18467}
18468
18469impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
18470 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
18472 crate::__ffi::ctr_cpp_std_ffi_std_operator__196(
18473 self as *const crate::VectorOfUlong,
18474 y.as_raw_ptr(),
18475 )
18476 }
18477}
18478
18479impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
18480 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
18482 crate::__ffi::ctr_cpp_std_ffi_std_operator__197(
18483 self as *const crate::VectorOfLonglong,
18484 y.as_raw_ptr(),
18485 )
18486 }
18487}
18488
18489impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
18490 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
18492 crate::__ffi::ctr_cpp_std_ffi_std_operator__198(
18493 self as *const crate::VectorOfUlonglong,
18494 y.as_raw_ptr(),
18495 )
18496 }
18497}
18498
18499impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
18500 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
18502 crate::__ffi::ctr_cpp_std_ffi_std_operator__199(
18503 self as *const crate::VectorOfFloat,
18504 y.as_raw_ptr(),
18505 )
18506 }
18507}
18508
18509impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
18510 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
18512 crate::__ffi::ctr_cpp_std_ffi_std_operator__200(
18513 self as *const crate::VectorOfDouble,
18514 y.as_raw_ptr(),
18515 )
18516 }
18517}
18518
18519impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
18520 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
18522 crate::__ffi::ctr_cpp_std_ffi_std_operator__201(
18523 self as *const crate::VectorOfI8,
18524 y.as_raw_ptr(),
18525 )
18526 }
18527}
18528
18529impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
18530 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
18532 crate::__ffi::ctr_cpp_std_ffi_std_operator__202(
18533 self as *const crate::VectorOfU8,
18534 y.as_raw_ptr(),
18535 )
18536 }
18537}
18538
18539impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
18540 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
18542 crate::__ffi::ctr_cpp_std_ffi_std_operator__203(
18543 self as *const crate::VectorOfI16,
18544 y.as_raw_ptr(),
18545 )
18546 }
18547}
18548
18549impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
18550 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
18552 crate::__ffi::ctr_cpp_std_ffi_std_operator__204(
18553 self as *const crate::VectorOfU16,
18554 y.as_raw_ptr(),
18555 )
18556 }
18557}
18558
18559impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
18560 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
18562 crate::__ffi::ctr_cpp_std_ffi_std_operator__205(
18563 self as *const crate::VectorOfI32,
18564 y.as_raw_ptr(),
18565 )
18566 }
18567}
18568
18569impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
18570 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
18572 crate::__ffi::ctr_cpp_std_ffi_std_operator__206(
18573 self as *const crate::VectorOfU32,
18574 y.as_raw_ptr(),
18575 )
18576 }
18577}
18578
18579impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
18580 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
18582 crate::__ffi::ctr_cpp_std_ffi_std_operator__207(
18583 self as *const crate::VectorOfI64,
18584 y.as_raw_ptr(),
18585 )
18586 }
18587}
18588
18589impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
18590 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
18592 crate::__ffi::ctr_cpp_std_ffi_std_operator__208(
18593 self as *const crate::VectorOfU64,
18594 y.as_raw_ptr(),
18595 )
18596 }
18597}
18598
18599impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
18600 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
18602 crate::__ffi::ctr_cpp_std_ffi_std_operator__209(
18603 self as *const crate::VectorOfUsize,
18604 y.as_raw_ptr(),
18605 )
18606 }
18607}
18608
18609impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
18610 unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
18612 crate::__ffi::ctr_cpp_std_ffi_std_operator__210(
18613 self as *const crate::VectorOfVoid,
18614 y.as_raw_ptr(),
18615 )
18616 }
18617}
18618
18619impl ::cpp_core::CppDeletable for crate::IteratorOfOutputIteratorTag {
18620 unsafe fn delete(&mut self) {
18622 crate::__ffi::ctr_cpp_std_ffi_std_iterator_std_output_iterator_tag_void_void_void_void_diterator(self as *mut crate::IteratorOfOutputIteratorTag)
18623 }
18624}
18625
18626impl ::cpp_core::CppDeletable for crate::CharTraitsOfChar {
18627 unsafe fn delete(&mut self) {
18629 crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char_dchar_traits(
18630 self as *mut crate::CharTraitsOfChar,
18631 )
18632 }
18633}
18634
18635impl ::cpp_core::CppDeletable for crate::CharTraitsOfWcharT {
18636 unsafe fn delete(&mut self) {
18638 crate::__ffi::ctr_cpp_std_ffi_std_char_traits_wchar_t_dchar_traits(
18639 self as *mut crate::CharTraitsOfWcharT,
18640 )
18641 }
18642}
18643
18644impl ::cpp_core::CppDeletable for crate::CharTraitsOfChar16T {
18645 unsafe fn delete(&mut self) {
18647 crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char16_t_dchar_traits(
18648 self as *mut crate::CharTraitsOfChar16T,
18649 )
18650 }
18651}
18652
18653impl ::cpp_core::CppDeletable for crate::CharTraitsOfChar32T {
18654 unsafe fn delete(&mut self) {
18656 crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char32_t_dchar_traits(
18657 self as *mut crate::CharTraitsOfChar32T,
18658 )
18659 }
18660}
18661
18662impl ::cpp_core::StaticDowncast<crate::ForwardIteratorTag> for crate::InputIteratorTag {
18663 unsafe fn static_downcast(
18665 ptr: ::cpp_core::Ptr<crate::InputIteratorTag>,
18666 ) -> ::cpp_core::Ptr<crate::ForwardIteratorTag> {
18667 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr(
18668 ptr.as_raw_ptr() as *mut crate::InputIteratorTag,
18669 );
18670 ::cpp_core::Ptr::from_raw(ffi_result)
18671 }
18672
18673 unsafe fn static_downcast_mut(
18675 ptr: ::cpp_core::MutPtr<crate::InputIteratorTag>,
18676 ) -> ::cpp_core::MutPtr<crate::ForwardIteratorTag> {
18677 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr(
18678 ptr.as_mut_raw_ptr(),
18679 );
18680 ::cpp_core::MutPtr::from_raw(ffi_result)
18681 }
18682}
18683
18684impl ::cpp_core::StaticUpcast<crate::InputIteratorTag> for crate::ForwardIteratorTag {
18685 unsafe fn static_upcast(
18687 ptr: ::cpp_core::Ptr<crate::ForwardIteratorTag>,
18688 ) -> ::cpp_core::Ptr<crate::InputIteratorTag> {
18689 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr(
18690 ptr.as_raw_ptr() as *mut crate::ForwardIteratorTag,
18691 );
18692 ::cpp_core::Ptr::from_raw(ffi_result)
18693 }
18694
18695 unsafe fn static_upcast_mut(
18697 ptr: ::cpp_core::MutPtr<crate::ForwardIteratorTag>,
18698 ) -> ::cpp_core::MutPtr<crate::InputIteratorTag> {
18699 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr(
18700 ptr.as_mut_raw_ptr(),
18701 );
18702 ::cpp_core::MutPtr::from_raw(ffi_result)
18703 }
18704}
18705
18706impl ::std::ops::Deref for crate::ForwardIteratorTag {
18707 type Target = crate::InputIteratorTag;
18708 fn deref(&self) -> &crate::InputIteratorTag {
18710 let ffi_result = unsafe {
18711 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr(
18712 self as *const crate::ForwardIteratorTag as *mut crate::ForwardIteratorTag,
18713 )
18714 };
18715 unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
18716 }
18717}
18718
18719impl ::std::ops::DerefMut for crate::ForwardIteratorTag {
18720 fn deref_mut(&mut self) -> &mut crate::InputIteratorTag {
18722 let ffi_result = unsafe {
18723 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr(
18724 self as *mut crate::ForwardIteratorTag,
18725 )
18726 };
18727 unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
18728 }
18729}
18730
18731impl ::cpp_core::StaticDowncast<crate::BidirectionalIteratorTag> for crate::ForwardIteratorTag {
18732 unsafe fn static_downcast(
18734 ptr: ::cpp_core::Ptr<crate::ForwardIteratorTag>,
18735 ) -> ::cpp_core::Ptr<crate::BidirectionalIteratorTag> {
18736 let ffi_result =
18737 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr(
18738 ptr.as_raw_ptr() as *mut crate::ForwardIteratorTag,
18739 );
18740 ::cpp_core::Ptr::from_raw(ffi_result)
18741 }
18742
18743 unsafe fn static_downcast_mut(
18745 ptr: ::cpp_core::MutPtr<crate::ForwardIteratorTag>,
18746 ) -> ::cpp_core::MutPtr<crate::BidirectionalIteratorTag> {
18747 let ffi_result =
18748 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr(
18749 ptr.as_mut_raw_ptr(),
18750 );
18751 ::cpp_core::MutPtr::from_raw(ffi_result)
18752 }
18753}
18754
18755impl ::cpp_core::StaticUpcast<crate::ForwardIteratorTag> for crate::BidirectionalIteratorTag {
18756 unsafe fn static_upcast(
18758 ptr: ::cpp_core::Ptr<crate::BidirectionalIteratorTag>,
18759 ) -> ::cpp_core::Ptr<crate::ForwardIteratorTag> {
18760 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr1(
18761 ptr.as_raw_ptr() as *mut crate::BidirectionalIteratorTag,
18762 );
18763 ::cpp_core::Ptr::from_raw(ffi_result)
18764 }
18765
18766 unsafe fn static_upcast_mut(
18768 ptr: ::cpp_core::MutPtr<crate::BidirectionalIteratorTag>,
18769 ) -> ::cpp_core::MutPtr<crate::ForwardIteratorTag> {
18770 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr1(
18771 ptr.as_mut_raw_ptr(),
18772 );
18773 ::cpp_core::MutPtr::from_raw(ffi_result)
18774 }
18775}
18776
18777impl ::std::ops::Deref for crate::BidirectionalIteratorTag {
18778 type Target = crate::ForwardIteratorTag;
18779 fn deref(&self) -> &crate::ForwardIteratorTag {
18781 let ffi_result = unsafe {
18782 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr1(
18783 self as *const crate::BidirectionalIteratorTag
18784 as *mut crate::BidirectionalIteratorTag,
18785 )
18786 };
18787 unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
18788 }
18789}
18790
18791impl ::std::ops::DerefMut for crate::BidirectionalIteratorTag {
18792 fn deref_mut(&mut self) -> &mut crate::ForwardIteratorTag {
18794 let ffi_result = unsafe {
18795 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr1(
18796 self as *mut crate::BidirectionalIteratorTag,
18797 )
18798 };
18799 unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
18800 }
18801}
18802
18803impl ::cpp_core::StaticDowncast<crate::BidirectionalIteratorTag> for crate::InputIteratorTag {
18804 unsafe fn static_downcast(
18806 ptr: ::cpp_core::Ptr<crate::InputIteratorTag>,
18807 ) -> ::cpp_core::Ptr<crate::BidirectionalIteratorTag> {
18808 let ffi_result =
18809 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr1(
18810 ptr.as_raw_ptr() as *mut crate::InputIteratorTag,
18811 );
18812 ::cpp_core::Ptr::from_raw(ffi_result)
18813 }
18814
18815 unsafe fn static_downcast_mut(
18817 ptr: ::cpp_core::MutPtr<crate::InputIteratorTag>,
18818 ) -> ::cpp_core::MutPtr<crate::BidirectionalIteratorTag> {
18819 let ffi_result =
18820 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr1(
18821 ptr.as_mut_raw_ptr(),
18822 );
18823 ::cpp_core::MutPtr::from_raw(ffi_result)
18824 }
18825}
18826
18827impl ::cpp_core::StaticUpcast<crate::InputIteratorTag> for crate::BidirectionalIteratorTag {
18828 unsafe fn static_upcast(
18830 ptr: ::cpp_core::Ptr<crate::BidirectionalIteratorTag>,
18831 ) -> ::cpp_core::Ptr<crate::InputIteratorTag> {
18832 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr1(
18833 ptr.as_raw_ptr() as *mut crate::BidirectionalIteratorTag,
18834 );
18835 ::cpp_core::Ptr::from_raw(ffi_result)
18836 }
18837
18838 unsafe fn static_upcast_mut(
18840 ptr: ::cpp_core::MutPtr<crate::BidirectionalIteratorTag>,
18841 ) -> ::cpp_core::MutPtr<crate::InputIteratorTag> {
18842 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr1(
18843 ptr.as_mut_raw_ptr(),
18844 );
18845 ::cpp_core::MutPtr::from_raw(ffi_result)
18846 }
18847}
18848
18849impl ::cpp_core::StaticDowncast<crate::RandomAccessIteratorTag>
18850 for crate::BidirectionalIteratorTag
18851{
18852 unsafe fn static_downcast(
18854 ptr: ::cpp_core::Ptr<crate::BidirectionalIteratorTag>,
18855 ) -> ::cpp_core::Ptr<crate::RandomAccessIteratorTag> {
18856 let ffi_result =
18857 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr(
18858 ptr.as_raw_ptr() as *mut crate::BidirectionalIteratorTag,
18859 );
18860 ::cpp_core::Ptr::from_raw(ffi_result)
18861 }
18862
18863 unsafe fn static_downcast_mut(
18865 ptr: ::cpp_core::MutPtr<crate::BidirectionalIteratorTag>,
18866 ) -> ::cpp_core::MutPtr<crate::RandomAccessIteratorTag> {
18867 let ffi_result =
18868 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr(
18869 ptr.as_mut_raw_ptr(),
18870 );
18871 ::cpp_core::MutPtr::from_raw(ffi_result)
18872 }
18873}
18874
18875impl ::cpp_core::StaticUpcast<crate::BidirectionalIteratorTag> for crate::RandomAccessIteratorTag {
18876 unsafe fn static_upcast(
18878 ptr: ::cpp_core::Ptr<crate::RandomAccessIteratorTag>,
18879 ) -> ::cpp_core::Ptr<crate::BidirectionalIteratorTag> {
18880 let ffi_result =
18881 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr2(
18882 ptr.as_raw_ptr() as *mut crate::RandomAccessIteratorTag,
18883 );
18884 ::cpp_core::Ptr::from_raw(ffi_result)
18885 }
18886
18887 unsafe fn static_upcast_mut(
18889 ptr: ::cpp_core::MutPtr<crate::RandomAccessIteratorTag>,
18890 ) -> ::cpp_core::MutPtr<crate::BidirectionalIteratorTag> {
18891 let ffi_result =
18892 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr2(
18893 ptr.as_mut_raw_ptr(),
18894 );
18895 ::cpp_core::MutPtr::from_raw(ffi_result)
18896 }
18897}
18898
18899impl ::std::ops::Deref for crate::RandomAccessIteratorTag {
18900 type Target = crate::BidirectionalIteratorTag;
18901 fn deref(&self) -> &crate::BidirectionalIteratorTag {
18903 let ffi_result = unsafe {
18904 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr2(
18905 self as *const crate::RandomAccessIteratorTag
18906 as *mut crate::RandomAccessIteratorTag,
18907 )
18908 };
18909 unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
18910 }
18911}
18912
18913impl ::std::ops::DerefMut for crate::RandomAccessIteratorTag {
18914 fn deref_mut(&mut self) -> &mut crate::BidirectionalIteratorTag {
18916 let ffi_result = unsafe {
18917 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr2(
18918 self as *mut crate::RandomAccessIteratorTag,
18919 )
18920 };
18921 unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
18922 }
18923}
18924
18925impl ::cpp_core::StaticDowncast<crate::RandomAccessIteratorTag> for crate::ForwardIteratorTag {
18926 unsafe fn static_downcast(
18928 ptr: ::cpp_core::Ptr<crate::ForwardIteratorTag>,
18929 ) -> ::cpp_core::Ptr<crate::RandomAccessIteratorTag> {
18930 let ffi_result =
18931 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr1(
18932 ptr.as_raw_ptr() as *mut crate::ForwardIteratorTag,
18933 );
18934 ::cpp_core::Ptr::from_raw(ffi_result)
18935 }
18936
18937 unsafe fn static_downcast_mut(
18939 ptr: ::cpp_core::MutPtr<crate::ForwardIteratorTag>,
18940 ) -> ::cpp_core::MutPtr<crate::RandomAccessIteratorTag> {
18941 let ffi_result =
18942 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr1(
18943 ptr.as_mut_raw_ptr(),
18944 );
18945 ::cpp_core::MutPtr::from_raw(ffi_result)
18946 }
18947}
18948
18949impl ::cpp_core::StaticUpcast<crate::ForwardIteratorTag> for crate::RandomAccessIteratorTag {
18950 unsafe fn static_upcast(
18952 ptr: ::cpp_core::Ptr<crate::RandomAccessIteratorTag>,
18953 ) -> ::cpp_core::Ptr<crate::ForwardIteratorTag> {
18954 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr2(
18955 ptr.as_raw_ptr() as *mut crate::RandomAccessIteratorTag,
18956 );
18957 ::cpp_core::Ptr::from_raw(ffi_result)
18958 }
18959
18960 unsafe fn static_upcast_mut(
18962 ptr: ::cpp_core::MutPtr<crate::RandomAccessIteratorTag>,
18963 ) -> ::cpp_core::MutPtr<crate::ForwardIteratorTag> {
18964 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr2(
18965 ptr.as_mut_raw_ptr(),
18966 );
18967 ::cpp_core::MutPtr::from_raw(ffi_result)
18968 }
18969}
18970
18971impl ::cpp_core::StaticDowncast<crate::RandomAccessIteratorTag> for crate::InputIteratorTag {
18972 unsafe fn static_downcast(
18974 ptr: ::cpp_core::Ptr<crate::InputIteratorTag>,
18975 ) -> ::cpp_core::Ptr<crate::RandomAccessIteratorTag> {
18976 let ffi_result =
18977 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr2(
18978 ptr.as_raw_ptr() as *mut crate::InputIteratorTag,
18979 );
18980 ::cpp_core::Ptr::from_raw(ffi_result)
18981 }
18982
18983 unsafe fn static_downcast_mut(
18985 ptr: ::cpp_core::MutPtr<crate::InputIteratorTag>,
18986 ) -> ::cpp_core::MutPtr<crate::RandomAccessIteratorTag> {
18987 let ffi_result =
18988 crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr2(
18989 ptr.as_mut_raw_ptr(),
18990 );
18991 ::cpp_core::MutPtr::from_raw(ffi_result)
18992 }
18993}
18994
18995impl ::cpp_core::StaticUpcast<crate::InputIteratorTag> for crate::RandomAccessIteratorTag {
18996 unsafe fn static_upcast(
18998 ptr: ::cpp_core::Ptr<crate::RandomAccessIteratorTag>,
18999 ) -> ::cpp_core::Ptr<crate::InputIteratorTag> {
19000 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr2(
19001 ptr.as_raw_ptr() as *mut crate::RandomAccessIteratorTag,
19002 );
19003 ::cpp_core::Ptr::from_raw(ffi_result)
19004 }
19005
19006 unsafe fn static_upcast_mut(
19008 ptr: ::cpp_core::MutPtr<crate::RandomAccessIteratorTag>,
19009 ) -> ::cpp_core::MutPtr<crate::InputIteratorTag> {
19010 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr2(
19011 ptr.as_mut_raw_ptr(),
19012 );
19013 ::cpp_core::MutPtr::from_raw(ffi_result)
19014 }
19015}
19016
19017pub unsafe fn add_char_string(
19019 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
19020 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19021) -> ::cpp_core::CppBox<crate::String> {
19022 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_4(
19023 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
19024 .as_raw_ptr(),
19025 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
19026 );
19027 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
19028}
19029
19030pub unsafe fn add_wchar_t_w_string(
19032 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
19033 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19034) -> ::cpp_core::CppBox<crate::WString> {
19035 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_5(
19036 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
19037 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
19038 );
19039 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
19040}
19041
19042pub unsafe fn add_char16_t_u16_string(
19044 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
19045 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
19046) -> ::cpp_core::CppBox<crate::U16String> {
19047 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_6(
19048 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
19049 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
19050 );
19051 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
19052}
19053
19054pub unsafe fn add_char32_t_u32_string(
19056 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
19057 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
19058) -> ::cpp_core::CppBox<crate::U32String> {
19059 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_7(
19060 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
19061 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
19062 );
19063 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
19064}
19065
19066pub unsafe fn add_char_string2(
19068 lhs: ::std::os::raw::c_char,
19069 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19070) -> ::cpp_core::CppBox<crate::String> {
19071 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_8(
19072 lhs,
19073 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
19074 );
19075 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
19076}
19077
19078pub unsafe fn add_wchar_t_w_string2(
19080 lhs: ::cpp_core::wchar_t,
19081 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19082) -> ::cpp_core::CppBox<crate::WString> {
19083 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_9(
19084 lhs,
19085 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
19086 );
19087 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
19088}
19089
19090pub unsafe fn add_char16_t_u16_string2(
19092 lhs: ::cpp_core::char16_t,
19093 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
19094) -> ::cpp_core::CppBox<crate::U16String> {
19095 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_10(
19096 lhs,
19097 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
19098 );
19099 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
19100}
19101
19102pub unsafe fn add_char32_t_u32_string2(
19104 lhs: ::cpp_core::char32_t,
19105 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
19106) -> ::cpp_core::CppBox<crate::U32String> {
19107 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_11(
19108 lhs,
19109 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
19110 );
19111 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
19112}
19113
19114pub unsafe fn eq_char_string(
19116 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
19117 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19118) -> bool {
19119 crate::__ffi::ctr_cpp_std_ffi_std_operator__59(
19120 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
19121 .as_raw_ptr(),
19122 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
19123 )
19124}
19125
19126pub unsafe fn eq_wchar_t_w_string(
19128 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
19129 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19130) -> bool {
19131 crate::__ffi::ctr_cpp_std_ffi_std_operator__60(
19132 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
19133 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
19134 )
19135}
19136
19137pub unsafe fn eq_char16_t_u16_string(
19139 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
19140 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
19141) -> bool {
19142 crate::__ffi::ctr_cpp_std_ffi_std_operator__61(
19143 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
19144 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
19145 )
19146}
19147
19148pub unsafe fn eq_char32_t_u32_string(
19150 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
19151 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
19152) -> bool {
19153 crate::__ffi::ctr_cpp_std_ffi_std_operator__62(
19154 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
19155 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
19156 )
19157}
19158
19159pub unsafe fn ge_char_string(
19161 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
19162 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19163) -> bool {
19164 crate::__ffi::ctr_cpp_std_ffi_std_operator__99(
19165 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
19166 .as_raw_ptr(),
19167 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
19168 )
19169}
19170
19171pub unsafe fn ge_wchar_t_w_string(
19173 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
19174 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19175) -> bool {
19176 crate::__ffi::ctr_cpp_std_ffi_std_operator__100(
19177 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
19178 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
19179 )
19180}
19181
19182pub unsafe fn ge_char16_t_u16_string(
19184 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
19185 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
19186) -> bool {
19187 crate::__ffi::ctr_cpp_std_ffi_std_operator__101(
19188 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
19189 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
19190 )
19191}
19192
19193pub unsafe fn ge_char32_t_u32_string(
19195 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
19196 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
19197) -> bool {
19198 crate::__ffi::ctr_cpp_std_ffi_std_operator__102(
19199 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
19200 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
19201 )
19202}
19203
19204pub unsafe fn gt_char_string(
19206 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
19207 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19208) -> bool {
19209 crate::__ffi::ctr_cpp_std_ffi_std_operator_68(
19210 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
19211 .as_raw_ptr(),
19212 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
19213 )
19214}
19215
19216pub unsafe fn gt_wchar_t_w_string(
19218 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
19219 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19220) -> bool {
19221 crate::__ffi::ctr_cpp_std_ffi_std_operator_69(
19222 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
19223 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
19224 )
19225}
19226
19227pub unsafe fn gt_char16_t_u16_string(
19229 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
19230 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
19231) -> bool {
19232 crate::__ffi::ctr_cpp_std_ffi_std_operator_70(
19233 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
19234 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
19235 )
19236}
19237
19238pub unsafe fn gt_char32_t_u32_string(
19240 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
19241 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
19242) -> bool {
19243 crate::__ffi::ctr_cpp_std_ffi_std_operator_71(
19244 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
19245 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
19246 )
19247}
19248
19249pub unsafe fn le_char_string(
19251 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
19252 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19253) -> bool {
19254 crate::__ffi::ctr_cpp_std_ffi_std_operator__87(
19255 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
19256 .as_raw_ptr(),
19257 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
19258 )
19259}
19260
19261pub unsafe fn le_wchar_t_w_string(
19263 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
19264 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19265) -> bool {
19266 crate::__ffi::ctr_cpp_std_ffi_std_operator__88(
19267 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
19268 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
19269 )
19270}
19271
19272pub unsafe fn le_char16_t_u16_string(
19274 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
19275 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
19276) -> bool {
19277 crate::__ffi::ctr_cpp_std_ffi_std_operator__89(
19278 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
19279 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
19280 )
19281}
19282
19283pub unsafe fn le_char32_t_u32_string(
19285 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
19286 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
19287) -> bool {
19288 crate::__ffi::ctr_cpp_std_ffi_std_operator__90(
19289 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
19290 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
19291 )
19292}
19293
19294pub unsafe fn lt_char_string(
19296 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
19297 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19298) -> bool {
19299 crate::__ffi::ctr_cpp_std_ffi_std_operator_56(
19300 ::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
19301 .as_raw_ptr(),
19302 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
19303 )
19304}
19305
19306pub unsafe fn lt_wchar_t_w_string(
19308 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
19309 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19310) -> bool {
19311 crate::__ffi::ctr_cpp_std_ffi_std_operator_57(
19312 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
19313 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
19314 )
19315}
19316
19317pub unsafe fn lt_char16_t_u16_string(
19319 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
19320 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
19321) -> bool {
19322 crate::__ffi::ctr_cpp_std_ffi_std_operator_58(
19323 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
19324 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
19325 )
19326}
19327
19328pub unsafe fn lt_char32_t_u32_string(
19330 lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
19331 rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
19332) -> bool {
19333 crate::__ffi::ctr_cpp_std_ffi_std_operator_59(
19334 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
19335 ::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
19336 )
19337}
19338
19339pub unsafe fn stod_string_usize(
19341 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19342 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19343) -> ::std::os::raw::c_double {
19344 crate::__ffi::ctr_cpp_std_ffi_std_stod(
19345 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19346 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19347 )
19348}
19349
19350pub unsafe fn stod_w_string_usize(
19352 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19353 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19354) -> ::std::os::raw::c_double {
19355 crate::__ffi::ctr_cpp_std_ffi_std_stod1(
19356 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19357 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19358 )
19359}
19360
19361pub unsafe fn stod_string(
19363 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19364) -> ::std::os::raw::c_double {
19365 crate::__ffi::ctr_cpp_std_ffi_std_stod2(
19366 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19367 )
19368}
19369
19370pub unsafe fn stod_w_string(
19372 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19373) -> ::std::os::raw::c_double {
19374 crate::__ffi::ctr_cpp_std_ffi_std_stod3(
19375 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19376 )
19377}
19378
19379pub unsafe fn stof_string_usize(
19381 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19382 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19383) -> ::std::os::raw::c_float {
19384 crate::__ffi::ctr_cpp_std_ffi_std_stof(
19385 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19386 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19387 )
19388}
19389
19390pub unsafe fn stof_w_string_usize(
19392 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19393 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19394) -> ::std::os::raw::c_float {
19395 crate::__ffi::ctr_cpp_std_ffi_std_stof1(
19396 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19397 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19398 )
19399}
19400
19401pub unsafe fn stof_string(
19403 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19404) -> ::std::os::raw::c_float {
19405 crate::__ffi::ctr_cpp_std_ffi_std_stof2(
19406 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19407 )
19408}
19409
19410pub unsafe fn stof_w_string(
19412 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19413) -> ::std::os::raw::c_float {
19414 crate::__ffi::ctr_cpp_std_ffi_std_stof3(
19415 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19416 )
19417}
19418
19419pub unsafe fn stoi_string_usize_int(
19421 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19422 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19423 base: ::std::os::raw::c_int,
19424) -> ::std::os::raw::c_int {
19425 crate::__ffi::ctr_cpp_std_ffi_std_stoi(
19426 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19427 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19428 base,
19429 )
19430}
19431
19432pub unsafe fn stoi_w_string_usize_int(
19434 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19435 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19436 base: ::std::os::raw::c_int,
19437) -> ::std::os::raw::c_int {
19438 crate::__ffi::ctr_cpp_std_ffi_std_stoi1(
19439 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19440 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19441 base,
19442 )
19443}
19444
19445pub unsafe fn stoi_string_usize(
19447 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19448 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19449) -> ::std::os::raw::c_int {
19450 crate::__ffi::ctr_cpp_std_ffi_std_stoi2(
19451 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19452 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19453 )
19454}
19455
19456pub unsafe fn stoi_string(
19458 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19459) -> ::std::os::raw::c_int {
19460 crate::__ffi::ctr_cpp_std_ffi_std_stoi3(
19461 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19462 )
19463}
19464
19465pub unsafe fn stoi_w_string_usize(
19467 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19468 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19469) -> ::std::os::raw::c_int {
19470 crate::__ffi::ctr_cpp_std_ffi_std_stoi4(
19471 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19472 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19473 )
19474}
19475
19476pub unsafe fn stoi_w_string(
19478 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19479) -> ::std::os::raw::c_int {
19480 crate::__ffi::ctr_cpp_std_ffi_std_stoi5(
19481 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19482 )
19483}
19484
19485pub unsafe fn stol_string_usize_int(
19487 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19488 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19489 base: ::std::os::raw::c_int,
19490) -> ::std::os::raw::c_long {
19491 crate::__ffi::ctr_cpp_std_ffi_std_stol(
19492 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19493 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19494 base,
19495 )
19496}
19497
19498pub unsafe fn stol_w_string_usize_int(
19500 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19501 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19502 base: ::std::os::raw::c_int,
19503) -> ::std::os::raw::c_long {
19504 crate::__ffi::ctr_cpp_std_ffi_std_stol1(
19505 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19506 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19507 base,
19508 )
19509}
19510
19511pub unsafe fn stol_string_usize(
19513 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19514 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19515) -> ::std::os::raw::c_long {
19516 crate::__ffi::ctr_cpp_std_ffi_std_stol2(
19517 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19518 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19519 )
19520}
19521
19522pub unsafe fn stol_string(
19524 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19525) -> ::std::os::raw::c_long {
19526 crate::__ffi::ctr_cpp_std_ffi_std_stol3(
19527 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19528 )
19529}
19530
19531pub unsafe fn stol_w_string_usize(
19533 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19534 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19535) -> ::std::os::raw::c_long {
19536 crate::__ffi::ctr_cpp_std_ffi_std_stol4(
19537 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19538 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19539 )
19540}
19541
19542pub unsafe fn stol_w_string(
19544 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19545) -> ::std::os::raw::c_long {
19546 crate::__ffi::ctr_cpp_std_ffi_std_stol5(
19547 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19548 )
19549}
19550
19551pub unsafe fn stoll_string_usize_int(
19553 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19554 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19555 base: ::std::os::raw::c_int,
19556) -> ::std::os::raw::c_longlong {
19557 crate::__ffi::ctr_cpp_std_ffi_std_stoll(
19558 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19559 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19560 base,
19561 )
19562}
19563
19564pub unsafe fn stoll_w_string_usize_int(
19566 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19567 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19568 base: ::std::os::raw::c_int,
19569) -> ::std::os::raw::c_longlong {
19570 crate::__ffi::ctr_cpp_std_ffi_std_stoll1(
19571 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19572 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19573 base,
19574 )
19575}
19576
19577pub unsafe fn stoll_string_usize(
19579 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19580 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19581) -> ::std::os::raw::c_longlong {
19582 crate::__ffi::ctr_cpp_std_ffi_std_stoll2(
19583 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19584 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19585 )
19586}
19587
19588pub unsafe fn stoll_string(
19590 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19591) -> ::std::os::raw::c_longlong {
19592 crate::__ffi::ctr_cpp_std_ffi_std_stoll3(
19593 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19594 )
19595}
19596
19597pub unsafe fn stoll_w_string_usize(
19599 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19600 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19601) -> ::std::os::raw::c_longlong {
19602 crate::__ffi::ctr_cpp_std_ffi_std_stoll4(
19603 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19604 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19605 )
19606}
19607
19608pub unsafe fn stoll_w_string(
19610 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19611) -> ::std::os::raw::c_longlong {
19612 crate::__ffi::ctr_cpp_std_ffi_std_stoll5(
19613 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19614 )
19615}
19616
19617pub unsafe fn stoul_string_usize_int(
19619 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19620 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19621 base: ::std::os::raw::c_int,
19622) -> ::std::os::raw::c_ulong {
19623 crate::__ffi::ctr_cpp_std_ffi_std_stoul(
19624 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19625 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19626 base,
19627 )
19628}
19629
19630pub unsafe fn stoul_w_string_usize_int(
19632 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19633 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19634 base: ::std::os::raw::c_int,
19635) -> ::std::os::raw::c_ulong {
19636 crate::__ffi::ctr_cpp_std_ffi_std_stoul1(
19637 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19638 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19639 base,
19640 )
19641}
19642
19643pub unsafe fn stoul_string_usize(
19645 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19646 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19647) -> ::std::os::raw::c_ulong {
19648 crate::__ffi::ctr_cpp_std_ffi_std_stoul2(
19649 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19650 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19651 )
19652}
19653
19654pub unsafe fn stoul_string(
19656 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19657) -> ::std::os::raw::c_ulong {
19658 crate::__ffi::ctr_cpp_std_ffi_std_stoul3(
19659 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19660 )
19661}
19662
19663pub unsafe fn stoul_w_string_usize(
19665 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19666 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19667) -> ::std::os::raw::c_ulong {
19668 crate::__ffi::ctr_cpp_std_ffi_std_stoul4(
19669 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19670 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19671 )
19672}
19673
19674pub unsafe fn stoul_w_string(
19676 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19677) -> ::std::os::raw::c_ulong {
19678 crate::__ffi::ctr_cpp_std_ffi_std_stoul5(
19679 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19680 )
19681}
19682
19683pub unsafe fn stoull_string_usize_int(
19685 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19686 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19687 base: ::std::os::raw::c_int,
19688) -> ::std::os::raw::c_ulonglong {
19689 crate::__ffi::ctr_cpp_std_ffi_std_stoull(
19690 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19691 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19692 base,
19693 )
19694}
19695
19696pub unsafe fn stoull_w_string_usize_int(
19698 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19699 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19700 base: ::std::os::raw::c_int,
19701) -> ::std::os::raw::c_ulonglong {
19702 crate::__ffi::ctr_cpp_std_ffi_std_stoull1(
19703 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19704 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19705 base,
19706 )
19707}
19708
19709pub unsafe fn stoull_string_usize(
19711 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19712 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19713) -> ::std::os::raw::c_ulonglong {
19714 crate::__ffi::ctr_cpp_std_ffi_std_stoull2(
19715 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19716 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19717 )
19718}
19719
19720pub unsafe fn stoull_string(
19722 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
19723) -> ::std::os::raw::c_ulonglong {
19724 crate::__ffi::ctr_cpp_std_ffi_std_stoull3(
19725 ::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
19726 )
19727}
19728
19729pub unsafe fn stoull_w_string_usize(
19731 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19732 idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
19733) -> ::std::os::raw::c_ulonglong {
19734 crate::__ffi::ctr_cpp_std_ffi_std_stoull4(
19735 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19736 ::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
19737 )
19738}
19739
19740pub unsafe fn stoull_w_string(
19742 str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
19743) -> ::std::os::raw::c_ulonglong {
19744 crate::__ffi::ctr_cpp_std_ffi_std_stoull5(
19745 ::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
19746 )
19747}
19748
19749pub unsafe fn swap_2_string(
19751 lhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::String>>,
19752 rhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::String>>,
19753) {
19754 crate::__ffi::ctr_cpp_std_ffi_std_swap(
19755 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::String>>::cast_into(lhs).as_mut_raw_ptr(),
19756 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::String>>::cast_into(rhs).as_mut_raw_ptr(),
19757 )
19758}
19759
19760pub unsafe fn swap_2_w_string(
19762 lhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::WString>>,
19763 rhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::WString>>,
19764) {
19765 crate::__ffi::ctr_cpp_std_ffi_std_swap1(
19766 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::WString>>::cast_into(lhs).as_mut_raw_ptr(),
19767 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::WString>>::cast_into(rhs).as_mut_raw_ptr(),
19768 )
19769}
19770
19771pub unsafe fn swap_2_u16_string(
19773 lhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U16String>>,
19774 rhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U16String>>,
19775) {
19776 crate::__ffi::ctr_cpp_std_ffi_std_swap2(
19777 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::U16String>>::cast_into(lhs)
19778 .as_mut_raw_ptr(),
19779 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::U16String>>::cast_into(rhs)
19780 .as_mut_raw_ptr(),
19781 )
19782}
19783
19784pub unsafe fn swap_2_u32_string(
19786 lhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U32String>>,
19787 rhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U32String>>,
19788) {
19789 crate::__ffi::ctr_cpp_std_ffi_std_swap3(
19790 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::U32String>>::cast_into(lhs)
19791 .as_mut_raw_ptr(),
19792 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::U32String>>::cast_into(rhs)
19793 .as_mut_raw_ptr(),
19794 )
19795}
19796
19797pub unsafe fn swap_2_vector_of_bool(
19799 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfBool>>,
19800 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfBool>>,
19801) {
19802 crate::__ffi::ctr_cpp_std_ffi_std_swap4(
19803 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfBool>>::cast_into(x)
19804 .as_mut_raw_ptr(),
19805 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfBool>>::cast_into(y)
19806 .as_mut_raw_ptr(),
19807 )
19808}
19809
19810pub unsafe fn swap_2_vector_of_char(
19812 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar>>,
19813 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar>>,
19814) {
19815 crate::__ffi::ctr_cpp_std_ffi_std_swap5(
19816 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar>>::cast_into(x)
19817 .as_mut_raw_ptr(),
19818 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar>>::cast_into(y)
19819 .as_mut_raw_ptr(),
19820 )
19821}
19822
19823pub unsafe fn swap_2_vector_of_schar(
19825 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfSchar>>,
19826 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfSchar>>,
19827) {
19828 crate::__ffi::ctr_cpp_std_ffi_std_swap6(
19829 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfSchar>>::cast_into(x)
19830 .as_mut_raw_ptr(),
19831 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfSchar>>::cast_into(y)
19832 .as_mut_raw_ptr(),
19833 )
19834}
19835
19836pub unsafe fn swap_2_vector_of_uchar(
19838 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUchar>>,
19839 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUchar>>,
19840) {
19841 crate::__ffi::ctr_cpp_std_ffi_std_swap7(
19842 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUchar>>::cast_into(x)
19843 .as_mut_raw_ptr(),
19844 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUchar>>::cast_into(y)
19845 .as_mut_raw_ptr(),
19846 )
19847}
19848
19849pub unsafe fn swap_2_vector_of_wchar_t(
19851 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfWcharT>>,
19852 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfWcharT>>,
19853) {
19854 crate::__ffi::ctr_cpp_std_ffi_std_swap8(
19855 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfWcharT>>::cast_into(x)
19856 .as_mut_raw_ptr(),
19857 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfWcharT>>::cast_into(y)
19858 .as_mut_raw_ptr(),
19859 )
19860}
19861
19862pub unsafe fn swap_2_vector_of_char16_t(
19864 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar16T>>,
19865 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar16T>>,
19866) {
19867 crate::__ffi::ctr_cpp_std_ffi_std_swap9(
19868 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar16T>>::cast_into(x)
19869 .as_mut_raw_ptr(),
19870 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar16T>>::cast_into(y)
19871 .as_mut_raw_ptr(),
19872 )
19873}
19874
19875pub unsafe fn swap_2_vector_of_char32_t(
19877 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar32T>>,
19878 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar32T>>,
19879) {
19880 crate::__ffi::ctr_cpp_std_ffi_std_swap10(
19881 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar32T>>::cast_into(x)
19882 .as_mut_raw_ptr(),
19883 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar32T>>::cast_into(y)
19884 .as_mut_raw_ptr(),
19885 )
19886}
19887
19888pub unsafe fn swap_2_vector_of_short(
19890 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfShort>>,
19891 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfShort>>,
19892) {
19893 crate::__ffi::ctr_cpp_std_ffi_std_swap11(
19894 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfShort>>::cast_into(x)
19895 .as_mut_raw_ptr(),
19896 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfShort>>::cast_into(y)
19897 .as_mut_raw_ptr(),
19898 )
19899}
19900
19901pub unsafe fn swap_2_vector_of_ushort(
19903 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUshort>>,
19904 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUshort>>,
19905) {
19906 crate::__ffi::ctr_cpp_std_ffi_std_swap12(
19907 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUshort>>::cast_into(x)
19908 .as_mut_raw_ptr(),
19909 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUshort>>::cast_into(y)
19910 .as_mut_raw_ptr(),
19911 )
19912}
19913
19914pub unsafe fn swap_2_vector_of_int(
19916 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfInt>>,
19917 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfInt>>,
19918) {
19919 crate::__ffi::ctr_cpp_std_ffi_std_swap13(
19920 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfInt>>::cast_into(x)
19921 .as_mut_raw_ptr(),
19922 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfInt>>::cast_into(y)
19923 .as_mut_raw_ptr(),
19924 )
19925}
19926
19927pub unsafe fn swap_2_vector_of_uint(
19929 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUint>>,
19930 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUint>>,
19931) {
19932 crate::__ffi::ctr_cpp_std_ffi_std_swap14(
19933 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUint>>::cast_into(x)
19934 .as_mut_raw_ptr(),
19935 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUint>>::cast_into(y)
19936 .as_mut_raw_ptr(),
19937 )
19938}
19939
19940pub unsafe fn swap_2_vector_of_long(
19942 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLong>>,
19943 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLong>>,
19944) {
19945 crate::__ffi::ctr_cpp_std_ffi_std_swap15(
19946 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLong>>::cast_into(x)
19947 .as_mut_raw_ptr(),
19948 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLong>>::cast_into(y)
19949 .as_mut_raw_ptr(),
19950 )
19951}
19952
19953pub unsafe fn swap_2_vector_of_ulong(
19955 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlong>>,
19956 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlong>>,
19957) {
19958 crate::__ffi::ctr_cpp_std_ffi_std_swap16(
19959 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlong>>::cast_into(x)
19960 .as_mut_raw_ptr(),
19961 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlong>>::cast_into(y)
19962 .as_mut_raw_ptr(),
19963 )
19964}
19965
19966pub unsafe fn swap_2_vector_of_longlong(
19968 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLonglong>>,
19969 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLonglong>>,
19970) {
19971 crate::__ffi::ctr_cpp_std_ffi_std_swap17(
19972 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLonglong>>::cast_into(x)
19973 .as_mut_raw_ptr(),
19974 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLonglong>>::cast_into(y)
19975 .as_mut_raw_ptr(),
19976 )
19977}
19978
19979pub unsafe fn swap_2_vector_of_ulonglong(
19981 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlonglong>>,
19982 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlonglong>>,
19983) {
19984 crate::__ffi::ctr_cpp_std_ffi_std_swap18(
19985 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlonglong>>::cast_into(x)
19986 .as_mut_raw_ptr(),
19987 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlonglong>>::cast_into(y)
19988 .as_mut_raw_ptr(),
19989 )
19990}
19991
19992pub unsafe fn swap_2_vector_of_float(
19994 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfFloat>>,
19995 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfFloat>>,
19996) {
19997 crate::__ffi::ctr_cpp_std_ffi_std_swap19(
19998 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfFloat>>::cast_into(x)
19999 .as_mut_raw_ptr(),
20000 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfFloat>>::cast_into(y)
20001 .as_mut_raw_ptr(),
20002 )
20003}
20004
20005pub unsafe fn swap_2_vector_of_double(
20007 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfDouble>>,
20008 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfDouble>>,
20009) {
20010 crate::__ffi::ctr_cpp_std_ffi_std_swap20(
20011 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfDouble>>::cast_into(x)
20012 .as_mut_raw_ptr(),
20013 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfDouble>>::cast_into(y)
20014 .as_mut_raw_ptr(),
20015 )
20016}
20017
20018pub unsafe fn swap_2_vector_of_i8(
20020 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI8>>,
20021 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI8>>,
20022) {
20023 crate::__ffi::ctr_cpp_std_ffi_std_swap21(
20024 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI8>>::cast_into(x)
20025 .as_mut_raw_ptr(),
20026 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI8>>::cast_into(y)
20027 .as_mut_raw_ptr(),
20028 )
20029}
20030
20031pub unsafe fn swap_2_vector_of_u8(
20033 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU8>>,
20034 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU8>>,
20035) {
20036 crate::__ffi::ctr_cpp_std_ffi_std_swap22(
20037 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU8>>::cast_into(x)
20038 .as_mut_raw_ptr(),
20039 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU8>>::cast_into(y)
20040 .as_mut_raw_ptr(),
20041 )
20042}
20043
20044pub unsafe fn swap_2_vector_of_i16(
20046 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI16>>,
20047 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI16>>,
20048) {
20049 crate::__ffi::ctr_cpp_std_ffi_std_swap23(
20050 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI16>>::cast_into(x)
20051 .as_mut_raw_ptr(),
20052 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI16>>::cast_into(y)
20053 .as_mut_raw_ptr(),
20054 )
20055}
20056
20057pub unsafe fn swap_2_vector_of_u16(
20059 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU16>>,
20060 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU16>>,
20061) {
20062 crate::__ffi::ctr_cpp_std_ffi_std_swap24(
20063 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU16>>::cast_into(x)
20064 .as_mut_raw_ptr(),
20065 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU16>>::cast_into(y)
20066 .as_mut_raw_ptr(),
20067 )
20068}
20069
20070pub unsafe fn swap_2_vector_of_i32(
20072 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI32>>,
20073 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI32>>,
20074) {
20075 crate::__ffi::ctr_cpp_std_ffi_std_swap25(
20076 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI32>>::cast_into(x)
20077 .as_mut_raw_ptr(),
20078 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI32>>::cast_into(y)
20079 .as_mut_raw_ptr(),
20080 )
20081}
20082
20083pub unsafe fn swap_2_vector_of_u32(
20085 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU32>>,
20086 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU32>>,
20087) {
20088 crate::__ffi::ctr_cpp_std_ffi_std_swap26(
20089 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU32>>::cast_into(x)
20090 .as_mut_raw_ptr(),
20091 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU32>>::cast_into(y)
20092 .as_mut_raw_ptr(),
20093 )
20094}
20095
20096pub unsafe fn swap_2_vector_of_i64(
20098 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI64>>,
20099 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI64>>,
20100) {
20101 crate::__ffi::ctr_cpp_std_ffi_std_swap27(
20102 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI64>>::cast_into(x)
20103 .as_mut_raw_ptr(),
20104 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI64>>::cast_into(y)
20105 .as_mut_raw_ptr(),
20106 )
20107}
20108
20109pub unsafe fn swap_2_vector_of_u64(
20111 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU64>>,
20112 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU64>>,
20113) {
20114 crate::__ffi::ctr_cpp_std_ffi_std_swap28(
20115 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU64>>::cast_into(x)
20116 .as_mut_raw_ptr(),
20117 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU64>>::cast_into(y)
20118 .as_mut_raw_ptr(),
20119 )
20120}
20121
20122pub unsafe fn swap_2_vector_of_usize(
20124 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUsize>>,
20125 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUsize>>,
20126) {
20127 crate::__ffi::ctr_cpp_std_ffi_std_swap29(
20128 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUsize>>::cast_into(x)
20129 .as_mut_raw_ptr(),
20130 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUsize>>::cast_into(y)
20131 .as_mut_raw_ptr(),
20132 )
20133}
20134
20135pub unsafe fn swap_2_vector_of_void(
20137 x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfVoid>>,
20138 y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfVoid>>,
20139) {
20140 crate::__ffi::ctr_cpp_std_ffi_std_swap30(
20141 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfVoid>>::cast_into(x)
20142 .as_mut_raw_ptr(),
20143 ::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfVoid>>::cast_into(y)
20144 .as_mut_raw_ptr(),
20145 )
20146}
20147
20148pub unsafe fn to_string_int(val: ::std::os::raw::c_int) -> ::cpp_core::CppBox<crate::String> {
20150 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string(val);
20151 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20152}
20153
20154pub unsafe fn to_string_uint(val: ::std::os::raw::c_uint) -> ::cpp_core::CppBox<crate::String> {
20156 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string1(val);
20157 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20158}
20159
20160pub unsafe fn to_string_long(val: ::std::os::raw::c_long) -> ::cpp_core::CppBox<crate::String> {
20162 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string2(val);
20163 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20164}
20165
20166pub unsafe fn to_string_ulong(val: ::std::os::raw::c_ulong) -> ::cpp_core::CppBox<crate::String> {
20168 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string3(val);
20169 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20170}
20171
20172pub unsafe fn to_string_longlong(
20174 val: ::std::os::raw::c_longlong,
20175) -> ::cpp_core::CppBox<crate::String> {
20176 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string4(val);
20177 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20178}
20179
20180pub unsafe fn to_string_ulonglong(
20182 val: ::std::os::raw::c_ulonglong,
20183) -> ::cpp_core::CppBox<crate::String> {
20184 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string5(val);
20185 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20186}
20187
20188pub unsafe fn to_string_float(val: ::std::os::raw::c_float) -> ::cpp_core::CppBox<crate::String> {
20190 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string6(val);
20191 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20192}
20193
20194pub unsafe fn to_string_double(val: ::std::os::raw::c_double) -> ::cpp_core::CppBox<crate::String> {
20196 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string7(val);
20197 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20198}
20199
20200pub unsafe fn to_wstring_int(val: ::std::os::raw::c_int) -> ::cpp_core::CppBox<crate::WString> {
20202 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring(val);
20203 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20204}
20205
20206pub unsafe fn to_wstring_uint(val: ::std::os::raw::c_uint) -> ::cpp_core::CppBox<crate::WString> {
20208 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring1(val);
20209 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20210}
20211
20212pub unsafe fn to_wstring_long(val: ::std::os::raw::c_long) -> ::cpp_core::CppBox<crate::WString> {
20214 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring2(val);
20215 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20216}
20217
20218pub unsafe fn to_wstring_ulong(val: ::std::os::raw::c_ulong) -> ::cpp_core::CppBox<crate::WString> {
20220 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring3(val);
20221 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20222}
20223
20224pub unsafe fn to_wstring_longlong(
20226 val: ::std::os::raw::c_longlong,
20227) -> ::cpp_core::CppBox<crate::WString> {
20228 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring4(val);
20229 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20230}
20231
20232pub unsafe fn to_wstring_ulonglong(
20234 val: ::std::os::raw::c_ulonglong,
20235) -> ::cpp_core::CppBox<crate::WString> {
20236 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring5(val);
20237 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20238}
20239
20240pub unsafe fn to_wstring_float(val: ::std::os::raw::c_float) -> ::cpp_core::CppBox<crate::WString> {
20242 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring6(val);
20243 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20244}
20245
20246pub unsafe fn to_wstring_double(
20248 val: ::std::os::raw::c_double,
20249) -> ::cpp_core::CppBox<crate::WString> {
20250 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring7(val);
20251 ::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
20252}
20253
20254pub unsafe fn wcschr(
20256 p: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
20257 c: ::cpp_core::wchar_t,
20258) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
20259 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wcschr(
20260 ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(p)
20261 .as_mut_raw_ptr(),
20262 c,
20263 );
20264 ::cpp_core::MutPtr::from_raw(ffi_result)
20265}
20266
20267pub unsafe fn wcspbrk(
20269 s1: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
20270 s2: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
20271) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
20272 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wcspbrk(
20273 ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(s1)
20274 .as_mut_raw_ptr(),
20275 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s2).as_raw_ptr(),
20276 );
20277 ::cpp_core::MutPtr::from_raw(ffi_result)
20278}
20279
20280pub unsafe fn wcsrchr(
20282 p: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
20283 c: ::cpp_core::wchar_t,
20284) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
20285 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wcsrchr(
20286 ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(p)
20287 .as_mut_raw_ptr(),
20288 c,
20289 );
20290 ::cpp_core::MutPtr::from_raw(ffi_result)
20291}
20292
20293pub unsafe fn wcsstr(
20295 s1: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
20296 s2: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
20297) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
20298 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wcsstr(
20299 ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(s1)
20300 .as_mut_raw_ptr(),
20301 ::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s2).as_raw_ptr(),
20302 );
20303 ::cpp_core::MutPtr::from_raw(ffi_result)
20304}
20305
20306pub unsafe fn wmemchr(
20308 p: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
20309 c: ::cpp_core::wchar_t,
20310 n: usize,
20311) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
20312 let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wmemchr(
20313 ::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(p)
20314 .as_mut_raw_ptr(),
20315 c,
20316 n,
20317 );
20318 ::cpp_core::MutPtr::from_raw(ffi_result)
20319}