mod __ffi {
include!(concat!(env!("OUT_DIR"), "/ffi.rs"));
}
pub use ::cpp_core;
#[repr(C)]
pub struct PiecewiseConstructT {
_unused: u8,
}
impl PiecewiseConstructT {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::PiecewiseConstructT>>,
) -> ::cpp_core::MutRef<crate::PiecewiseConstructT> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_piecewise_construct_t_operator_(
self as *mut crate::PiecewiseConstructT,
::cpp_core::CastInto::<::cpp_core::Ref<crate::PiecewiseConstructT>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::PiecewiseConstructT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_piecewise_construct_t_piecewise_construct_t();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::PiecewiseConstructT>>,
) -> ::cpp_core::CppBox<crate::PiecewiseConstructT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_piecewise_construct_t_piecewise_construct_t1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::PiecewiseConstructT>>::cast_into(
other,
)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct InputIteratorTag {
_unused: u8,
}
impl InputIteratorTag {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::InputIteratorTag>>,
) -> ::cpp_core::MutRef<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_input_iterator_tag_operator_(
self as *mut crate::InputIteratorTag,
::cpp_core::CastInto::<::cpp_core::Ref<crate::InputIteratorTag>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_input_iterator_tag_input_iterator_tag();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::InputIteratorTag>>,
) -> ::cpp_core::CppBox<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_input_iterator_tag_input_iterator_tag1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::InputIteratorTag>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct OutputIteratorTag {
_unused: u8,
}
impl OutputIteratorTag {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::OutputIteratorTag>>,
) -> ::cpp_core::MutRef<crate::OutputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_output_iterator_tag_operator_(
self as *mut crate::OutputIteratorTag,
::cpp_core::CastInto::<::cpp_core::Ref<crate::OutputIteratorTag>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::OutputIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_output_iterator_tag_output_iterator_tag();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::OutputIteratorTag>>,
) -> ::cpp_core::CppBox<crate::OutputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_output_iterator_tag_output_iterator_tag1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::OutputIteratorTag>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct ForwardIteratorTag {
_unused: u8,
}
impl ForwardIteratorTag {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::ForwardIteratorTag>>,
) -> ::cpp_core::MutRef<crate::ForwardIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_forward_iterator_tag_operator_(
self as *mut crate::ForwardIteratorTag,
::cpp_core::CastInto::<::cpp_core::Ref<crate::ForwardIteratorTag>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::ForwardIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_forward_iterator_tag_forward_iterator_tag();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::ForwardIteratorTag>>,
) -> ::cpp_core::CppBox<crate::ForwardIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_forward_iterator_tag_forward_iterator_tag1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::ForwardIteratorTag>>::cast_into(
other,
)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct BidirectionalIteratorTag {
_unused: u8,
}
impl BidirectionalIteratorTag {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::BidirectionalIteratorTag>>,
) -> ::cpp_core::MutRef<crate::BidirectionalIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_bidirectional_iterator_tag_operator_(
self as *mut crate::BidirectionalIteratorTag,
::cpp_core::CastInto::<::cpp_core::Ref<crate::BidirectionalIteratorTag>>::cast_into(
other,
)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::BidirectionalIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_bidirectional_iterator_tag_bidirectional_iterator_tag(
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::BidirectionalIteratorTag>>,
) -> ::cpp_core::CppBox<crate::BidirectionalIteratorTag> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct RandomAccessIteratorTag {
_unused: u8,
}
impl RandomAccessIteratorTag {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::RandomAccessIteratorTag>>,
) -> ::cpp_core::MutRef<crate::RandomAccessIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_random_access_iterator_tag_operator_(
self as *mut crate::RandomAccessIteratorTag,
::cpp_core::CastInto::<::cpp_core::Ref<crate::RandomAccessIteratorTag>>::cast_into(
other,
)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::RandomAccessIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_random_access_iterator_tag_random_access_iterator_tag(
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::RandomAccessIteratorTag>>,
) -> ::cpp_core::CppBox<crate::RandomAccessIteratorTag> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct IteratorOfOutputIteratorTag {
_unused: u8,
}
impl IteratorOfOutputIteratorTag {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::IteratorOfOutputIteratorTag>>,
) -> ::cpp_core::MutRef<crate::IteratorOfOutputIteratorTag> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::IteratorOfOutputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_iterator_std_output_iterator_tag_void_void_void_void_iterator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::IteratorOfOutputIteratorTag>>,
) -> ::cpp_core::CppBox<crate::IteratorOfOutputIteratorTag> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct CharTraitsOfChar {
_unused: u8,
}
impl CharTraitsOfChar {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar>>,
) -> ::cpp_core::MutRef<crate::CharTraitsOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char_operator_(
self as *mut crate::CharTraitsOfChar,
::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::CharTraitsOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char_char_traits();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar>>,
) -> ::cpp_core::CppBox<crate::CharTraitsOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char_char_traits1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct String {
_unused: u8,
}
impl String {
pub unsafe fn append_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_string2_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_char_usize(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
n: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_char(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_usize_char(
&mut self,
n: usize,
c: ::std::os::raw::c_char,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_string_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_string2_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_char_usize(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
n: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_char(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_usize_char(
&mut self,
n: usize,
c: ::std::os::raw::c_char,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_string_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_char> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_char> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn c_str(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_capacity(self as *const crate::String)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_clear(self as *mut crate::String)
}
pub unsafe fn compare_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_string(
&self,
pos: usize,
n: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_string2_usize(
&self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos2: usize,
n2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn compare_char(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_char(
&self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_char_usize(
&self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
n2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn compare_2_usize_string_usize(
&self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn copy_3a(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::std::os::raw::c_char>>,
n: usize,
pos: usize,
) -> usize {
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)
}
pub unsafe fn copy_2a(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::std::os::raw::c_char>>,
n: usize,
) -> usize {
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)
}
pub unsafe fn copy_from_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn copy_from_char(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn copy_from_char2(
&mut self,
c: ::std::os::raw::c_char,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_empty(self as *const crate::String)
}
pub unsafe fn erase_2a(&mut self, pos: usize, n: usize) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn erase_1a(&mut self, pos: usize) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn erase_0a(&mut self) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn find_char2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_char_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_char_usize2(&self, c: ::std::os::raw::c_char, pos: usize) -> usize {
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)
}
pub unsafe fn find_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> usize {
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())
}
pub unsafe fn find_char(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> usize {
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())
}
pub unsafe fn find_char2(&self, c: ::std::os::raw::c_char) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_find6(self as *const crate::String, c)
}
pub unsafe fn find_first_not_of_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char_usize2(
&self,
c: ::std::os::raw::c_char,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> usize {
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())
}
pub unsafe fn find_first_not_of_char(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> usize {
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())
}
pub unsafe fn find_first_not_of_char2(&self, c: ::std::os::raw::c_char) -> usize {
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)
}
pub unsafe fn find_first_of_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char_usize2(&self, c: ::std::os::raw::c_char, pos: usize) -> usize {
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)
}
pub unsafe fn find_first_of_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> usize {
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())
}
pub unsafe fn find_first_of_char(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> usize {
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())
}
pub unsafe fn find_first_of_char2(&self, c: ::std::os::raw::c_char) -> usize {
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)
}
pub unsafe fn find_last_not_of_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char_usize2(
&self,
c: ::std::os::raw::c_char,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> usize {
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())
}
pub unsafe fn find_last_not_of_char(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> usize {
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())
}
pub unsafe fn find_last_not_of_char2(&self, c: ::std::os::raw::c_char) -> usize {
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)
}
pub unsafe fn find_last_of_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char_usize2(&self, c: ::std::os::raw::c_char, pos: usize) -> usize {
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)
}
pub unsafe fn find_last_of_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> usize {
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())
}
pub unsafe fn find_last_of_char(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> usize {
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())
}
pub unsafe fn find_last_of_char2(&self, c: ::std::os::raw::c_char) -> usize {
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)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_char> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, pos: usize) -> ::cpp_core::Ref<::std::os::raw::c_char> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, pos: usize) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_string(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_string2_usize(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos2: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_char_usize(
&mut self,
pos: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
n: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_char(
&mut self,
pos: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_2_usize_char(
&mut self,
pos: usize,
n: usize,
c: ::std::os::raw::c_char,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_string_usize(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos2: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn length(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_length(self as *const crate::String)
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_max_size(self as *const crate::String)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_char(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_string_usize_allocator_of_char(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_string2_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
n: usize,
) -> ::cpp_core::CppBox<crate::String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_string2_usize_allocator_of_char(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char_usize_allocator_of_char(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char_allocator_of_char(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char_allocator_of_char(
n: usize,
c: ::std::os::raw::c_char,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_string_allocator_of_char(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> ::cpp_core::CppBox<crate::String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char_usize(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
n: usize,
) -> ::cpp_core::CppBox<crate::String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char(
n: usize,
c: ::std::os::raw::c_char,
) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_basic_string15(n, c);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::cpp_core::CppBox<crate::String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_pop_back(self as *mut crate::String)
}
pub unsafe fn push_back(&mut self, c: ::std::os::raw::c_char) {
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)
}
pub unsafe fn replace_2_usize_string(
&mut self,
pos: usize,
n: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_string2_usize(
&mut self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos2: usize,
n2: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_char_usize(
&mut self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
n2: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_char(
&mut self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::cpp_core::MutRef<crate::String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_3_usize_char(
&mut self,
pos: usize,
n1: usize,
n2: usize,
c: ::std::os::raw::c_char,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_string_usize(
&mut self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos2: usize,
) -> ::cpp_core::MutRef<crate::String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn reserve_1a(&mut self, res_arg: usize) {
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)
}
pub unsafe fn reserve_0a(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_reserve1(self as *mut crate::String)
}
pub unsafe fn resize_2a(&mut self, n: usize, c: ::std::os::raw::c_char) {
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)
}
pub unsafe fn resize_1a(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_resize1(self as *mut crate::String, n)
}
pub unsafe fn rfind_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char_usize2(&self, c: ::std::os::raw::c_char, pos: usize) -> usize {
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)
}
pub unsafe fn rfind_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> usize {
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())
}
pub unsafe fn rfind_char(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> usize {
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())
}
pub unsafe fn rfind_char2(&self, c: ::std::os::raw::c_char) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_rfind6(self as *const crate::String, c)
}
pub unsafe fn shrink_to_fit(&mut self) {
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)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_size(self as *const crate::String)
}
pub unsafe fn substr_2a(&self, pos: usize, n: usize) -> ::cpp_core::CppBox<crate::String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn substr_1a(&self, pos: usize) -> ::cpp_core::CppBox<crate::String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn substr_0a(&self) -> ::cpp_core::CppBox<crate::String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn swap(&mut self, s: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::String>>) {
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())
}
}
#[repr(C)]
pub struct AllocatorOfChar {
_unused: u8,
}
impl AllocatorOfChar {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char_operator_(
self as *mut crate::AllocatorOfChar,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct CharTraitsOfWcharT {
_unused: u8,
}
impl CharTraitsOfWcharT {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfWcharT>>,
) -> ::cpp_core::MutRef<crate::CharTraitsOfWcharT> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_wchar_t_operator_(
self as *mut crate::CharTraitsOfWcharT,
::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfWcharT>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::CharTraitsOfWcharT> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_wchar_t_char_traits();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfWcharT>>,
) -> ::cpp_core::CppBox<crate::CharTraitsOfWcharT> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_wchar_t_char_traits1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfWcharT>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct WString {
_unused: u8,
}
impl WString {
pub unsafe fn append_w_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_w_string2_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_wchar_t_usize(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_wchar_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_usize_wchar_t(
&mut self,
n: usize,
c: ::cpp_core::wchar_t,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_w_string_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_w_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_w_string2_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_wchar_t_usize(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_wchar_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_usize_wchar_t(
&mut self,
n: usize,
c: ::cpp_core::wchar_t,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_w_string_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn c_str(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn capacity(&self) -> usize {
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)
}
pub unsafe fn clear(&mut self) {
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)
}
pub unsafe fn compare_w_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_w_string(
&self,
pos: usize,
n: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_w_string2_usize(
&self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos2: usize,
n2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn compare_wchar_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_wchar_t(
&self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_wchar_t_usize(
&self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
n2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn compare_2_usize_w_string_usize(
&self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn copy_3a(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
n: usize,
pos: usize,
) -> usize {
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)
}
pub unsafe fn copy_2a(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
n: usize,
) -> usize {
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)
}
pub unsafe fn copy_from_w_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn copy_from_wchar_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn copy_from_wchar_t2(
&mut self,
c: ::cpp_core::wchar_t,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
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)
}
pub unsafe fn erase_2a(&mut self, pos: usize, n: usize) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn erase_1a(&mut self, pos: usize) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn erase_0a(&mut self) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn find_wchar_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_w_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_wchar_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_wchar_t_usize2(&self, c: ::cpp_core::wchar_t, pos: usize) -> usize {
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)
}
pub unsafe fn find_w_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> usize {
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())
}
pub unsafe fn find_wchar_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> usize {
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())
}
pub unsafe fn find_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
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)
}
pub unsafe fn find_first_not_of_w_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_wchar_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_wchar_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_wchar_t_usize2(
&self,
c: ::cpp_core::wchar_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_w_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> usize {
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())
}
pub unsafe fn find_first_not_of_wchar_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> usize {
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())
}
pub unsafe fn find_first_not_of_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
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)
}
pub unsafe fn find_first_of_w_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_wchar_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_wchar_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_wchar_t_usize2(&self, c: ::cpp_core::wchar_t, pos: usize) -> usize {
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)
}
pub unsafe fn find_first_of_w_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> usize {
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())
}
pub unsafe fn find_first_of_wchar_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> usize {
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())
}
pub unsafe fn find_first_of_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
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)
}
pub unsafe fn find_last_not_of_w_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_wchar_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_wchar_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_wchar_t_usize2(
&self,
c: ::cpp_core::wchar_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_w_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> usize {
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())
}
pub unsafe fn find_last_not_of_wchar_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> usize {
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())
}
pub unsafe fn find_last_not_of_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
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)
}
pub unsafe fn find_last_of_w_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_wchar_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_wchar_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_wchar_t_usize2(&self, c: ::cpp_core::wchar_t, pos: usize) -> usize {
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)
}
pub unsafe fn find_last_of_w_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> usize {
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())
}
pub unsafe fn find_last_of_wchar_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> usize {
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())
}
pub unsafe fn find_last_of_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
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)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, pos: usize) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, pos: usize) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_w_string(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_w_string2_usize(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos2: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_wchar_t_usize(
&mut self,
pos: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_wchar_t(
&mut self,
pos: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_2_usize_wchar_t(
&mut self,
pos: usize,
n: usize,
c: ::cpp_core::wchar_t,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_w_string_usize(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos2: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn length(&self) -> usize {
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)
}
pub unsafe fn max_size(&self) -> usize {
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)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::WString> {
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();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_wchar_t(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_w_string_usize_allocator_of_wchar_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_w_string2_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
n: usize,
) -> ::cpp_core::CppBox<crate::WString> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_w_string2_usize_allocator_of_wchar_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_wchar_t_usize_allocator_of_wchar_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_wchar_t_allocator_of_wchar_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_wchar_t_allocator_of_wchar_t(
n: usize,
c: ::cpp_core::wchar_t,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_w_string_allocator_of_wchar_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_w_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> ::cpp_core::CppBox<crate::WString> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_wchar_t_usize(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
n: usize,
) -> ::cpp_core::CppBox<crate::WString> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_wchar_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_wchar_t(
n: usize,
c: ::cpp_core::wchar_t,
) -> ::cpp_core::CppBox<crate::WString> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::cpp_core::CppBox<crate::WString> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
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)
}
pub unsafe fn push_back(&mut self, c: ::cpp_core::wchar_t) {
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)
}
pub unsafe fn replace_2_usize_w_string(
&mut self,
pos: usize,
n: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_w_string2_usize(
&mut self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos2: usize,
n2: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_wchar_t_usize(
&mut self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
n2: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_wchar_t(
&mut self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::MutRef<crate::WString> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_3_usize_wchar_t(
&mut self,
pos: usize,
n1: usize,
n2: usize,
c: ::cpp_core::wchar_t,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_w_string_usize(
&mut self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos2: usize,
) -> ::cpp_core::MutRef<crate::WString> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn reserve_1a(&mut self, res_arg: usize) {
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)
}
pub unsafe fn reserve_0a(&mut self) {
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)
}
pub unsafe fn resize_2a(&mut self, n: usize, c: ::cpp_core::wchar_t) {
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)
}
pub unsafe fn resize_1a(&mut self, n: usize) {
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)
}
pub unsafe fn rfind_w_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn rfind_wchar_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn rfind_wchar_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn rfind_wchar_t_usize2(&self, c: ::cpp_core::wchar_t, pos: usize) -> usize {
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)
}
pub unsafe fn rfind_w_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> usize {
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())
}
pub unsafe fn rfind_wchar_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> usize {
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())
}
pub unsafe fn rfind_wchar_t2(&self, c: ::cpp_core::wchar_t) -> usize {
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)
}
pub unsafe fn shrink_to_fit(&mut self) {
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)
}
pub unsafe fn size(&self) -> usize {
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)
}
pub unsafe fn substr_2a(&self, pos: usize, n: usize) -> ::cpp_core::CppBox<crate::WString> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn substr_1a(&self, pos: usize) -> ::cpp_core::CppBox<crate::WString> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn substr_0a(&self) -> ::cpp_core::CppBox<crate::WString> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn swap(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::WString>>,
) {
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())
}
}
#[repr(C)]
pub struct AllocatorOfWcharT {
_unused: u8,
}
impl AllocatorOfWcharT {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfWcharT> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_wchar_t_operator_(
self as *mut crate::AllocatorOfWcharT,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfWcharT> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_wchar_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfWcharT> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_wchar_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct U16String {
_unused: u8,
}
impl U16String {
pub unsafe fn append_u16_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_u16_string2_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_char16_t_usize(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_char16_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_usize_char16_t(
&mut self,
n: usize,
c: ::cpp_core::char16_t,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_u16_string_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_u16_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_u16_string2_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_char16_t_usize(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_char16_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_usize_char16_t(
&mut self,
n: usize,
c: ::cpp_core::char16_t,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_u16_string_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char16_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::char16_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn c_str(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn capacity(&self) -> usize {
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)
}
pub unsafe fn clear(&mut self) {
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)
}
pub unsafe fn compare_u16_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_u16_string(
&self,
pos: usize,
n: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_u16_string2_usize(
&self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos2: usize,
n2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn compare_char16_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_char16_t(
&self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_char16_t_usize(
&self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
n2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn compare_2_usize_u16_string_usize(
&self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn copy_3a(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::char16_t>>,
n: usize,
pos: usize,
) -> usize {
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)
}
pub unsafe fn copy_2a(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::char16_t>>,
n: usize,
) -> usize {
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)
}
pub unsafe fn copy_from_u16_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn copy_from_char16_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn copy_from_char16_t2(
&mut self,
c: ::cpp_core::char16_t,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
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)
}
pub unsafe fn erase_2a(
&mut self,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn erase_1a(&mut self, pos: usize) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn erase_0a(&mut self) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn find_char16_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_u16_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_char16_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_char16_t_usize2(&self, c: ::cpp_core::char16_t, pos: usize) -> usize {
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)
}
pub unsafe fn find_u16_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> usize {
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())
}
pub unsafe fn find_char16_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> usize {
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())
}
pub unsafe fn find_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
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)
}
pub unsafe fn find_first_not_of_u16_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char16_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char16_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char16_t_usize2(
&self,
c: ::cpp_core::char16_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_u16_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> usize {
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())
}
pub unsafe fn find_first_not_of_char16_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> usize {
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())
}
pub unsafe fn find_first_not_of_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
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)
}
pub unsafe fn find_first_of_u16_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char16_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char16_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char16_t_usize2(
&self,
c: ::cpp_core::char16_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_u16_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> usize {
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())
}
pub unsafe fn find_first_of_char16_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> usize {
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())
}
pub unsafe fn find_first_of_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
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)
}
pub unsafe fn find_last_not_of_u16_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char16_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char16_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char16_t_usize2(
&self,
c: ::cpp_core::char16_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_u16_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> usize {
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())
}
pub unsafe fn find_last_not_of_char16_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> usize {
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())
}
pub unsafe fn find_last_not_of_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
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)
}
pub unsafe fn find_last_of_u16_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char16_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char16_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char16_t_usize2(
&self,
c: ::cpp_core::char16_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_u16_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> usize {
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())
}
pub unsafe fn find_last_of_char16_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> usize {
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())
}
pub unsafe fn find_last_of_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
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)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::char16_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, pos: usize) -> ::cpp_core::Ref<::cpp_core::char16_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, pos: usize) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_u16_string(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_u16_string2_usize(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos2: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_char16_t_usize(
&mut self,
pos: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_char16_t(
&mut self,
pos: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_2_usize_char16_t(
&mut self,
pos: usize,
n: usize,
c: ::cpp_core::char16_t,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_u16_string_usize(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos2: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn length(&self) -> usize {
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)
}
pub unsafe fn max_size(&self) -> usize {
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)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::U16String> {
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();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_char16_t(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u16_string_usize_allocator_of_char16_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u16_string2_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
n: usize,
) -> ::cpp_core::CppBox<crate::U16String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u16_string2_usize_allocator_of_char16_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char16_t_usize_allocator_of_char16_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char16_t_allocator_of_char16_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char16_t_allocator_of_char16_t(
n: usize,
c: ::cpp_core::char16_t,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u16_string_allocator_of_char16_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u16_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> ::cpp_core::CppBox<crate::U16String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char16_t_usize(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
n: usize,
) -> ::cpp_core::CppBox<crate::U16String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char16_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char16_t(
n: usize,
c: ::cpp_core::char16_t,
) -> ::cpp_core::CppBox<crate::U16String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::cpp_core::CppBox<crate::U16String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
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)
}
pub unsafe fn push_back(&mut self, c: ::cpp_core::char16_t) {
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)
}
pub unsafe fn replace_2_usize_u16_string(
&mut self,
pos: usize,
n: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_u16_string2_usize(
&mut self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos2: usize,
n2: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_char16_t_usize(
&mut self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
n2: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_char16_t(
&mut self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::cpp_core::MutRef<crate::U16String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_3_usize_char16_t(
&mut self,
pos: usize,
n1: usize,
n2: usize,
c: ::cpp_core::char16_t,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_u16_string_usize(
&mut self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos2: usize,
) -> ::cpp_core::MutRef<crate::U16String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn reserve_1a(&mut self, res_arg: usize) {
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)
}
pub unsafe fn reserve_0a(&mut self) {
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)
}
pub unsafe fn resize_2a(&mut self, n: usize, c: ::cpp_core::char16_t) {
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)
}
pub unsafe fn resize_1a(&mut self, n: usize) {
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)
}
pub unsafe fn rfind_u16_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char16_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char16_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char16_t_usize2(&self, c: ::cpp_core::char16_t, pos: usize) -> usize {
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)
}
pub unsafe fn rfind_u16_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> usize {
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())
}
pub unsafe fn rfind_char16_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> usize {
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())
}
pub unsafe fn rfind_char16_t2(&self, c: ::cpp_core::char16_t) -> usize {
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)
}
pub unsafe fn shrink_to_fit(&mut self) {
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)
}
pub unsafe fn size(&self) -> usize {
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)
}
pub unsafe fn substr_2a(&self, pos: usize, n: usize) -> ::cpp_core::CppBox<crate::U16String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn substr_1a(&self, pos: usize) -> ::cpp_core::CppBox<crate::U16String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn substr_0a(&self) -> ::cpp_core::CppBox<crate::U16String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn swap(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U16String>>,
) {
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())
}
}
#[repr(C)]
pub struct CharTraitsOfChar16T {
_unused: u8,
}
impl CharTraitsOfChar16T {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar16T>>,
) -> ::cpp_core::MutRef<crate::CharTraitsOfChar16T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char16_t_operator_(
self as *mut crate::CharTraitsOfChar16T,
::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar16T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::CharTraitsOfChar16T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char16_t_char_traits();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar16T>>,
) -> ::cpp_core::CppBox<crate::CharTraitsOfChar16T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char16_t_char_traits1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar16T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfChar16T {
_unused: u8,
}
impl AllocatorOfChar16T {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfChar16T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char16_t_operator_(
self as *mut crate::AllocatorOfChar16T,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfChar16T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char16_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfChar16T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char16_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct U32String {
_unused: u8,
}
impl U32String {
pub unsafe fn append_u32_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_u32_string2_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_char32_t_usize(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_char32_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_usize_char32_t(
&mut self,
n: usize,
c: ::cpp_core::char32_t,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn append_u32_string_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_u32_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_u32_string2_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_char32_t_usize(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_char32_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_usize_char32_t(
&mut self,
n: usize,
c: ::cpp_core::char32_t,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn assign_u32_string_usize(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char32_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::char32_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn c_str(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn capacity(&self) -> usize {
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)
}
pub unsafe fn clear(&mut self) {
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)
}
pub unsafe fn compare_u32_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_u32_string(
&self,
pos: usize,
n: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_u32_string2_usize(
&self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos2: usize,
n2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn compare_char32_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_char32_t(
&self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::std::os::raw::c_int {
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())
}
pub unsafe fn compare_2_usize_char32_t_usize(
&self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
n2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn compare_2_usize_u32_string_usize(
&self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos2: usize,
) -> ::std::os::raw::c_int {
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)
}
pub unsafe fn copy_3a(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::char32_t>>,
n: usize,
pos: usize,
) -> usize {
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)
}
pub unsafe fn copy_2a(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::char32_t>>,
n: usize,
) -> usize {
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)
}
pub unsafe fn copy_from_u32_string(
&mut self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn copy_from_char32_t(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn copy_from_char32_t2(
&mut self,
c: ::cpp_core::char32_t,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
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)
}
pub unsafe fn erase_2a(
&mut self,
pos: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn erase_1a(&mut self, pos: usize) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn erase_0a(&mut self) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn find_char32_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_u32_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_char32_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_char32_t_usize2(&self, c: ::cpp_core::char32_t, pos: usize) -> usize {
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)
}
pub unsafe fn find_u32_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> usize {
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())
}
pub unsafe fn find_char32_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> usize {
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())
}
pub unsafe fn find_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
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)
}
pub unsafe fn find_first_not_of_u32_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char32_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char32_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_char32_t_usize2(
&self,
c: ::cpp_core::char32_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_not_of_u32_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> usize {
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())
}
pub unsafe fn find_first_not_of_char32_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> usize {
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())
}
pub unsafe fn find_first_not_of_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
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)
}
pub unsafe fn find_first_of_u32_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char32_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char32_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_char32_t_usize2(
&self,
c: ::cpp_core::char32_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_first_of_u32_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> usize {
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())
}
pub unsafe fn find_first_of_char32_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> usize {
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())
}
pub unsafe fn find_first_of_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
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)
}
pub unsafe fn find_last_not_of_u32_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char32_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char32_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_char32_t_usize2(
&self,
c: ::cpp_core::char32_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_not_of_u32_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> usize {
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())
}
pub unsafe fn find_last_not_of_char32_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> usize {
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())
}
pub unsafe fn find_last_not_of_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
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)
}
pub unsafe fn find_last_of_u32_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char32_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char32_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_char32_t_usize2(
&self,
c: ::cpp_core::char32_t,
pos: usize,
) -> usize {
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)
}
pub unsafe fn find_last_of_u32_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> usize {
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())
}
pub unsafe fn find_last_of_char32_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> usize {
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())
}
pub unsafe fn find_last_of_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
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)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::char32_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, pos: usize) -> ::cpp_core::Ref<::cpp_core::char32_t> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, pos: usize) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_u32_string(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_u32_string2_usize(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos2: usize,
n: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_char32_t_usize(
&mut self,
pos: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
n: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_char32_t(
&mut self,
pos: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_2_usize_char32_t(
&mut self,
pos: usize,
n: usize,
c: ::cpp_core::char32_t,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn insert_usize_u32_string_usize(
&mut self,
pos1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos2: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn length(&self) -> usize {
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)
}
pub unsafe fn max_size(&self) -> usize {
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)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::U32String> {
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();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_char32_t(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u32_string_usize_allocator_of_char32_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u32_string2_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
n: usize,
) -> ::cpp_core::CppBox<crate::U32String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u32_string2_usize_allocator_of_char32_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char32_t_usize_allocator_of_char32_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char32_t_allocator_of_char32_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char32_t_allocator_of_char32_t(
n: usize,
c: ::cpp_core::char32_t,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u32_string_allocator_of_char32_t(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_u32_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> ::cpp_core::CppBox<crate::U32String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char32_t_usize(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
n: usize,
) -> ::cpp_core::CppBox<crate::U32String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_char32_t(
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char32_t(
n: usize,
c: ::cpp_core::char32_t,
) -> ::cpp_core::CppBox<crate::U32String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::cpp_core::CppBox<crate::U32String> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
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)
}
pub unsafe fn push_back(&mut self, c: ::cpp_core::char32_t) {
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)
}
pub unsafe fn replace_2_usize_u32_string(
&mut self,
pos: usize,
n: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_u32_string2_usize(
&mut self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos2: usize,
n2: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_char32_t_usize(
&mut self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
n2: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_char32_t(
&mut self,
pos: usize,
n1: usize,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::cpp_core::MutRef<crate::U32String> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_3_usize_char32_t(
&mut self,
pos: usize,
n1: usize,
n2: usize,
c: ::cpp_core::char32_t,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn replace_2_usize_u32_string_usize(
&mut self,
pos1: usize,
n1: usize,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos2: usize,
) -> ::cpp_core::MutRef<crate::U32String> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn reserve_1a(&mut self, res_arg: usize) {
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)
}
pub unsafe fn reserve_0a(&mut self) {
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)
}
pub unsafe fn resize_2a(&mut self, n: usize, c: ::cpp_core::char32_t) {
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)
}
pub unsafe fn resize_1a(&mut self, n: usize) {
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)
}
pub unsafe fn rfind_u32_string_usize(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char32_t2_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
n: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char32_t_usize(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
pos: usize,
) -> usize {
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)
}
pub unsafe fn rfind_char32_t_usize2(&self, c: ::cpp_core::char32_t, pos: usize) -> usize {
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)
}
pub unsafe fn rfind_u32_string(
&self,
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> usize {
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())
}
pub unsafe fn rfind_char32_t(
&self,
s: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> usize {
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())
}
pub unsafe fn rfind_char32_t2(&self, c: ::cpp_core::char32_t) -> usize {
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)
}
pub unsafe fn shrink_to_fit(&mut self) {
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)
}
pub unsafe fn size(&self) -> usize {
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)
}
pub unsafe fn substr_2a(&self, pos: usize, n: usize) -> ::cpp_core::CppBox<crate::U32String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn substr_1a(&self, pos: usize) -> ::cpp_core::CppBox<crate::U32String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn substr_0a(&self) -> ::cpp_core::CppBox<crate::U32String> {
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);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn swap(
&mut self,
s: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U32String>>,
) {
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())
}
}
#[repr(C)]
pub struct CharTraitsOfChar32T {
_unused: u8,
}
impl CharTraitsOfChar32T {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar32T>>,
) -> ::cpp_core::MutRef<crate::CharTraitsOfChar32T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char32_t_operator_(
self as *mut crate::CharTraitsOfChar32T,
::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar32T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::CharTraitsOfChar32T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char32_t_char_traits();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::CharTraitsOfChar32T>>,
) -> ::cpp_core::CppBox<crate::CharTraitsOfChar32T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char32_t_char_traits1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::CharTraitsOfChar32T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfChar32T {
_unused: u8,
}
impl AllocatorOfChar32T {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfChar32T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char32_t_operator_(
self as *mut crate::AllocatorOfChar32T,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfChar32T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char32_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfChar32T> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_char32_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfBool {
_unused: u8,
}
impl AllocatorOfBool {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_bool_operator_(
self as *mut crate::AllocatorOfBool,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_bool_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_bool_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfSchar {
_unused: u8,
}
impl AllocatorOfSchar {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfSchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_signed_char_operator_(
self as *mut crate::AllocatorOfSchar,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfSchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_signed_char_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfSchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_signed_char_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfUchar {
_unused: u8,
}
impl AllocatorOfUchar {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfUchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_char_operator_(
self as *mut crate::AllocatorOfUchar,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_char_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfUchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_char_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUchar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfShort {
_unused: u8,
}
impl AllocatorOfShort {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_short_operator_(
self as *mut crate::AllocatorOfShort,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_short_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_short_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfUshort {
_unused: u8,
}
impl AllocatorOfUshort {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfUshort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_short_operator_(
self as *mut crate::AllocatorOfUshort,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUshort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_short_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfUshort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_short_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUshort>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfInt {
_unused: u8,
}
impl AllocatorOfInt {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int_operator_(
self as *mut crate::AllocatorOfInt,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfUint {
_unused: u8,
}
impl AllocatorOfUint {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfUint> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_int_operator_(
self as *mut crate::AllocatorOfUint,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUint> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_int_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfUint> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_int_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUint>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfLong {
_unused: u8,
}
impl AllocatorOfLong {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_operator_(
self as *mut crate::AllocatorOfLong,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfUlong {
_unused: u8,
}
impl AllocatorOfUlong {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfUlong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_operator_(
self as *mut crate::AllocatorOfUlong,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUlong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfUlong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfLonglong {
_unused: u8,
}
impl AllocatorOfLonglong {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfLonglong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_long_operator_(
self as *mut crate::AllocatorOfLonglong,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfLonglong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_long_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfLonglong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_long_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfUlonglong {
_unused: u8,
}
impl AllocatorOfUlonglong {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfUlonglong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_long_operator_(
self as *mut crate::AllocatorOfUlonglong,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUlonglong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_long_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfUlonglong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_long_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUlonglong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfFloat {
_unused: u8,
}
impl AllocatorOfFloat {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_float_operator_(
self as *mut crate::AllocatorOfFloat,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_float_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_float_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfDouble {
_unused: u8,
}
impl AllocatorOfDouble {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfDouble> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_double_operator_(
self as *mut crate::AllocatorOfDouble,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfDouble> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_double_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfDouble> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_double_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfI8 {
_unused: u8,
}
impl AllocatorOfI8 {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfI8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int8_t_operator_(
self as *mut crate::AllocatorOfI8,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfI8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int8_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfI8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int8_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfU8 {
_unused: u8,
}
impl AllocatorOfU8 {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfU8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint8_t_operator_(
self as *mut crate::AllocatorOfU8,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfU8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint8_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfU8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint8_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfI16 {
_unused: u8,
}
impl AllocatorOfI16 {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfI16> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int16_t_operator_(
self as *mut crate::AllocatorOfI16,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfI16> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int16_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfI16> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int16_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfU16 {
_unused: u8,
}
impl AllocatorOfU16 {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfU16> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint16_t_operator_(
self as *mut crate::AllocatorOfU16,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfU16> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint16_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfU16> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint16_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfI32 {
_unused: u8,
}
impl AllocatorOfI32 {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfI32> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int32_t_operator_(
self as *mut crate::AllocatorOfI32,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfI32> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int32_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfI32> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int32_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfU32 {
_unused: u8,
}
impl AllocatorOfU32 {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfU32> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint32_t_operator_(
self as *mut crate::AllocatorOfU32,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfU32> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint32_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfU32> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint32_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfI64 {
_unused: u8,
}
impl AllocatorOfI64 {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfI64> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int64_t_operator_(
self as *mut crate::AllocatorOfI64,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfI64> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int64_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfI64> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_int64_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfU64 {
_unused: u8,
}
impl AllocatorOfU64 {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfU64> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint64_t_operator_(
self as *mut crate::AllocatorOfU64,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfU64> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint64_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfU64> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint64_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfUsize {
_unused: u8,
}
impl AllocatorOfUsize {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfUsize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_size_t_operator_(
self as *mut crate::AllocatorOfUsize,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfUsize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_size_t_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfUsize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_size_t_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct AllocatorOfVoid {
_unused: u8,
}
impl AllocatorOfVoid {
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
) -> ::cpp_core::MutRef<crate::AllocatorOfVoid> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_void_ptr_operator_(
self as *mut crate::AllocatorOfVoid,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::AllocatorOfVoid> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_void_ptr_allocator();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
) -> ::cpp_core::CppBox<crate::AllocatorOfVoid> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_allocator_void_ptr_allocator1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
#[repr(C)]
pub struct VectorOfBool {
_unused: u8,
}
impl VectorOfBool {
pub unsafe fn assign_usize_bool(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_assign(
self as *mut crate::VectorOfBool,
n,
::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_bool(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_assign1(
self as *mut crate::VectorOfBool,
::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_capacity(
self as *const crate::VectorOfBool,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_clear(
self as *mut crate::VectorOfBool,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfBool>>,
) -> ::cpp_core::MutRef<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_operator_(
self as *mut crate::VectorOfBool,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfBool>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_empty(
self as *const crate::VectorOfBool,
)
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_max_size(
self as *const crate::VectorOfBool,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_bool(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_bool(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_bool_allocator_of_bool(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_bool_allocator_of_bool(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfBool>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfBool>>::cast_into(x).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_bool_allocator_of_bool(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfBool>>,
) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfBool>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_bool(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>,
) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_bool(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<bool>>,
) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<bool>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfBool>>,
) -> ::cpp_core::CppBox<crate::VectorOfBool> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfBool>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_pop_back(
self as *mut crate::VectorOfBool,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_push_back(
self as *mut crate::VectorOfBool,
::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_reserve(
self as *mut crate::VectorOfBool,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_resize(
self as *mut crate::VectorOfBool,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<bool>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_resize1(
self as *mut crate::VectorOfBool,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<bool>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_shrink_to_fit(
self as *mut crate::VectorOfBool,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_size(
self as *const crate::VectorOfBool,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfBool>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_swap(
self as *mut crate::VectorOfBool,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfBool>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfChar {
_unused: u8,
}
impl VectorOfChar {
pub unsafe fn assign_usize_char(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_assign(
self as *mut crate::VectorOfChar,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_char(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_assign1(
self as *mut crate::VectorOfChar,
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_at(
self as *mut crate::VectorOfChar,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_at1(
self as *const crate::VectorOfChar,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_back(
self as *mut crate::VectorOfChar,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_back1(
self as *const crate::VectorOfChar,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_capacity(
self as *const crate::VectorOfChar,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_clear(
self as *mut crate::VectorOfChar,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar>>,
) -> ::cpp_core::MutRef<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_operator_(
self as *mut crate::VectorOfChar,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_data(
self as *mut crate::VectorOfChar,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_data1(
self as *const crate::VectorOfChar,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_empty(
self as *const crate::VectorOfChar,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_front(
self as *mut crate::VectorOfChar,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_front1(
self as *const crate::VectorOfChar,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_char> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_operator__(
self as *mut crate::VectorOfChar,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_char> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_operator__1(
self as *const crate::VectorOfChar,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_max_size(
self as *const crate::VectorOfChar,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_char(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_char(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char_allocator_of_char(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_char_allocator_of_char(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar>>::cast_into(x).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_char_allocator_of_char(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_char(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_pop_back(
self as *mut crate::VectorOfChar,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_push_back(
self as *mut crate::VectorOfChar,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_reserve(
self as *mut crate::VectorOfChar,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_resize(
self as *mut crate::VectorOfChar,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_char>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_resize1(
self as *mut crate::VectorOfChar,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_char>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_shrink_to_fit(
self as *mut crate::VectorOfChar,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_size(
self as *const crate::VectorOfChar,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_swap(
self as *mut crate::VectorOfChar,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfSchar {
_unused: u8,
}
impl VectorOfSchar {
pub unsafe fn assign_usize_schar(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_assign(
self as *mut crate::VectorOfSchar,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_schar(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_assign1(
self as *mut crate::VectorOfSchar,
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_at(
self as *mut crate::VectorOfSchar,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_at1(
self as *const crate::VectorOfSchar,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_back(
self as *mut crate::VectorOfSchar,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_back1(
self as *const crate::VectorOfSchar,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_capacity(
self as *const crate::VectorOfSchar,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_clear(
self as *mut crate::VectorOfSchar,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfSchar>>,
) -> ::cpp_core::MutRef<crate::VectorOfSchar> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_data(
self as *mut crate::VectorOfSchar,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_data1(
self as *const crate::VectorOfSchar,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_empty(
self as *const crate::VectorOfSchar,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_front(
self as *mut crate::VectorOfSchar,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_front1(
self as *const crate::VectorOfSchar,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_schar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_operator__(self as *mut crate::VectorOfSchar, n);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_schar> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_max_size(
self as *const crate::VectorOfSchar,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_schar(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_schar(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_schar_allocator_of_schar(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_schar_allocator_of_schar(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfSchar>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfSchar>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_schar_allocator_of_schar(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfSchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfSchar>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector9(
n,
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_schar(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_schar(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_schar>>,
) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_schar>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfSchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfSchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfSchar>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_pop_back(
self as *mut crate::VectorOfSchar,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_push_back(
self as *mut crate::VectorOfSchar,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_reserve(
self as *mut crate::VectorOfSchar,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_resize(
self as *mut crate::VectorOfSchar,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_schar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_resize1(
self as *mut crate::VectorOfSchar,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_schar>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_shrink_to_fit(
self as *mut crate::VectorOfSchar,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_size(
self as *const crate::VectorOfSchar,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfSchar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_swap(
self as *mut crate::VectorOfSchar,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfSchar>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfUchar {
_unused: u8,
}
impl VectorOfUchar {
pub unsafe fn assign_usize_uchar(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_assign(
self as *mut crate::VectorOfUchar,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uchar>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_uchar(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_assign1(
self as *mut crate::VectorOfUchar,
::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(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_uchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_at(
self as *mut crate::VectorOfUchar,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_uchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_at1(
self as *const crate::VectorOfUchar,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_uchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_back(
self as *mut crate::VectorOfUchar,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_uchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_back1(self as *const crate::VectorOfUchar);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_capacity(
self as *const crate::VectorOfUchar,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_clear(
self as *mut crate::VectorOfUchar,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUchar>>,
) -> ::cpp_core::MutRef<crate::VectorOfUchar> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_uchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_data(
self as *mut crate::VectorOfUchar,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_uchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_data1(self as *const crate::VectorOfUchar);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_empty(
self as *const crate::VectorOfUchar,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_uchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_front(self as *mut crate::VectorOfUchar);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_uchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_front1(self as *const crate::VectorOfUchar);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_uchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_operator__(self as *mut crate::VectorOfUchar, n);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_uchar> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_max_size(
self as *const crate::VectorOfUchar,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_uchar(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_uchar(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_uchar_allocator_of_uchar(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_uchar_allocator_of_uchar(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUchar>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_uchar_allocator_of_uchar(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_uchar(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_uchar(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUchar>>,
) -> ::cpp_core::CppBox<crate::VectorOfUchar> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_pop_back(
self as *mut crate::VectorOfUchar,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_push_back(
self as *mut crate::VectorOfUchar,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uchar>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_reserve(
self as *mut crate::VectorOfUchar,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_resize(
self as *mut crate::VectorOfUchar,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uchar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_resize1(
self as *mut crate::VectorOfUchar,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uchar>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_shrink_to_fit(self as *mut crate::VectorOfUchar)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_size(
self as *const crate::VectorOfUchar,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUchar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_swap(
self as *mut crate::VectorOfUchar,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUchar>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfWcharT {
_unused: u8,
}
impl VectorOfWcharT {
pub unsafe fn assign_usize_wchar_t(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_assign(
self as *mut crate::VectorOfWcharT,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_wchar_t(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_assign1(
self as *mut crate::VectorOfWcharT,
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_at(
self as *mut crate::VectorOfWcharT,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_at1(
self as *const crate::VectorOfWcharT,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_back(
self as *mut crate::VectorOfWcharT,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_back1(
self as *const crate::VectorOfWcharT,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_capacity(
self as *const crate::VectorOfWcharT,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_clear(
self as *mut crate::VectorOfWcharT,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfWcharT>>,
) -> ::cpp_core::MutRef<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_operator_(
self as *mut crate::VectorOfWcharT,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfWcharT>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_data(
self as *mut crate::VectorOfWcharT,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_data1(
self as *const crate::VectorOfWcharT,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_empty(
self as *const crate::VectorOfWcharT,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_front(
self as *mut crate::VectorOfWcharT,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_front1(
self as *const crate::VectorOfWcharT,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_operator__(
self as *mut crate::VectorOfWcharT,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_operator__1(
self as *const crate::VectorOfWcharT,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_max_size(
self as *const crate::VectorOfWcharT,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_wchar_t(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_wchar_t(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_wchar_t_allocator_of_wchar_t(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_wchar_t_allocator_of_wchar_t(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfWcharT>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfWcharT>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_wchar_t_allocator_of_wchar_t(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfWcharT>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_wchar_t(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_wchar_t(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfWcharT>>,
) -> ::cpp_core::CppBox<crate::VectorOfWcharT> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfWcharT>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_pop_back(
self as *mut crate::VectorOfWcharT,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_push_back(
self as *mut crate::VectorOfWcharT,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_reserve(
self as *mut crate::VectorOfWcharT,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_resize(
self as *mut crate::VectorOfWcharT,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::wchar_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_resize1(
self as *mut crate::VectorOfWcharT,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::wchar_t>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_shrink_to_fit(
self as *mut crate::VectorOfWcharT,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_size(
self as *const crate::VectorOfWcharT,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfWcharT>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_swap(
self as *mut crate::VectorOfWcharT,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfWcharT>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfChar16T {
_unused: u8,
}
impl VectorOfChar16T {
pub unsafe fn assign_usize_char16_t(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_assign(
self as *mut crate::VectorOfChar16T,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_char16_t(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_assign1(
self as *mut crate::VectorOfChar16T,
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_at(
self as *mut crate::VectorOfChar16T,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_at1(
self as *const crate::VectorOfChar16T,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_back(
self as *mut crate::VectorOfChar16T,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_back1(
self as *const crate::VectorOfChar16T,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_capacity(
self as *const crate::VectorOfChar16T,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_clear(
self as *mut crate::VectorOfChar16T,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar16T>>,
) -> ::cpp_core::MutRef<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_operator_(
self as *mut crate::VectorOfChar16T,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar16T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_data(
self as *mut crate::VectorOfChar16T,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_data1(
self as *const crate::VectorOfChar16T,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_empty(
self as *const crate::VectorOfChar16T,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_front(
self as *mut crate::VectorOfChar16T,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_front1(
self as *const crate::VectorOfChar16T,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_operator__(
self as *mut crate::VectorOfChar16T,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_operator__1(
self as *const crate::VectorOfChar16T,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_max_size(
self as *const crate::VectorOfChar16T,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_char16_t(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_char16_t(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char16_t_allocator_of_char16_t(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_char16_t_allocator_of_char16_t(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar16T>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar16T>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_char16_t_allocator_of_char16_t(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar16T>>::cast_into(
alloc,
)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char16_t(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_char16_t(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar16T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar16T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar16T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_pop_back(
self as *mut crate::VectorOfChar16T,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_push_back(
self as *mut crate::VectorOfChar16T,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_reserve(
self as *mut crate::VectorOfChar16T,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_resize(
self as *mut crate::VectorOfChar16T,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char16_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_resize1(
self as *mut crate::VectorOfChar16T,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char16_t>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_shrink_to_fit(
self as *mut crate::VectorOfChar16T,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_size(
self as *const crate::VectorOfChar16T,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar16T>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_swap(
self as *mut crate::VectorOfChar16T,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar16T>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfChar32T {
_unused: u8,
}
impl VectorOfChar32T {
pub unsafe fn assign_usize_char32_t(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_assign(
self as *mut crate::VectorOfChar32T,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_char32_t(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_assign1(
self as *mut crate::VectorOfChar32T,
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_at(
self as *mut crate::VectorOfChar32T,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_at1(
self as *const crate::VectorOfChar32T,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_back(
self as *mut crate::VectorOfChar32T,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_back1(
self as *const crate::VectorOfChar32T,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_capacity(
self as *const crate::VectorOfChar32T,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_clear(
self as *mut crate::VectorOfChar32T,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar32T>>,
) -> ::cpp_core::MutRef<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_operator_(
self as *mut crate::VectorOfChar32T,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar32T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_data(
self as *mut crate::VectorOfChar32T,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_data1(
self as *const crate::VectorOfChar32T,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_empty(
self as *const crate::VectorOfChar32T,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_front(
self as *mut crate::VectorOfChar32T,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_front1(
self as *const crate::VectorOfChar32T,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_operator__(
self as *mut crate::VectorOfChar32T,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_operator__1(
self as *const crate::VectorOfChar32T,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_max_size(
self as *const crate::VectorOfChar32T,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_char32_t(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_char32_t(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char32_t_allocator_of_char32_t(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_char32_t_allocator_of_char32_t(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar32T>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar32T>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_char32_t_allocator_of_char32_t(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfChar32T>>::cast_into(
alloc,
)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_char32_t(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_char32_t(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfChar32T>>,
) -> ::cpp_core::CppBox<crate::VectorOfChar32T> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfChar32T>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_pop_back(
self as *mut crate::VectorOfChar32T,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_push_back(
self as *mut crate::VectorOfChar32T,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_reserve(
self as *mut crate::VectorOfChar32T,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_resize(
self as *mut crate::VectorOfChar32T,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::cpp_core::char32_t>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_resize1(
self as *mut crate::VectorOfChar32T,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::cpp_core::char32_t>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_shrink_to_fit(
self as *mut crate::VectorOfChar32T,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_size(
self as *const crate::VectorOfChar32T,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar32T>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_swap(
self as *mut crate::VectorOfChar32T,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar32T>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfShort {
_unused: u8,
}
impl VectorOfShort {
pub unsafe fn assign_usize_short(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_assign(
self as *mut crate::VectorOfShort,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_short(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_assign1(
self as *mut crate::VectorOfShort,
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_at(
self as *mut crate::VectorOfShort,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_at1(
self as *const crate::VectorOfShort,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_back(
self as *mut crate::VectorOfShort,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_back1(
self as *const crate::VectorOfShort,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_capacity(
self as *const crate::VectorOfShort,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_clear(
self as *mut crate::VectorOfShort,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfShort>>,
) -> ::cpp_core::MutRef<crate::VectorOfShort> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_operator_(
self as *mut crate::VectorOfShort,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfShort>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_data(
self as *mut crate::VectorOfShort,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_data1(
self as *const crate::VectorOfShort,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_empty(
self as *const crate::VectorOfShort,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_front(
self as *mut crate::VectorOfShort,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_front1(
self as *const crate::VectorOfShort,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_short> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_operator__(
self as *mut crate::VectorOfShort,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_short> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_operator__1(
self as *const crate::VectorOfShort,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_max_size(
self as *const crate::VectorOfShort,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_short(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_short(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_short_allocator_of_short(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_short_allocator_of_short(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfShort>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfShort>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_short_allocator_of_short(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfShort>>,
) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfShort>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_short(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_short(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_short>>,
) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_short>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfShort>>,
) -> ::cpp_core::CppBox<crate::VectorOfShort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfShort>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_pop_back(
self as *mut crate::VectorOfShort,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_push_back(
self as *mut crate::VectorOfShort,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_reserve(
self as *mut crate::VectorOfShort,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_resize(
self as *mut crate::VectorOfShort,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_short>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_resize1(
self as *mut crate::VectorOfShort,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_short>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_shrink_to_fit(
self as *mut crate::VectorOfShort,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_size(
self as *const crate::VectorOfShort,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfShort>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_swap(
self as *mut crate::VectorOfShort,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfShort>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfUshort {
_unused: u8,
}
impl VectorOfUshort {
pub unsafe fn assign_usize_ushort(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_assign(
self as *mut crate::VectorOfUshort,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ushort>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_ushort(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_assign1(
self as *mut crate::VectorOfUshort,
::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(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ushort> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_at(
self as *mut crate::VectorOfUshort,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_at1(self as *const crate::VectorOfUshort, n);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_back(self as *mut crate::VectorOfUshort);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_back1(self as *const crate::VectorOfUshort);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_capacity(self as *const crate::VectorOfUshort)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_clear(
self as *mut crate::VectorOfUshort,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUshort>>,
) -> ::cpp_core::MutRef<crate::VectorOfUshort> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_data(self as *mut crate::VectorOfUshort);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_data1(self as *const crate::VectorOfUshort);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_empty(
self as *const crate::VectorOfUshort,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_front(self as *mut crate::VectorOfUshort);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_front1(self as *const crate::VectorOfUshort);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_operator__(self as *mut crate::VectorOfUshort, n);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ushort> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_max_size(self as *const crate::VectorOfUshort)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUshort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_ushort(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_ushort(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_ushort_allocator_of_ushort(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_ushort_allocator_of_ushort(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUshort>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_ushort_allocator_of_ushort(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUshort>>,
) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_ushort(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_ushort(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ushort>>,
) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUshort>>,
) -> ::cpp_core::CppBox<crate::VectorOfUshort> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_pop_back(self as *mut crate::VectorOfUshort)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
) {
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())
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_reserve(
self as *mut crate::VectorOfUshort,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_resize(
self as *mut crate::VectorOfUshort,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ushort>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_resize1(
self as *mut crate::VectorOfUshort,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ushort>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_shrink_to_fit(self as *mut crate::VectorOfUshort)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_size(
self as *const crate::VectorOfUshort,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUshort>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_swap(
self as *mut crate::VectorOfUshort,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUshort>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfInt {
_unused: u8,
}
impl VectorOfInt {
pub unsafe fn assign_usize_int(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_assign(
self as *mut crate::VectorOfInt,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_int(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_assign1(
self as *mut crate::VectorOfInt,
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_at(
self as *mut crate::VectorOfInt,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_at1(
self as *const crate::VectorOfInt,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_back(
self as *mut crate::VectorOfInt,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_back1(
self as *const crate::VectorOfInt,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_capacity(
self as *const crate::VectorOfInt,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_clear(
self as *mut crate::VectorOfInt,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfInt>>,
) -> ::cpp_core::MutRef<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_operator_(
self as *mut crate::VectorOfInt,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfInt>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_data(
self as *mut crate::VectorOfInt,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_data1(
self as *const crate::VectorOfInt,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_empty(
self as *const crate::VectorOfInt,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_front(
self as *mut crate::VectorOfInt,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_front1(
self as *const crate::VectorOfInt,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_operator__(
self as *mut crate::VectorOfInt,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_operator__1(
self as *const crate::VectorOfInt,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_max_size(
self as *const crate::VectorOfInt,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_int(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_int(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_int_allocator_of_int(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_int_allocator_of_int(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfInt>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfInt>>::cast_into(x).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_int_allocator_of_int(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfInt>>,
) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfInt>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_int(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_int(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_int>>,
) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_int>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfInt>>,
) -> ::cpp_core::CppBox<crate::VectorOfInt> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfInt>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_pop_back(
self as *mut crate::VectorOfInt,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_push_back(
self as *mut crate::VectorOfInt,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_reserve(
self as *mut crate::VectorOfInt,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_resize(
self as *mut crate::VectorOfInt,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_int>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_resize1(
self as *mut crate::VectorOfInt,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_int>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_shrink_to_fit(
self as *mut crate::VectorOfInt,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_size(
self as *const crate::VectorOfInt,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfInt>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_swap(
self as *mut crate::VectorOfInt,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfInt>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfUint {
_unused: u8,
}
impl VectorOfUint {
pub unsafe fn assign_usize_uint(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_assign(
self as *mut crate::VectorOfUint,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uint>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_uint(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_assign1(
self as *mut crate::VectorOfUint,
::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(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_at(
self as *mut crate::VectorOfUint,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_at1(
self as *const crate::VectorOfUint,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_back(
self as *mut crate::VectorOfUint,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_back1(
self as *const crate::VectorOfUint,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_capacity(
self as *const crate::VectorOfUint,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_clear(
self as *mut crate::VectorOfUint,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUint>>,
) -> ::cpp_core::MutRef<crate::VectorOfUint> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_data(
self as *mut crate::VectorOfUint,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_data1(
self as *const crate::VectorOfUint,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_empty(
self as *const crate::VectorOfUint,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_front(
self as *mut crate::VectorOfUint,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_front1(
self as *const crate::VectorOfUint,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_uint> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_operator__(self as *mut crate::VectorOfUint, n);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_uint> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_max_size(
self as *const crate::VectorOfUint,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector(
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_uint(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
) -> ::cpp_core::CppBox<crate::VectorOfUint> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_uint(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
) -> ::cpp_core::CppBox<crate::VectorOfUint> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_uint_allocator_of_uint(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
) -> ::cpp_core::CppBox<crate::VectorOfUint> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_uint_allocator_of_uint(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUint>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
) -> ::cpp_core::CppBox<crate::VectorOfUint> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_uint_allocator_of_uint(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUint>>,
) -> ::cpp_core::CppBox<crate::VectorOfUint> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUint> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_uint(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
) -> ::cpp_core::CppBox<crate::VectorOfUint> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_uint(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_uint>>,
) -> ::cpp_core::CppBox<crate::VectorOfUint> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUint>>,
) -> ::cpp_core::CppBox<crate::VectorOfUint> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_pop_back(
self as *mut crate::VectorOfUint,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_push_back(
self as *mut crate::VectorOfUint,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uint>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_reserve(
self as *mut crate::VectorOfUint,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_resize(
self as *mut crate::VectorOfUint,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_uint>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_resize1(
self as *mut crate::VectorOfUint,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_uint>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_shrink_to_fit(self as *mut crate::VectorOfUint)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_size(
self as *const crate::VectorOfUint,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUint>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_swap(
self as *mut crate::VectorOfUint,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUint>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfLong {
_unused: u8,
}
impl VectorOfLong {
pub unsafe fn assign_usize_long(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_assign(
self as *mut crate::VectorOfLong,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_long(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_assign1(
self as *mut crate::VectorOfLong,
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_at(
self as *mut crate::VectorOfLong,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_at1(
self as *const crate::VectorOfLong,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_back(
self as *mut crate::VectorOfLong,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_back1(
self as *const crate::VectorOfLong,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_capacity(
self as *const crate::VectorOfLong,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_clear(
self as *mut crate::VectorOfLong,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLong>>,
) -> ::cpp_core::MutRef<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_operator_(
self as *mut crate::VectorOfLong,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLong>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_data(
self as *mut crate::VectorOfLong,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_data1(
self as *const crate::VectorOfLong,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_empty(
self as *const crate::VectorOfLong,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_front(
self as *mut crate::VectorOfLong,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_front1(
self as *const crate::VectorOfLong,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_long> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_operator__(
self as *mut crate::VectorOfLong,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_long> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_operator__1(
self as *const crate::VectorOfLong,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_max_size(
self as *const crate::VectorOfLong,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_long(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_long(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_long_allocator_of_long(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_long_allocator_of_long(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLong>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLong>>::cast_into(x).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_long_allocator_of_long(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLong>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_long(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_long(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_long>>,
) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_long>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLong>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_pop_back(
self as *mut crate::VectorOfLong,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_push_back(
self as *mut crate::VectorOfLong,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_reserve(
self as *mut crate::VectorOfLong,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_resize(
self as *mut crate::VectorOfLong,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_long>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_resize1(
self as *mut crate::VectorOfLong,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_long>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_shrink_to_fit(
self as *mut crate::VectorOfLong,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_size(
self as *const crate::VectorOfLong,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_swap(
self as *mut crate::VectorOfLong,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLong>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfUlong {
_unused: u8,
}
impl VectorOfUlong {
pub unsafe fn assign_usize_ulong(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_assign(
self as *mut crate::VectorOfUlong,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulong>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_ulong(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_assign1(
self as *mut crate::VectorOfUlong,
::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(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ulong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_at(
self as *mut crate::VectorOfUlong,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ulong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_at1(
self as *const crate::VectorOfUlong,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ulong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_back(
self as *mut crate::VectorOfUlong,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_ulong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_back1(self as *const crate::VectorOfUlong);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_capacity(
self as *const crate::VectorOfUlong,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_clear(
self as *mut crate::VectorOfUlong,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlong>>,
) -> ::cpp_core::MutRef<crate::VectorOfUlong> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ulong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_data(
self as *mut crate::VectorOfUlong,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ulong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_data1(self as *const crate::VectorOfUlong);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_empty(
self as *const crate::VectorOfUlong,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ulong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_front(self as *mut crate::VectorOfUlong);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_ulong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_front1(self as *const crate::VectorOfUlong);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ulong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_operator__(self as *mut crate::VectorOfUlong, n);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ulong> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_max_size(
self as *const crate::VectorOfUlong,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUlong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_ulong(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_ulong(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_ulong_allocator_of_ulong(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_ulong_allocator_of_ulong(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlong>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_ulong_allocator_of_ulong(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_ulong(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_ulong(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_pop_back(
self as *mut crate::VectorOfUlong,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_push_back(
self as *mut crate::VectorOfUlong,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulong>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_reserve(
self as *mut crate::VectorOfUlong,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_resize(
self as *mut crate::VectorOfUlong,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_resize1(
self as *mut crate::VectorOfUlong,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_ulong>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_shrink_to_fit(self as *mut crate::VectorOfUlong)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_size(
self as *const crate::VectorOfUlong,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_swap(
self as *mut crate::VectorOfUlong,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlong>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfLonglong {
_unused: u8,
}
impl VectorOfLonglong {
pub unsafe fn assign_usize_longlong(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_assign(
self as *mut crate::VectorOfLonglong,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_longlong(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_assign1(
self as *mut crate::VectorOfLonglong,
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_at(
self as *mut crate::VectorOfLonglong,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_at1(
self as *const crate::VectorOfLonglong,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_back(
self as *mut crate::VectorOfLonglong,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_back1(
self as *const crate::VectorOfLonglong,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_capacity(
self as *const crate::VectorOfLonglong,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_clear(
self as *mut crate::VectorOfLonglong,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLonglong>>,
) -> ::cpp_core::MutRef<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_operator_(
self as *mut crate::VectorOfLonglong,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLonglong>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_data(
self as *mut crate::VectorOfLonglong,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_data1(
self as *const crate::VectorOfLonglong,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_empty(
self as *const crate::VectorOfLonglong,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_front(
self as *mut crate::VectorOfLonglong,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_front1(
self as *const crate::VectorOfLonglong,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_operator__(
self as *mut crate::VectorOfLonglong,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_operator__1(
self as *const crate::VectorOfLonglong,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_max_size(
self as *const crate::VectorOfLonglong,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_longlong(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_longlong(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_longlong_allocator_of_longlong(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(
value,
)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_longlong_allocator_of_longlong(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLonglong>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLonglong>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_longlong_allocator_of_longlong(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfLonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(
first,
)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(
last,
)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfLonglong>>::cast_into(
alloc,
)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_longlong(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(
value,
)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_longlong(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_longlong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(
first,
)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_longlong>>::cast_into(
last,
)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfLonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfLonglong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfLonglong>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_pop_back(
self as *mut crate::VectorOfLonglong,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_push_back(
self as *mut crate::VectorOfLonglong,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_reserve(
self as *mut crate::VectorOfLonglong,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_resize(
self as *mut crate::VectorOfLonglong,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_longlong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_resize1(
self as *mut crate::VectorOfLonglong,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_longlong>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_shrink_to_fit(
self as *mut crate::VectorOfLonglong,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_size(
self as *const crate::VectorOfLonglong,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLonglong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_swap(
self as *mut crate::VectorOfLonglong,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLonglong>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfUlonglong {
_unused: u8,
}
impl VectorOfUlonglong {
pub unsafe fn assign_usize_ulonglong(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
) {
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())
}
pub unsafe fn assign_2_ulonglong(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
) {
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())
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_ulonglong> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ulonglong> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ulonglong> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_ulonglong> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_capacity(self as *const crate::VectorOfUlonglong)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_clear(self as *mut crate::VectorOfUlonglong)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlonglong>>,
) -> ::cpp_core::MutRef<crate::VectorOfUlonglong> {
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());
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ulonglong> {
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);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ulonglong> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_empty(self as *const crate::VectorOfUlonglong)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_ulonglong> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_ulonglong> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(
&mut self,
n: usize,
) -> ::cpp_core::MutRef<::std::os::raw::c_ulonglong> {
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);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_ulonglong> {
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);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_max_size(self as *const crate::VectorOfUlonglong)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_ulonglong(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_ulonglong(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_ulonglong_allocator_of_ulonglong(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_ulonglong_allocator_of_ulonglong(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlonglong>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_ulonglong_allocator_of_ulonglong(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUlonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_ulonglong(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_ulonglong(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_ulonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUlonglong>>,
) -> ::cpp_core::CppBox<crate::VectorOfUlonglong> {
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());
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_pop_back(self as *mut crate::VectorOfUlonglong)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
) {
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())
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_reserve(self as *mut crate::VectorOfUlonglong, n)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_resize(self as *mut crate::VectorOfUlonglong, new_size)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_ulonglong>>,
) {
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())
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_shrink_to_fit(self as *mut crate::VectorOfUlonglong)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_size(self as *const crate::VectorOfUlonglong)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlonglong>>,
) {
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())
}
}
#[repr(C)]
pub struct VectorOfFloat {
_unused: u8,
}
impl VectorOfFloat {
pub unsafe fn assign_usize_float(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_assign(
self as *mut crate::VectorOfFloat,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_float(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_assign1(
self as *mut crate::VectorOfFloat,
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_at(
self as *mut crate::VectorOfFloat,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_at1(
self as *const crate::VectorOfFloat,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_back(
self as *mut crate::VectorOfFloat,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_back1(
self as *const crate::VectorOfFloat,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_capacity(
self as *const crate::VectorOfFloat,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_clear(
self as *mut crate::VectorOfFloat,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfFloat>>,
) -> ::cpp_core::MutRef<crate::VectorOfFloat> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_operator_(
self as *mut crate::VectorOfFloat,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfFloat>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_data(
self as *mut crate::VectorOfFloat,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_data1(
self as *const crate::VectorOfFloat,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_empty(
self as *const crate::VectorOfFloat,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_front(
self as *mut crate::VectorOfFloat,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_front1(
self as *const crate::VectorOfFloat,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_float> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_operator__(
self as *mut crate::VectorOfFloat,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_float> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_operator__1(
self as *const crate::VectorOfFloat,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_max_size(
self as *const crate::VectorOfFloat,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_float(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_float(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_float_allocator_of_float(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_float_allocator_of_float(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfFloat>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfFloat>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_float_allocator_of_float(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfFloat>>,
) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfFloat>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_float(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_float(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_float>>,
) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_float>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfFloat>>,
) -> ::cpp_core::CppBox<crate::VectorOfFloat> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfFloat>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_pop_back(
self as *mut crate::VectorOfFloat,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_push_back(
self as *mut crate::VectorOfFloat,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_reserve(
self as *mut crate::VectorOfFloat,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_resize(
self as *mut crate::VectorOfFloat,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_float>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_resize1(
self as *mut crate::VectorOfFloat,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_float>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_shrink_to_fit(
self as *mut crate::VectorOfFloat,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_size(
self as *const crate::VectorOfFloat,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfFloat>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_swap(
self as *mut crate::VectorOfFloat,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfFloat>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfDouble {
_unused: u8,
}
impl VectorOfDouble {
pub unsafe fn assign_usize_double(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_assign(
self as *mut crate::VectorOfDouble,
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(val)
.as_raw_ptr(),
)
}
pub unsafe fn assign_2_double(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_assign1(
self as *mut crate::VectorOfDouble,
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(last)
.as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_at(
self as *mut crate::VectorOfDouble,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_at1(
self as *const crate::VectorOfDouble,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_back(
self as *mut crate::VectorOfDouble,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_back1(
self as *const crate::VectorOfDouble,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_capacity(
self as *const crate::VectorOfDouble,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_clear(
self as *mut crate::VectorOfDouble,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfDouble>>,
) -> ::cpp_core::MutRef<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_operator_(
self as *mut crate::VectorOfDouble,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfDouble>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_data(
self as *mut crate::VectorOfDouble,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_data1(
self as *const crate::VectorOfDouble,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_empty(
self as *const crate::VectorOfDouble,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_front(
self as *mut crate::VectorOfDouble,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<::std::os::raw::c_double> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_front1(
self as *const crate::VectorOfDouble,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<::std::os::raw::c_double> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_operator__(
self as *mut crate::VectorOfDouble,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<::std::os::raw::c_double> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_operator__1(
self as *const crate::VectorOfDouble,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_max_size(
self as *const crate::VectorOfDouble,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_double(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_double(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_double_allocator_of_double(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(value)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_double_allocator_of_double(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfDouble>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfDouble>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_double_allocator_of_double(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfDouble>>,
) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(last)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfDouble>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_double(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(value)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_double(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_double>>,
) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(first)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_double>>::cast_into(last)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfDouble>>,
) -> ::cpp_core::CppBox<crate::VectorOfDouble> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfDouble>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_pop_back(
self as *mut crate::VectorOfDouble,
)
}
pub unsafe fn push_back(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_push_back(
self as *mut crate::VectorOfDouble,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_reserve(
self as *mut crate::VectorOfDouble,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_resize(
self as *mut crate::VectorOfDouble,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<::std::os::raw::c_double>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_resize1(
self as *mut crate::VectorOfDouble,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<::std::os::raw::c_double>>::cast_into(x)
.as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_shrink_to_fit(
self as *mut crate::VectorOfDouble,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_size(
self as *const crate::VectorOfDouble,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfDouble>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_swap(
self as *mut crate::VectorOfDouble,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfDouble>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfI8 {
_unused: u8,
}
impl VectorOfI8 {
pub unsafe fn assign_usize_i8(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_assign(
self as *mut crate::VectorOfI8,
n,
::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_i8(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_assign1(
self as *mut crate::VectorOfI8,
::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_at(
self as *mut crate::VectorOfI8,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_at1(
self as *const crate::VectorOfI8,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_back(
self as *mut crate::VectorOfI8,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_back1(
self as *const crate::VectorOfI8,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_capacity(
self as *const crate::VectorOfI8,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_clear(
self as *mut crate::VectorOfI8,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI8>>,
) -> ::cpp_core::MutRef<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_operator_(
self as *mut crate::VectorOfI8,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI8>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_data(
self as *mut crate::VectorOfI8,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_data1(
self as *const crate::VectorOfI8,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_empty(
self as *const crate::VectorOfI8,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_front(
self as *mut crate::VectorOfI8,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<i8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_front1(
self as *const crate::VectorOfI8,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_operator__(
self as *mut crate::VectorOfI8,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<i8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_operator__1(
self as *const crate::VectorOfI8,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_max_size(
self as *const crate::VectorOfI8,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_i8(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_i8(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_i8_allocator_of_i8(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_i8_allocator_of_i8(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI8>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI8>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_i8_allocator_of_i8(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI8>>,
) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI8>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_i8(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>,
) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_i8(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i8>>,
) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i8>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI8>>,
) -> ::cpp_core::CppBox<crate::VectorOfI8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI8>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_pop_back(
self as *mut crate::VectorOfI8,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_push_back(
self as *mut crate::VectorOfI8,
::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_reserve(
self as *mut crate::VectorOfI8,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_resize(
self as *mut crate::VectorOfI8,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<i8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_resize1(
self as *mut crate::VectorOfI8,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<i8>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_shrink_to_fit(
self as *mut crate::VectorOfI8,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_size(
self as *const crate::VectorOfI8,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_swap(
self as *mut crate::VectorOfI8,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI8>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfU8 {
_unused: u8,
}
impl VectorOfU8 {
pub unsafe fn assign_usize_u8(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_assign(
self as *mut crate::VectorOfU8,
n,
::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_u8(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_assign1(
self as *mut crate::VectorOfU8,
::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_at(
self as *mut crate::VectorOfU8,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<u8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_at1(
self as *const crate::VectorOfU8,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_back(
self as *mut crate::VectorOfU8,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_back1(
self as *const crate::VectorOfU8,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_capacity(
self as *const crate::VectorOfU8,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_clear(
self as *mut crate::VectorOfU8,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU8>>,
) -> ::cpp_core::MutRef<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_operator_(
self as *mut crate::VectorOfU8,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU8>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_data(
self as *mut crate::VectorOfU8,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_data1(
self as *const crate::VectorOfU8,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_empty(
self as *const crate::VectorOfU8,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_front(
self as *mut crate::VectorOfU8,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_front1(
self as *const crate::VectorOfU8,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_operator__(
self as *mut crate::VectorOfU8,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_operator__1(
self as *const crate::VectorOfU8,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_max_size(
self as *const crate::VectorOfU8,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_u8(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_u8(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_u8_allocator_of_u8(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_u8_allocator_of_u8(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU8>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU8>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_u8_allocator_of_u8(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU8>>,
) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU8>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_u8(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>,
) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_u8(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u8>>,
) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u8>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU8>>,
) -> ::cpp_core::CppBox<crate::VectorOfU8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU8>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_pop_back(
self as *mut crate::VectorOfU8,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_push_back(
self as *mut crate::VectorOfU8,
::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_reserve(
self as *mut crate::VectorOfU8,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_resize(
self as *mut crate::VectorOfU8,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<u8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_resize1(
self as *mut crate::VectorOfU8,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<u8>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_shrink_to_fit(
self as *mut crate::VectorOfU8,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_size(
self as *const crate::VectorOfU8,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_swap(
self as *mut crate::VectorOfU8,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU8>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfI16 {
_unused: u8,
}
impl VectorOfI16 {
pub unsafe fn assign_usize_i16(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_assign(
self as *mut crate::VectorOfI16,
n,
::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_i16(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_assign1(
self as *mut crate::VectorOfI16,
::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i16> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_at(
self as *mut crate::VectorOfI16,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<i16> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_at1(
self as *const crate::VectorOfI16,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_back(
self as *mut crate::VectorOfI16,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_back1(
self as *const crate::VectorOfI16,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_capacity(
self as *const crate::VectorOfI16,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_clear(
self as *mut crate::VectorOfI16,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI16>>,
) -> ::cpp_core::MutRef<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_operator_(
self as *mut crate::VectorOfI16,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI16>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_data(
self as *mut crate::VectorOfI16,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_data1(
self as *const crate::VectorOfI16,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_empty(
self as *const crate::VectorOfI16,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_front(
self as *mut crate::VectorOfI16,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_front1(
self as *const crate::VectorOfI16,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_operator__(
self as *mut crate::VectorOfI16,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_operator__1(
self as *const crate::VectorOfI16,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_max_size(
self as *const crate::VectorOfI16,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_i16(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_i16(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_i16_allocator_of_i16(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_i16_allocator_of_i16(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI16>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI16>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_i16_allocator_of_i16(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI16>>,
) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI16>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_i16(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>,
) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_i16(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i16>>,
) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i16>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI16>>,
) -> ::cpp_core::CppBox<crate::VectorOfI16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI16>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_pop_back(
self as *mut crate::VectorOfI16,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_push_back(
self as *mut crate::VectorOfI16,
::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_reserve(
self as *mut crate::VectorOfI16,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_resize(
self as *mut crate::VectorOfI16,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<i16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_resize1(
self as *mut crate::VectorOfI16,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<i16>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_shrink_to_fit(
self as *mut crate::VectorOfI16,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_size(
self as *const crate::VectorOfI16,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_swap(
self as *mut crate::VectorOfI16,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI16>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfU16 {
_unused: u8,
}
impl VectorOfU16 {
pub unsafe fn assign_usize_u16(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_assign(
self as *mut crate::VectorOfU16,
n,
::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_u16(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_assign1(
self as *mut crate::VectorOfU16,
::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_at(
self as *mut crate::VectorOfU16,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_at1(
self as *const crate::VectorOfU16,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_back(
self as *mut crate::VectorOfU16,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_back1(
self as *const crate::VectorOfU16,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_capacity(
self as *const crate::VectorOfU16,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_clear(
self as *mut crate::VectorOfU16,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU16>>,
) -> ::cpp_core::MutRef<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_operator_(
self as *mut crate::VectorOfU16,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU16>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_data(
self as *mut crate::VectorOfU16,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_data1(
self as *const crate::VectorOfU16,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_empty(
self as *const crate::VectorOfU16,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_front(
self as *mut crate::VectorOfU16,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_front1(
self as *const crate::VectorOfU16,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_operator__(
self as *mut crate::VectorOfU16,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_operator__1(
self as *const crate::VectorOfU16,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_max_size(
self as *const crate::VectorOfU16,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_u16(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_u16(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_u16_allocator_of_u16(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_u16_allocator_of_u16(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU16>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU16>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_u16_allocator_of_u16(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU16>>,
) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU16>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_u16(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>,
) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_u16(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u16>>,
) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u16>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU16>>,
) -> ::cpp_core::CppBox<crate::VectorOfU16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU16>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_pop_back(
self as *mut crate::VectorOfU16,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_push_back(
self as *mut crate::VectorOfU16,
::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_reserve(
self as *mut crate::VectorOfU16,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_resize(
self as *mut crate::VectorOfU16,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<u16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_resize1(
self as *mut crate::VectorOfU16,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<u16>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_shrink_to_fit(
self as *mut crate::VectorOfU16,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_size(
self as *const crate::VectorOfU16,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_swap(
self as *mut crate::VectorOfU16,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU16>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfI32 {
_unused: u8,
}
impl VectorOfI32 {
pub unsafe fn assign_usize_i32(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_assign(
self as *mut crate::VectorOfI32,
n,
::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_i32(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_assign1(
self as *mut crate::VectorOfI32,
::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i32> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_at(
self as *mut crate::VectorOfI32,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<i32> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_at1(
self as *const crate::VectorOfI32,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_back(
self as *mut crate::VectorOfI32,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_back1(
self as *const crate::VectorOfI32,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_capacity(
self as *const crate::VectorOfI32,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_clear(
self as *mut crate::VectorOfI32,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI32>>,
) -> ::cpp_core::MutRef<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_operator_(
self as *mut crate::VectorOfI32,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI32>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_data(
self as *mut crate::VectorOfI32,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_data1(
self as *const crate::VectorOfI32,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_empty(
self as *const crate::VectorOfI32,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_front(
self as *mut crate::VectorOfI32,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_front1(
self as *const crate::VectorOfI32,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_operator__(
self as *mut crate::VectorOfI32,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_operator__1(
self as *const crate::VectorOfI32,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_max_size(
self as *const crate::VectorOfI32,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_i32(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_i32(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_i32_allocator_of_i32(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_i32_allocator_of_i32(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI32>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI32>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_i32_allocator_of_i32(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI32>>,
) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI32>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_i32(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>,
) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_i32(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i32>>,
) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i32>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI32>>,
) -> ::cpp_core::CppBox<crate::VectorOfI32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI32>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_pop_back(
self as *mut crate::VectorOfI32,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_push_back(
self as *mut crate::VectorOfI32,
::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_reserve(
self as *mut crate::VectorOfI32,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_resize(
self as *mut crate::VectorOfI32,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<i32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_resize1(
self as *mut crate::VectorOfI32,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<i32>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_shrink_to_fit(
self as *mut crate::VectorOfI32,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_size(
self as *const crate::VectorOfI32,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_swap(
self as *mut crate::VectorOfI32,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI32>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfU32 {
_unused: u8,
}
impl VectorOfU32 {
pub unsafe fn assign_usize_u32(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_assign(
self as *mut crate::VectorOfU32,
n,
::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_u32(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_assign1(
self as *mut crate::VectorOfU32,
::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_at(
self as *mut crate::VectorOfU32,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_at1(
self as *const crate::VectorOfU32,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_back(
self as *mut crate::VectorOfU32,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_back1(
self as *const crate::VectorOfU32,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_capacity(
self as *const crate::VectorOfU32,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_clear(
self as *mut crate::VectorOfU32,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU32>>,
) -> ::cpp_core::MutRef<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_operator_(
self as *mut crate::VectorOfU32,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU32>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_data(
self as *mut crate::VectorOfU32,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_data1(
self as *const crate::VectorOfU32,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_empty(
self as *const crate::VectorOfU32,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_front(
self as *mut crate::VectorOfU32,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_front1(
self as *const crate::VectorOfU32,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_operator__(
self as *mut crate::VectorOfU32,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_operator__1(
self as *const crate::VectorOfU32,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_max_size(
self as *const crate::VectorOfU32,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_u32(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_u32(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_u32_allocator_of_u32(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_u32_allocator_of_u32(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU32>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU32>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_u32_allocator_of_u32(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU32>>,
) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU32>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_u32(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>,
) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_u32(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u32>>,
) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u32>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU32>>,
) -> ::cpp_core::CppBox<crate::VectorOfU32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU32>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_pop_back(
self as *mut crate::VectorOfU32,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_push_back(
self as *mut crate::VectorOfU32,
::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_reserve(
self as *mut crate::VectorOfU32,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_resize(
self as *mut crate::VectorOfU32,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<u32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_resize1(
self as *mut crate::VectorOfU32,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<u32>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_shrink_to_fit(
self as *mut crate::VectorOfU32,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_size(
self as *const crate::VectorOfU32,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_swap(
self as *mut crate::VectorOfU32,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU32>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfI64 {
_unused: u8,
}
impl VectorOfI64 {
pub unsafe fn assign_usize_i64(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_assign(
self as *mut crate::VectorOfI64,
n,
::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_i64(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_assign1(
self as *mut crate::VectorOfI64,
::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i64> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_at(
self as *mut crate::VectorOfI64,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<i64> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_at1(
self as *const crate::VectorOfI64,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_back(
self as *mut crate::VectorOfI64,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_back1(
self as *const crate::VectorOfI64,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_capacity(
self as *const crate::VectorOfI64,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_clear(
self as *mut crate::VectorOfI64,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI64>>,
) -> ::cpp_core::MutRef<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_operator_(
self as *mut crate::VectorOfI64,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI64>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_data(
self as *mut crate::VectorOfI64,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_data1(
self as *const crate::VectorOfI64,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_empty(
self as *const crate::VectorOfI64,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_front(
self as *mut crate::VectorOfI64,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_front1(
self as *const crate::VectorOfI64,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_operator__(
self as *mut crate::VectorOfI64,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_operator__1(
self as *const crate::VectorOfI64,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_max_size(
self as *const crate::VectorOfI64,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_i64(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_i64(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_i64_allocator_of_i64(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_i64_allocator_of_i64(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI64>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI64>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_i64_allocator_of_i64(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfI64>>,
) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfI64>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_i64(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>,
) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_i64(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<i64>>,
) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<i64>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfI64>>,
) -> ::cpp_core::CppBox<crate::VectorOfI64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfI64>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_pop_back(
self as *mut crate::VectorOfI64,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_push_back(
self as *mut crate::VectorOfI64,
::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_reserve(
self as *mut crate::VectorOfI64,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_resize(
self as *mut crate::VectorOfI64,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<i64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_resize1(
self as *mut crate::VectorOfI64,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<i64>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_shrink_to_fit(
self as *mut crate::VectorOfI64,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_size(
self as *const crate::VectorOfI64,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_swap(
self as *mut crate::VectorOfI64,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI64>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfU64 {
_unused: u8,
}
impl VectorOfU64 {
pub unsafe fn assign_usize_u64(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_assign(
self as *mut crate::VectorOfU64,
n,
::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_u64(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_assign1(
self as *mut crate::VectorOfU64,
::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_at(
self as *mut crate::VectorOfU64,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_at1(
self as *const crate::VectorOfU64,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_back(
self as *mut crate::VectorOfU64,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_back1(
self as *const crate::VectorOfU64,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_capacity(
self as *const crate::VectorOfU64,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_clear(
self as *mut crate::VectorOfU64,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU64>>,
) -> ::cpp_core::MutRef<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_operator_(
self as *mut crate::VectorOfU64,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU64>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_data(
self as *mut crate::VectorOfU64,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_data1(
self as *const crate::VectorOfU64,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_empty(
self as *const crate::VectorOfU64,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_front(
self as *mut crate::VectorOfU64,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_front1(
self as *const crate::VectorOfU64,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_operator__(
self as *mut crate::VectorOfU64,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_operator__1(
self as *const crate::VectorOfU64,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_max_size(
self as *const crate::VectorOfU64,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_u64(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_u64(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_u64_allocator_of_u64(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_u64_allocator_of_u64(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU64>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU64>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_u64_allocator_of_u64(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfU64>>,
) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfU64>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_u64(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>,
) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_u64(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<u64>>,
) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<u64>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfU64>>,
) -> ::cpp_core::CppBox<crate::VectorOfU64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfU64>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_pop_back(
self as *mut crate::VectorOfU64,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_push_back(
self as *mut crate::VectorOfU64,
::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_reserve(
self as *mut crate::VectorOfU64,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_resize(
self as *mut crate::VectorOfU64,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<u64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_resize1(
self as *mut crate::VectorOfU64,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<u64>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_shrink_to_fit(
self as *mut crate::VectorOfU64,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_size(
self as *const crate::VectorOfU64,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_swap(
self as *mut crate::VectorOfU64,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU64>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfUsize {
_unused: u8,
}
impl VectorOfUsize {
pub unsafe fn assign_usize_usize(
&mut self,
n: usize,
val: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_assign(
self as *mut crate::VectorOfUsize,
n,
::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(val).as_raw_ptr(),
)
}
pub unsafe fn assign_2_usize(
&mut self,
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_assign1(
self as *mut crate::VectorOfUsize,
::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(last).as_raw_ptr(),
)
}
pub unsafe fn at_mut(&mut self, n: usize) -> ::cpp_core::MutRef<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_at(
self as *mut crate::VectorOfUsize,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn at(&self, n: usize) -> ::cpp_core::Ref<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_at1(
self as *const crate::VectorOfUsize,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back_mut(&mut self) -> ::cpp_core::MutRef<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_back(
self as *mut crate::VectorOfUsize,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&self) -> ::cpp_core::Ref<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_back1(
self as *const crate::VectorOfUsize,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_capacity(
self as *const crate::VectorOfUsize,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_clear(
self as *mut crate::VectorOfUsize,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUsize>>,
) -> ::cpp_core::MutRef<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_operator_(
self as *mut crate::VectorOfUsize,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUsize>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_data(
self as *mut crate::VectorOfUsize,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn data(&self) -> ::cpp_core::Ptr<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_data1(
self as *const crate::VectorOfUsize,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_empty(
self as *const crate::VectorOfUsize,
)
}
pub unsafe fn front_mut(&mut self) -> ::cpp_core::MutRef<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_front(
self as *mut crate::VectorOfUsize,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn front(&self) -> ::cpp_core::Ref<usize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_front1(
self as *const crate::VectorOfUsize,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index_mut(&mut self, n: usize) -> ::cpp_core::MutRef<usize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_operator__(
self as *mut crate::VectorOfUsize,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&self, n: usize) -> ::cpp_core::Ref<usize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_operator__1(
self as *const crate::VectorOfUsize,
n,
);
::cpp_core::Ref::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_max_size(
self as *const crate::VectorOfUsize,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_usize(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_usize(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_usize_allocator_of_usize(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector4(
n,
::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(value).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_usize_allocator_of_usize(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUsize>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUsize>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_usize_allocator_of_usize(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
alloc: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfUsize>>,
) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector8(
::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(last).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfUsize>>::cast_into(alloc)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_usize(
n: usize,
value: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>,
) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector10(
n,
::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(value).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_2_usize(
first: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
last: impl ::cpp_core::CastInto<::cpp_core::Ptr<usize>>,
) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector11(
::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(first).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<usize>>::cast_into(last).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfUsize>>,
) -> ::cpp_core::CppBox<crate::VectorOfUsize> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfUsize>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_pop_back(
self as *mut crate::VectorOfUsize,
)
}
pub unsafe fn push_back(&mut self, x: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_push_back(
self as *mut crate::VectorOfUsize,
::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_reserve(
self as *mut crate::VectorOfUsize,
n,
)
}
pub unsafe fn resize_1a(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_resize(
self as *mut crate::VectorOfUsize,
new_size,
)
}
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl ::cpp_core::CastInto<::cpp_core::Ref<usize>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_resize1(
self as *mut crate::VectorOfUsize,
new_size,
::cpp_core::CastInto::<::cpp_core::Ref<usize>>::cast_into(x).as_raw_ptr(),
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_shrink_to_fit(
self as *mut crate::VectorOfUsize,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_size(
self as *const crate::VectorOfUsize,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUsize>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_swap(
self as *mut crate::VectorOfUsize,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUsize>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
#[repr(C)]
pub struct VectorOfVoid {
_unused: u8,
}
impl VectorOfVoid {
pub unsafe fn at(&mut self, n: usize) -> ::cpp_core::MutRef<*mut ::std::ffi::c_void> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_at(
self as *mut crate::VectorOfVoid,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn back(&mut self) -> ::cpp_core::MutRef<*mut ::std::ffi::c_void> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_back(
self as *mut crate::VectorOfVoid,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn capacity(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_capacity(
self as *const crate::VectorOfVoid,
)
}
pub unsafe fn clear(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_clear(
self as *mut crate::VectorOfVoid,
)
}
pub unsafe fn copy_from(
&mut self,
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfVoid>>,
) -> ::cpp_core::MutRef<crate::VectorOfVoid> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_operator_(
self as *mut crate::VectorOfVoid,
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfVoid>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn data(&mut self) -> ::cpp_core::MutPtr<*mut ::std::ffi::c_void> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_data(
self as *mut crate::VectorOfVoid,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn empty(&self) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_empty(
self as *const crate::VectorOfVoid,
)
}
pub unsafe fn front(&mut self) -> ::cpp_core::MutRef<*mut ::std::ffi::c_void> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_front(
self as *mut crate::VectorOfVoid,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn index(&mut self, n: usize) -> ::cpp_core::MutRef<*mut ::std::ffi::c_void> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_operator__(
self as *mut crate::VectorOfVoid,
n,
);
::cpp_core::MutRef::from_raw(ffi_result).expect("attempted to construct a null Ref")
}
pub unsafe fn max_size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_max_size(
self as *const crate::VectorOfVoid,
)
}
pub unsafe fn new() -> ::cpp_core::CppBox<crate::VectorOfVoid> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector();
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_allocator_of_void(
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize_allocator_of_void(
n: usize,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector3(
n,
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_vector_of_void_allocator_of_void(
x: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfVoid>>,
a: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::AllocatorOfVoid>>,
) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector6(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfVoid>>::cast_into(x)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::AllocatorOfVoid>>::cast_into(a)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn from_usize(n: usize) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector9(n);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn new_copy(
other: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::VectorOfVoid>>,
) -> ::cpp_core::CppBox<crate::VectorOfVoid> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_vector1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::VectorOfVoid>>::cast_into(other)
.as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn pop_back(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_pop_back(
self as *mut crate::VectorOfVoid,
)
}
pub unsafe fn reserve(&mut self, n: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_reserve(
self as *mut crate::VectorOfVoid,
n,
)
}
pub unsafe fn resize(&mut self, new_size: usize) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_resize(
self as *mut crate::VectorOfVoid,
new_size,
)
}
pub unsafe fn shrink_to_fit(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_shrink_to_fit(
self as *mut crate::VectorOfVoid,
)
}
pub unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_size(
self as *const crate::VectorOfVoid,
)
}
pub unsafe fn swap(
&mut self,
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfVoid>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_swap(
self as *mut crate::VectorOfVoid,
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfVoid>>::cast_into(x)
.as_mut_raw_ptr(),
)
}
}
impl ::cpp_core::CppDeletable for crate::PiecewiseConstructT {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_piecewise_construct_t_dpiecewise_construct_t(
self as *mut crate::PiecewiseConstructT,
)
}
}
impl ::cpp_core::CppDeletable for crate::InputIteratorTag {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_input_iterator_tag_dinput_iterator_tag(
self as *mut crate::InputIteratorTag,
)
}
}
impl ::cpp_core::CppDeletable for crate::OutputIteratorTag {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_output_iterator_tag_doutput_iterator_tag(
self as *mut crate::OutputIteratorTag,
)
}
}
impl ::cpp_core::CppDeletable for crate::ForwardIteratorTag {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_forward_iterator_tag_dforward_iterator_tag(
self as *mut crate::ForwardIteratorTag,
)
}
}
impl ::cpp_core::CppDeletable for crate::BidirectionalIteratorTag {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_bidirectional_iterator_tag_dbidirectional_iterator_tag(
self as *mut crate::BidirectionalIteratorTag,
)
}
}
impl ::cpp_core::CppDeletable for crate::RandomAccessIteratorTag {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_random_access_iterator_tag_drandom_access_iterator_tag(
self as *mut crate::RandomAccessIteratorTag,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfBool {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_dvector(
self as *mut crate::VectorOfBool,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfChar {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_dvector(
self as *mut crate::VectorOfChar,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfSchar {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_dvector(
self as *mut crate::VectorOfSchar,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfUchar {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_dvector(
self as *mut crate::VectorOfUchar,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfWcharT {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_dvector(
self as *mut crate::VectorOfWcharT,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfChar16T {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_dvector(
self as *mut crate::VectorOfChar16T,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfChar32T {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_dvector(
self as *mut crate::VectorOfChar32T,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfShort {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_dvector(
self as *mut crate::VectorOfShort,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfUshort {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_dvector(
self as *mut crate::VectorOfUshort,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfInt {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_dvector(
self as *mut crate::VectorOfInt,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfUint {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_dvector(
self as *mut crate::VectorOfUint,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfLong {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_dvector(
self as *mut crate::VectorOfLong,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfUlong {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_dvector(
self as *mut crate::VectorOfUlong,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfLonglong {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_dvector(
self as *mut crate::VectorOfLonglong,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfUlonglong {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_dvector(self as *mut crate::VectorOfUlonglong)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfFloat {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_dvector(
self as *mut crate::VectorOfFloat,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfDouble {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_dvector(
self as *mut crate::VectorOfDouble,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfI8 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_dvector(
self as *mut crate::VectorOfI8,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfU8 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_dvector(
self as *mut crate::VectorOfU8,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfI16 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_dvector(
self as *mut crate::VectorOfI16,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfU16 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_dvector(
self as *mut crate::VectorOfU16,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfI32 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_dvector(
self as *mut crate::VectorOfI32,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfU32 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_dvector(
self as *mut crate::VectorOfU32,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfI64 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_dvector(
self as *mut crate::VectorOfI64,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfU64 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_dvector(
self as *mut crate::VectorOfU64,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfUsize {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_dvector(
self as *mut crate::VectorOfUsize,
)
}
}
impl ::cpp_core::CppDeletable for crate::VectorOfVoid {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_dvector(
self as *mut crate::VectorOfVoid,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfChar {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_char_dallocator(
self as *mut crate::AllocatorOfChar,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfWcharT {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_wchar_t_dallocator(
self as *mut crate::AllocatorOfWcharT,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfChar16T {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_char16_t_dallocator(
self as *mut crate::AllocatorOfChar16T,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfChar32T {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_char32_t_dallocator(
self as *mut crate::AllocatorOfChar32T,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfBool {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_bool_dallocator(
self as *mut crate::AllocatorOfBool,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfSchar {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_signed_char_dallocator(
self as *mut crate::AllocatorOfSchar,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfUchar {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_char_dallocator(
self as *mut crate::AllocatorOfUchar,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfShort {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_short_dallocator(
self as *mut crate::AllocatorOfShort,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfUshort {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_short_dallocator(
self as *mut crate::AllocatorOfUshort,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfInt {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_int_dallocator(
self as *mut crate::AllocatorOfInt,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfUint {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_int_dallocator(
self as *mut crate::AllocatorOfUint,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfLong {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_dallocator(
self as *mut crate::AllocatorOfLong,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfUlong {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_dallocator(
self as *mut crate::AllocatorOfUlong,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfLonglong {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_long_long_dallocator(
self as *mut crate::AllocatorOfLonglong,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfUlonglong {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_unsigned_long_long_dallocator(
self as *mut crate::AllocatorOfUlonglong,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfFloat {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_float_dallocator(
self as *mut crate::AllocatorOfFloat,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfDouble {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_double_dallocator(
self as *mut crate::AllocatorOfDouble,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfI8 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_int8_t_dallocator(
self as *mut crate::AllocatorOfI8,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfU8 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint8_t_dallocator(
self as *mut crate::AllocatorOfU8,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfI16 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_int16_t_dallocator(
self as *mut crate::AllocatorOfI16,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfU16 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint16_t_dallocator(
self as *mut crate::AllocatorOfU16,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfI32 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_int32_t_dallocator(
self as *mut crate::AllocatorOfI32,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfU32 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint32_t_dallocator(
self as *mut crate::AllocatorOfU32,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfI64 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_int64_t_dallocator(
self as *mut crate::AllocatorOfI64,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfU64 {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_uint64_t_dallocator(
self as *mut crate::AllocatorOfU64,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfUsize {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_size_t_dallocator(
self as *mut crate::AllocatorOfUsize,
)
}
}
impl ::cpp_core::CppDeletable for crate::AllocatorOfVoid {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_allocator_void_ptr_dallocator(
self as *mut crate::AllocatorOfVoid,
)
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfChar>> for crate::AllocatorOfChar {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfChar>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__1(
self as *const crate::AllocatorOfChar,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfWcharT>> for crate::AllocatorOfWcharT {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfWcharT>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__2(
self as *const crate::AllocatorOfWcharT,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfChar16T>>
for crate::AllocatorOfChar16T
{
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfChar16T>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__3(
self as *const crate::AllocatorOfChar16T,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfChar32T>>
for crate::AllocatorOfChar32T
{
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfChar32T>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__4(
self as *const crate::AllocatorOfChar32T,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfBool>> for crate::AllocatorOfBool {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfBool>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__5(
self as *const crate::AllocatorOfBool,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfSchar>> for crate::AllocatorOfSchar {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfSchar>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__6(
self as *const crate::AllocatorOfSchar,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUchar>> for crate::AllocatorOfUchar {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUchar>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__7(
self as *const crate::AllocatorOfUchar,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfShort>> for crate::AllocatorOfShort {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfShort>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__8(
self as *const crate::AllocatorOfShort,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUshort>> for crate::AllocatorOfUshort {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUshort>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__9(
self as *const crate::AllocatorOfUshort,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfInt>> for crate::AllocatorOfInt {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfInt>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__10(
self as *const crate::AllocatorOfInt,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUint>> for crate::AllocatorOfUint {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUint>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__11(
self as *const crate::AllocatorOfUint,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfLong>> for crate::AllocatorOfLong {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfLong>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__12(
self as *const crate::AllocatorOfLong,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUlong>> for crate::AllocatorOfUlong {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUlong>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__13(
self as *const crate::AllocatorOfUlong,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfLonglong>>
for crate::AllocatorOfLonglong
{
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfLonglong>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__14(
self as *const crate::AllocatorOfLonglong,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUlonglong>>
for crate::AllocatorOfUlonglong
{
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUlonglong>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__15(
self as *const crate::AllocatorOfUlonglong,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfFloat>> for crate::AllocatorOfFloat {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfFloat>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__16(
self as *const crate::AllocatorOfFloat,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfDouble>> for crate::AllocatorOfDouble {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfDouble>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__17(
self as *const crate::AllocatorOfDouble,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfI8>> for crate::AllocatorOfI8 {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfI8>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__18(
self as *const crate::AllocatorOfI8,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfU8>> for crate::AllocatorOfU8 {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfU8>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__19(
self as *const crate::AllocatorOfU8,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfI16>> for crate::AllocatorOfI16 {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfI16>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__20(
self as *const crate::AllocatorOfI16,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfU16>> for crate::AllocatorOfU16 {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfU16>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__21(
self as *const crate::AllocatorOfU16,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfI32>> for crate::AllocatorOfI32 {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfI32>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__22(
self as *const crate::AllocatorOfI32,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfU32>> for crate::AllocatorOfU32 {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfU32>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__23(
self as *const crate::AllocatorOfU32,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfI64>> for crate::AllocatorOfI64 {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfI64>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__24(
self as *const crate::AllocatorOfI64,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfU64>> for crate::AllocatorOfU64 {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfU64>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__25(
self as *const crate::AllocatorOfU64,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfUsize>> for crate::AllocatorOfUsize {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfUsize>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__26(
self as *const crate::AllocatorOfUsize,
arg2.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::AllocatorOfVoid>> for crate::AllocatorOfVoid {
fn eq(&self, arg2: &::cpp_core::Ref<crate::AllocatorOfVoid>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__27(
self as *const crate::AllocatorOfVoid,
arg2.as_raw_ptr(),
)
}
}
}
impl ::cpp_core::CppDeletable for crate::String {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_dbasic_string(self as *mut crate::String)
}
}
impl ::cpp_core::CppDeletable for crate::WString {
unsafe fn delete(&mut self) {
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)
}
}
impl ::cpp_core::CppDeletable for crate::U16String {
unsafe fn delete(&mut self) {
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)
}
}
impl ::cpp_core::CppDeletable for crate::U32String {
unsafe fn delete(&mut self) {
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)
}
}
impl ::cpp_core::vector_ops::Size for crate::String {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_basic_string_char_std_char_traits_char_std_allocator_char_size(self as *const crate::String)
}
}
impl ::cpp_core::vector_ops::Size for crate::WString {
unsafe fn size(&self) -> usize {
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)
}
}
impl ::cpp_core::vector_ops::Size for crate::U16String {
unsafe fn size(&self) -> usize {
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)
}
}
impl ::cpp_core::vector_ops::Size for crate::U32String {
unsafe fn size(&self) -> usize {
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)
}
}
impl ::std::ops::AddAssign<::cpp_core::Ref<crate::String>> for crate::String {
fn add_assign(&mut self, str: ::cpp_core::Ref<crate::String>) {
let ffi_result = unsafe {
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())
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::Ref<crate::WString>> for crate::WString {
fn add_assign(&mut self, str: ::cpp_core::Ref<crate::WString>) {
let ffi_result = unsafe {
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())
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::Ref<crate::U16String>> for crate::U16String {
fn add_assign(&mut self, str: ::cpp_core::Ref<crate::U16String>) {
let ffi_result = unsafe {
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())
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::Ref<crate::U32String>> for crate::U32String {
fn add_assign(&mut self, str: ::cpp_core::Ref<crate::U32String>) {
let ffi_result = unsafe {
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())
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
fn add_assign(&mut self, s: ::cpp_core::Ptr<::std::os::raw::c_char>) {
let ffi_result = unsafe {
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())
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
fn add_assign(&mut self, s: ::cpp_core::Ptr<::cpp_core::wchar_t>) {
let ffi_result = unsafe {
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())
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
fn add_assign(&mut self, s: ::cpp_core::Ptr<::cpp_core::char16_t>) {
let ffi_result = unsafe {
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())
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
fn add_assign(&mut self, s: ::cpp_core::Ptr<::cpp_core::char32_t>) {
let ffi_result = unsafe {
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())
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::std::os::raw::c_char> for crate::String {
fn add_assign(&mut self, c: ::std::os::raw::c_char) {
let ffi_result = unsafe {
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)
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::wchar_t> for crate::WString {
fn add_assign(&mut self, c: ::cpp_core::wchar_t) {
let ffi_result = unsafe {
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)
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::char16_t> for crate::U16String {
fn add_assign(&mut self, c: ::cpp_core::char16_t) {
let ffi_result = unsafe {
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)
};
let _ = ffi_result;
}
}
impl ::std::ops::AddAssign<::cpp_core::char32_t> for crate::U32String {
fn add_assign(&mut self, c: ::cpp_core::char32_t) {
let ffi_result = unsafe {
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)
};
let _ = ffi_result;
}
}
impl ::cpp_core::vector_ops::Data for crate::String {
type Output = ::cpp_core::Ptr<::std::os::raw::c_char>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::WString {
type Output = ::cpp_core::Ptr<::cpp_core::wchar_t>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::U16String {
type Output = ::cpp_core::Ptr<::cpp_core::char16_t>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::U32String {
type Output = ::cpp_core::Ptr<::cpp_core::char32_t>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::std::ops::Add<::cpp_core::Ref<crate::String>> for &crate::String {
type Output = ::cpp_core::CppBox<crate::String>;
fn add(self, rhs: ::cpp_core::Ref<crate::String>) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_(
self as *const crate::String,
rhs.as_raw_ptr(),
)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::Ref<crate::WString>> for &crate::WString {
type Output = ::cpp_core::CppBox<crate::WString>;
fn add(self, rhs: ::cpp_core::Ref<crate::WString>) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_1(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::Ref<crate::U16String>> for &crate::U16String {
type Output = ::cpp_core::CppBox<crate::U16String>;
fn add(self, rhs: ::cpp_core::Ref<crate::U16String>) -> ::cpp_core::CppBox<crate::U16String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_2(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::Ref<crate::U32String>> for &crate::U32String {
type Output = ::cpp_core::CppBox<crate::U32String>;
fn add(self, rhs: ::cpp_core::Ref<crate::U32String>) -> ::cpp_core::CppBox<crate::U32String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_3(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::Ptr<::std::os::raw::c_char>> for &crate::String {
type Output = ::cpp_core::CppBox<crate::String>;
fn add(
self,
rhs: ::cpp_core::Ptr<::std::os::raw::c_char>,
) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_12(
self as *const crate::String,
rhs.as_raw_ptr(),
)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::Ptr<::cpp_core::wchar_t>> for &crate::WString {
type Output = ::cpp_core::CppBox<crate::WString>;
fn add(self, rhs: ::cpp_core::Ptr<::cpp_core::wchar_t>) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_13(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::Ptr<::cpp_core::char16_t>> for &crate::U16String {
type Output = ::cpp_core::CppBox<crate::U16String>;
fn add(
self,
rhs: ::cpp_core::Ptr<::cpp_core::char16_t>,
) -> ::cpp_core::CppBox<crate::U16String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_14(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::Ptr<::cpp_core::char32_t>> for &crate::U32String {
type Output = ::cpp_core::CppBox<crate::U32String>;
fn add(
self,
rhs: ::cpp_core::Ptr<::cpp_core::char32_t>,
) -> ::cpp_core::CppBox<crate::U32String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_15(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::std::os::raw::c_char> for &crate::String {
type Output = ::cpp_core::CppBox<crate::String>;
fn add(self, rhs: ::std::os::raw::c_char) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_16(self as *const crate::String, rhs)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::wchar_t> for &crate::WString {
type Output = ::cpp_core::CppBox<crate::WString>;
fn add(self, rhs: ::cpp_core::wchar_t) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_17(self as *const crate::WString, rhs)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::char16_t> for &crate::U16String {
type Output = ::cpp_core::CppBox<crate::U16String>;
fn add(self, rhs: ::cpp_core::char16_t) -> ::cpp_core::CppBox<crate::U16String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_18(self as *const crate::U16String, rhs)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::ops::Add<::cpp_core::char32_t> for &crate::U32String {
type Output = ::cpp_core::CppBox<crate::U32String>;
fn add(self, rhs: ::cpp_core::char32_t) -> ::cpp_core::CppBox<crate::U32String> {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator_19(self as *const crate::U32String, rhs)
};
unsafe {
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::String>> for crate::String {
fn eq(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__55(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::WString>> for crate::WString {
fn eq(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__56(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::U16String>> for crate::U16String {
fn eq(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__57(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::U32String>> for crate::U32String {
fn eq(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__58(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
fn eq(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__63(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
fn eq(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__64(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
fn eq(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__65(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
fn eq(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__66(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::String>> for crate::String {
unsafe fn lt(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_48(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::WString>> for crate::WString {
unsafe fn lt(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_49(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::U16String>> for crate::U16String {
unsafe fn lt(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_50(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::U32String>> for crate::U32String {
unsafe fn lt(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_51(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
unsafe fn lt(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_52(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
unsafe fn lt(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_53(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
unsafe fn lt(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_54(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
unsafe fn lt(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_55(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::String>> for crate::String {
unsafe fn gt(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_60(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::WString>> for crate::WString {
unsafe fn gt(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_61(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::U16String>> for crate::U16String {
unsafe fn gt(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_62(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::U32String>> for crate::U32String {
unsafe fn gt(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_63(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
unsafe fn gt(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_64(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
unsafe fn gt(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_65(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
unsafe fn gt(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_66(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
unsafe fn gt(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_67(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::String>> for crate::String {
unsafe fn le(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__79(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::WString>> for crate::WString {
unsafe fn le(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__80(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::U16String>> for crate::U16String {
unsafe fn le(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__81(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::U32String>> for crate::U32String {
unsafe fn le(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__82(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
unsafe fn le(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__83(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
unsafe fn le(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__84(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
unsafe fn le(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__85(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
unsafe fn le(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__86(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::String>> for crate::String {
unsafe fn ge(&self, rhs: &::cpp_core::Ref<crate::String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__91(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::WString>> for crate::WString {
unsafe fn ge(&self, rhs: &::cpp_core::Ref<crate::WString>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__92(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::U16String>> for crate::U16String {
unsafe fn ge(&self, rhs: &::cpp_core::Ref<crate::U16String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__93(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::U32String>> for crate::U32String {
unsafe fn ge(&self, rhs: &::cpp_core::Ref<crate::U32String>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__94(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ptr<::std::os::raw::c_char>> for crate::String {
unsafe fn ge(&self, rhs: &::cpp_core::Ptr<::std::os::raw::c_char>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__95(
self as *const crate::String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ptr<::cpp_core::wchar_t>> for crate::WString {
unsafe fn ge(&self, rhs: &::cpp_core::Ptr<::cpp_core::wchar_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__96(
self as *const crate::WString,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ptr<::cpp_core::char16_t>> for crate::U16String {
unsafe fn ge(&self, rhs: &::cpp_core::Ptr<::cpp_core::char16_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__97(
self as *const crate::U16String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ptr<::cpp_core::char32_t>> for crate::U32String {
unsafe fn ge(&self, rhs: &::cpp_core::Ptr<::cpp_core::char32_t>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__98(
self as *const crate::U32String,
rhs.as_raw_ptr(),
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfBool {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_bool_std_allocator_bool_size(
self as *const crate::VectorOfBool,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfChar {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_size(
self as *const crate::VectorOfChar,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfSchar {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_size(
self as *const crate::VectorOfSchar,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfUchar {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_size(
self as *const crate::VectorOfUchar,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfWcharT {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_size(
self as *const crate::VectorOfWcharT,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfChar16T {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_size(
self as *const crate::VectorOfChar16T,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfChar32T {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_size(
self as *const crate::VectorOfChar32T,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfShort {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_size(
self as *const crate::VectorOfShort,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfUshort {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_size(
self as *const crate::VectorOfUshort,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfInt {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_size(
self as *const crate::VectorOfInt,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfUint {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_size(
self as *const crate::VectorOfUint,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfLong {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_size(
self as *const crate::VectorOfLong,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfUlong {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_size(
self as *const crate::VectorOfUlong,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfLonglong {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_size(
self as *const crate::VectorOfLonglong,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfUlonglong {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_long_std_allocator_unsigned_long_long_size(self as *const crate::VectorOfUlonglong)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfFloat {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_size(
self as *const crate::VectorOfFloat,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfDouble {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_size(
self as *const crate::VectorOfDouble,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfI8 {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_size(
self as *const crate::VectorOfI8,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfU8 {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_size(
self as *const crate::VectorOfU8,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfI16 {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_size(
self as *const crate::VectorOfI16,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfU16 {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_size(
self as *const crate::VectorOfU16,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfI32 {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_size(
self as *const crate::VectorOfI32,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfU32 {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_size(
self as *const crate::VectorOfU32,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfI64 {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_size(
self as *const crate::VectorOfI64,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfU64 {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_size(
self as *const crate::VectorOfU64,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfUsize {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_size(
self as *const crate::VectorOfUsize,
)
}
}
impl ::cpp_core::vector_ops::Size for crate::VectorOfVoid {
unsafe fn size(&self) -> usize {
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_size(
self as *const crate::VectorOfVoid,
)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfChar {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_char>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_data(
self as *mut crate::VectorOfChar,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfSchar {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_schar>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_data(
self as *mut crate::VectorOfSchar,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUchar {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_uchar>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_uchar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_data(
self as *mut crate::VectorOfUchar,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfWcharT {
type Output = ::cpp_core::MutPtr<::cpp_core::wchar_t>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_data(
self as *mut crate::VectorOfWcharT,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfChar16T {
type Output = ::cpp_core::MutPtr<::cpp_core::char16_t>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_data(
self as *mut crate::VectorOfChar16T,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfChar32T {
type Output = ::cpp_core::MutPtr<::cpp_core::char32_t>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_data(
self as *mut crate::VectorOfChar32T,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfShort {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_short>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_data(
self as *mut crate::VectorOfShort,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUshort {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_ushort>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_data(self as *mut crate::VectorOfUshort);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfInt {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_int>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_data(
self as *mut crate::VectorOfInt,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUint {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_uint>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_data(
self as *mut crate::VectorOfUint,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfLong {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_long>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_data(
self as *mut crate::VectorOfLong,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUlong {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_ulong>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ulong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_data(
self as *mut crate::VectorOfUlong,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfLonglong {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_longlong>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_data(
self as *mut crate::VectorOfLonglong,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUlonglong {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_ulonglong>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_ulonglong> {
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);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfFloat {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_float>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_data(
self as *mut crate::VectorOfFloat,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfDouble {
type Output = ::cpp_core::MutPtr<::std::os::raw::c_double>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_data(
self as *mut crate::VectorOfDouble,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfI8 {
type Output = ::cpp_core::MutPtr<i8>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_data(
self as *mut crate::VectorOfI8,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfU8 {
type Output = ::cpp_core::MutPtr<u8>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_data(
self as *mut crate::VectorOfU8,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfI16 {
type Output = ::cpp_core::MutPtr<i16>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_data(
self as *mut crate::VectorOfI16,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfU16 {
type Output = ::cpp_core::MutPtr<u16>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_data(
self as *mut crate::VectorOfU16,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfI32 {
type Output = ::cpp_core::MutPtr<i32>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_data(
self as *mut crate::VectorOfI32,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfU32 {
type Output = ::cpp_core::MutPtr<u32>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_data(
self as *mut crate::VectorOfU32,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfI64 {
type Output = ::cpp_core::MutPtr<i64>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_data(
self as *mut crate::VectorOfI64,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfU64 {
type Output = ::cpp_core::MutPtr<u64>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_data(
self as *mut crate::VectorOfU64,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfUsize {
type Output = ::cpp_core::MutPtr<usize>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_data(
self as *mut crate::VectorOfUsize,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::DataMut for crate::VectorOfVoid {
type Output = ::cpp_core::MutPtr<*mut ::std::ffi::c_void>;
unsafe fn data_mut(&mut self) -> ::cpp_core::MutPtr<*mut ::std::ffi::c_void> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_void_ptr_std_allocator_void_ptr_data(
self as *mut crate::VectorOfVoid,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfChar {
type Output = ::cpp_core::Ptr<::std::os::raw::c_char>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_char> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_char_std_allocator_char_data1(
self as *const crate::VectorOfChar,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfSchar {
type Output = ::cpp_core::Ptr<::std::os::raw::c_schar>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_schar> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_signed_char_std_allocator_signed_char_data1(
self as *const crate::VectorOfSchar,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfUchar {
type Output = ::cpp_core::Ptr<::std::os::raw::c_uchar>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_uchar> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_char_std_allocator_unsigned_char_data1(self as *const crate::VectorOfUchar);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfWcharT {
type Output = ::cpp_core::Ptr<::cpp_core::wchar_t>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::wchar_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_wchar_t_std_allocator_wchar_t_data1(
self as *const crate::VectorOfWcharT,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfChar16T {
type Output = ::cpp_core::Ptr<::cpp_core::char16_t>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char16_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char16_t_std_allocator_char16_t_data1(
self as *const crate::VectorOfChar16T,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfChar32T {
type Output = ::cpp_core::Ptr<::cpp_core::char32_t>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::cpp_core::char32_t> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_char32_t_std_allocator_char32_t_data1(
self as *const crate::VectorOfChar32T,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfShort {
type Output = ::cpp_core::Ptr<::std::os::raw::c_short>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_short> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_short_std_allocator_short_data1(
self as *const crate::VectorOfShort,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfUshort {
type Output = ::cpp_core::Ptr<::std::os::raw::c_ushort>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ushort> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_short_std_allocator_unsigned_short_data1(self as *const crate::VectorOfUshort);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfInt {
type Output = ::cpp_core::Ptr<::std::os::raw::c_int>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_int> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int_std_allocator_int_data1(
self as *const crate::VectorOfInt,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfUint {
type Output = ::cpp_core::Ptr<::std::os::raw::c_uint>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_uint> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_int_std_allocator_unsigned_int_data1(
self as *const crate::VectorOfUint,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfLong {
type Output = ::cpp_core::Ptr<::std::os::raw::c_long>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_long> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_long_std_allocator_long_data1(
self as *const crate::VectorOfLong,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfUlong {
type Output = ::cpp_core::Ptr<::std::os::raw::c_ulong>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ulong> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_unsigned_long_std_allocator_unsigned_long_data1(self as *const crate::VectorOfUlong);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfLonglong {
type Output = ::cpp_core::Ptr<::std::os::raw::c_longlong>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_longlong> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_long_long_std_allocator_long_long_data1(
self as *const crate::VectorOfLonglong,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfUlonglong {
type Output = ::cpp_core::Ptr<::std::os::raw::c_ulonglong>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_ulonglong> {
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);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfFloat {
type Output = ::cpp_core::Ptr<::std::os::raw::c_float>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_float> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_float_std_allocator_float_data1(
self as *const crate::VectorOfFloat,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfDouble {
type Output = ::cpp_core::Ptr<::std::os::raw::c_double>;
unsafe fn data(&self) -> ::cpp_core::Ptr<::std::os::raw::c_double> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_double_std_allocator_double_data1(
self as *const crate::VectorOfDouble,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfI8 {
type Output = ::cpp_core::Ptr<i8>;
unsafe fn data(&self) -> ::cpp_core::Ptr<i8> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_int8_t_std_allocator_int8_t_data1(
self as *const crate::VectorOfI8,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfU8 {
type Output = ::cpp_core::Ptr<u8>;
unsafe fn data(&self) -> ::cpp_core::Ptr<u8> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint8_t_std_allocator_uint8_t_data1(
self as *const crate::VectorOfU8,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfI16 {
type Output = ::cpp_core::Ptr<i16>;
unsafe fn data(&self) -> ::cpp_core::Ptr<i16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int16_t_std_allocator_int16_t_data1(
self as *const crate::VectorOfI16,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfU16 {
type Output = ::cpp_core::Ptr<u16>;
unsafe fn data(&self) -> ::cpp_core::Ptr<u16> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint16_t_std_allocator_uint16_t_data1(
self as *const crate::VectorOfU16,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfI32 {
type Output = ::cpp_core::Ptr<i32>;
unsafe fn data(&self) -> ::cpp_core::Ptr<i32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int32_t_std_allocator_int32_t_data1(
self as *const crate::VectorOfI32,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfU32 {
type Output = ::cpp_core::Ptr<u32>;
unsafe fn data(&self) -> ::cpp_core::Ptr<u32> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint32_t_std_allocator_uint32_t_data1(
self as *const crate::VectorOfU32,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfI64 {
type Output = ::cpp_core::Ptr<i64>;
unsafe fn data(&self) -> ::cpp_core::Ptr<i64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_int64_t_std_allocator_int64_t_data1(
self as *const crate::VectorOfI64,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfU64 {
type Output = ::cpp_core::Ptr<u64>;
unsafe fn data(&self) -> ::cpp_core::Ptr<u64> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_std_vector_uint64_t_std_allocator_uint64_t_data1(
self as *const crate::VectorOfU64,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::cpp_core::vector_ops::Data for crate::VectorOfUsize {
type Output = ::cpp_core::Ptr<usize>;
unsafe fn data(&self) -> ::cpp_core::Ptr<usize> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_vector_size_t_std_allocator_size_t_data1(
self as *const crate::VectorOfUsize,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__103(
self as *const crate::VectorOfBool,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__104(
self as *const crate::VectorOfChar,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__105(
self as *const crate::VectorOfSchar,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__106(
self as *const crate::VectorOfUchar,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__107(
self as *const crate::VectorOfWcharT,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__108(
self as *const crate::VectorOfChar16T,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__109(
self as *const crate::VectorOfChar32T,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__110(
self as *const crate::VectorOfShort,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__111(
self as *const crate::VectorOfUshort,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__112(
self as *const crate::VectorOfInt,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__113(
self as *const crate::VectorOfUint,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__114(
self as *const crate::VectorOfLong,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__115(
self as *const crate::VectorOfUlong,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__116(
self as *const crate::VectorOfLonglong,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__117(
self as *const crate::VectorOfUlonglong,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__118(
self as *const crate::VectorOfFloat,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__119(
self as *const crate::VectorOfDouble,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__120(
self as *const crate::VectorOfI8,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__121(
self as *const crate::VectorOfU8,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__122(
self as *const crate::VectorOfI16,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__123(
self as *const crate::VectorOfU16,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__124(
self as *const crate::VectorOfI32,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__125(
self as *const crate::VectorOfU32,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__126(
self as *const crate::VectorOfI64,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__127(
self as *const crate::VectorOfU64,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__128(
self as *const crate::VectorOfUsize,
y.as_raw_ptr(),
)
}
}
}
impl ::std::cmp::PartialEq<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
fn eq(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
unsafe {
crate::__ffi::ctr_cpp_std_ffi_std_operator__129(
self as *const crate::VectorOfVoid,
y.as_raw_ptr(),
)
}
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_72(
self as *const crate::VectorOfBool,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_73(
self as *const crate::VectorOfChar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_74(
self as *const crate::VectorOfSchar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_75(
self as *const crate::VectorOfUchar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_76(
self as *const crate::VectorOfWcharT,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_77(
self as *const crate::VectorOfChar16T,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_78(
self as *const crate::VectorOfChar32T,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_79(
self as *const crate::VectorOfShort,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_80(
self as *const crate::VectorOfUshort,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_81(
self as *const crate::VectorOfInt,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_82(
self as *const crate::VectorOfUint,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_83(
self as *const crate::VectorOfLong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_84(
self as *const crate::VectorOfUlong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_85(
self as *const crate::VectorOfLonglong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_86(
self as *const crate::VectorOfUlonglong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_87(
self as *const crate::VectorOfFloat,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_88(
self as *const crate::VectorOfDouble,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_89(
self as *const crate::VectorOfI8,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_90(
self as *const crate::VectorOfU8,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_91(
self as *const crate::VectorOfI16,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_92(
self as *const crate::VectorOfU16,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_93(
self as *const crate::VectorOfI32,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_94(
self as *const crate::VectorOfU32,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_95(
self as *const crate::VectorOfI64,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_96(
self as *const crate::VectorOfU64,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_97(
self as *const crate::VectorOfUsize,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Lt<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
unsafe fn lt(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_98(
self as *const crate::VectorOfVoid,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_99(
self as *const crate::VectorOfBool,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_100(
self as *const crate::VectorOfChar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_101(
self as *const crate::VectorOfSchar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_102(
self as *const crate::VectorOfUchar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_103(
self as *const crate::VectorOfWcharT,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_104(
self as *const crate::VectorOfChar16T,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_105(
self as *const crate::VectorOfChar32T,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_106(
self as *const crate::VectorOfShort,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_107(
self as *const crate::VectorOfUshort,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_108(
self as *const crate::VectorOfInt,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_109(
self as *const crate::VectorOfUint,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_110(
self as *const crate::VectorOfLong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_111(
self as *const crate::VectorOfUlong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_112(
self as *const crate::VectorOfLonglong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_113(
self as *const crate::VectorOfUlonglong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_114(
self as *const crate::VectorOfFloat,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_115(
self as *const crate::VectorOfDouble,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_116(
self as *const crate::VectorOfI8,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_117(
self as *const crate::VectorOfU8,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_118(
self as *const crate::VectorOfI16,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_119(
self as *const crate::VectorOfU16,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_120(
self as *const crate::VectorOfI32,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_121(
self as *const crate::VectorOfU32,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_122(
self as *const crate::VectorOfI64,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_123(
self as *const crate::VectorOfU64,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_124(
self as *const crate::VectorOfUsize,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Gt<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
unsafe fn gt(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_125(
self as *const crate::VectorOfVoid,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__157(
self as *const crate::VectorOfBool,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__158(
self as *const crate::VectorOfChar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__159(
self as *const crate::VectorOfSchar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__160(
self as *const crate::VectorOfUchar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__161(
self as *const crate::VectorOfWcharT,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__162(
self as *const crate::VectorOfChar16T,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__163(
self as *const crate::VectorOfChar32T,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__164(
self as *const crate::VectorOfShort,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__165(
self as *const crate::VectorOfUshort,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__166(
self as *const crate::VectorOfInt,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__167(
self as *const crate::VectorOfUint,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__168(
self as *const crate::VectorOfLong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__169(
self as *const crate::VectorOfUlong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__170(
self as *const crate::VectorOfLonglong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__171(
self as *const crate::VectorOfUlonglong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__172(
self as *const crate::VectorOfFloat,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__173(
self as *const crate::VectorOfDouble,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__174(
self as *const crate::VectorOfI8,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__175(
self as *const crate::VectorOfU8,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__176(
self as *const crate::VectorOfI16,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__177(
self as *const crate::VectorOfU16,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__178(
self as *const crate::VectorOfI32,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__179(
self as *const crate::VectorOfU32,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__180(
self as *const crate::VectorOfI64,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__181(
self as *const crate::VectorOfU64,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__182(
self as *const crate::VectorOfUsize,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Le<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
unsafe fn le(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__183(
self as *const crate::VectorOfVoid,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfBool>> for crate::VectorOfBool {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfBool>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__184(
self as *const crate::VectorOfBool,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfChar>> for crate::VectorOfChar {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfChar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__185(
self as *const crate::VectorOfChar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfSchar>> for crate::VectorOfSchar {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfSchar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__186(
self as *const crate::VectorOfSchar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUchar>> for crate::VectorOfUchar {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUchar>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__187(
self as *const crate::VectorOfUchar,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfWcharT>> for crate::VectorOfWcharT {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfWcharT>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__188(
self as *const crate::VectorOfWcharT,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfChar16T>> for crate::VectorOfChar16T {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfChar16T>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__189(
self as *const crate::VectorOfChar16T,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfChar32T>> for crate::VectorOfChar32T {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfChar32T>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__190(
self as *const crate::VectorOfChar32T,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfShort>> for crate::VectorOfShort {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfShort>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__191(
self as *const crate::VectorOfShort,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUshort>> for crate::VectorOfUshort {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUshort>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__192(
self as *const crate::VectorOfUshort,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfInt>> for crate::VectorOfInt {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfInt>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__193(
self as *const crate::VectorOfInt,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUint>> for crate::VectorOfUint {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUint>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__194(
self as *const crate::VectorOfUint,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfLong>> for crate::VectorOfLong {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfLong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__195(
self as *const crate::VectorOfLong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUlong>> for crate::VectorOfUlong {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUlong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__196(
self as *const crate::VectorOfUlong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfLonglong>> for crate::VectorOfLonglong {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfLonglong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__197(
self as *const crate::VectorOfLonglong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUlonglong>> for crate::VectorOfUlonglong {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUlonglong>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__198(
self as *const crate::VectorOfUlonglong,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfFloat>> for crate::VectorOfFloat {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfFloat>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__199(
self as *const crate::VectorOfFloat,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfDouble>> for crate::VectorOfDouble {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfDouble>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__200(
self as *const crate::VectorOfDouble,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfI8>> for crate::VectorOfI8 {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfI8>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__201(
self as *const crate::VectorOfI8,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfU8>> for crate::VectorOfU8 {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfU8>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__202(
self as *const crate::VectorOfU8,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfI16>> for crate::VectorOfI16 {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfI16>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__203(
self as *const crate::VectorOfI16,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfU16>> for crate::VectorOfU16 {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfU16>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__204(
self as *const crate::VectorOfU16,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfI32>> for crate::VectorOfI32 {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfI32>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__205(
self as *const crate::VectorOfI32,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfU32>> for crate::VectorOfU32 {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfU32>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__206(
self as *const crate::VectorOfU32,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfI64>> for crate::VectorOfI64 {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfI64>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__207(
self as *const crate::VectorOfI64,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfU64>> for crate::VectorOfU64 {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfU64>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__208(
self as *const crate::VectorOfU64,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfUsize>> for crate::VectorOfUsize {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfUsize>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__209(
self as *const crate::VectorOfUsize,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::cmp::Ge<::cpp_core::Ref<crate::VectorOfVoid>> for crate::VectorOfVoid {
unsafe fn ge(&self, y: &::cpp_core::Ref<crate::VectorOfVoid>) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__210(
self as *const crate::VectorOfVoid,
y.as_raw_ptr(),
)
}
}
impl ::cpp_core::CppDeletable for crate::IteratorOfOutputIteratorTag {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_iterator_std_output_iterator_tag_void_void_void_void_diterator(self as *mut crate::IteratorOfOutputIteratorTag)
}
}
impl ::cpp_core::CppDeletable for crate::CharTraitsOfChar {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char_dchar_traits(
self as *mut crate::CharTraitsOfChar,
)
}
}
impl ::cpp_core::CppDeletable for crate::CharTraitsOfWcharT {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_char_traits_wchar_t_dchar_traits(
self as *mut crate::CharTraitsOfWcharT,
)
}
}
impl ::cpp_core::CppDeletable for crate::CharTraitsOfChar16T {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char16_t_dchar_traits(
self as *mut crate::CharTraitsOfChar16T,
)
}
}
impl ::cpp_core::CppDeletable for crate::CharTraitsOfChar32T {
unsafe fn delete(&mut self) {
crate::__ffi::ctr_cpp_std_ffi_std_char_traits_char32_t_dchar_traits(
self as *mut crate::CharTraitsOfChar32T,
)
}
}
impl ::cpp_core::StaticDowncast<crate::ForwardIteratorTag> for crate::InputIteratorTag {
unsafe fn static_downcast(
ptr: ::cpp_core::Ptr<crate::InputIteratorTag>,
) -> ::cpp_core::Ptr<crate::ForwardIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr(
ptr.as_raw_ptr() as *mut crate::InputIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_downcast_mut(
ptr: ::cpp_core::MutPtr<crate::InputIteratorTag>,
) -> ::cpp_core::MutPtr<crate::ForwardIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::StaticUpcast<crate::InputIteratorTag> for crate::ForwardIteratorTag {
unsafe fn static_upcast(
ptr: ::cpp_core::Ptr<crate::ForwardIteratorTag>,
) -> ::cpp_core::Ptr<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr(
ptr.as_raw_ptr() as *mut crate::ForwardIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_upcast_mut(
ptr: ::cpp_core::MutPtr<crate::ForwardIteratorTag>,
) -> ::cpp_core::MutPtr<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::std::ops::Deref for crate::ForwardIteratorTag {
type Target = crate::InputIteratorTag;
fn deref(&self) -> &crate::InputIteratorTag {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr(
self as *const crate::ForwardIteratorTag as *mut crate::ForwardIteratorTag,
)
};
unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
}
}
impl ::std::ops::DerefMut for crate::ForwardIteratorTag {
fn deref_mut(&mut self) -> &mut crate::InputIteratorTag {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr(
self as *mut crate::ForwardIteratorTag,
)
};
unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
}
}
impl ::cpp_core::StaticDowncast<crate::BidirectionalIteratorTag> for crate::ForwardIteratorTag {
unsafe fn static_downcast(
ptr: ::cpp_core::Ptr<crate::ForwardIteratorTag>,
) -> ::cpp_core::Ptr<crate::BidirectionalIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr(
ptr.as_raw_ptr() as *mut crate::ForwardIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_downcast_mut(
ptr: ::cpp_core::MutPtr<crate::ForwardIteratorTag>,
) -> ::cpp_core::MutPtr<crate::BidirectionalIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::StaticUpcast<crate::ForwardIteratorTag> for crate::BidirectionalIteratorTag {
unsafe fn static_upcast(
ptr: ::cpp_core::Ptr<crate::BidirectionalIteratorTag>,
) -> ::cpp_core::Ptr<crate::ForwardIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr1(
ptr.as_raw_ptr() as *mut crate::BidirectionalIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_upcast_mut(
ptr: ::cpp_core::MutPtr<crate::BidirectionalIteratorTag>,
) -> ::cpp_core::MutPtr<crate::ForwardIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr1(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::std::ops::Deref for crate::BidirectionalIteratorTag {
type Target = crate::ForwardIteratorTag;
fn deref(&self) -> &crate::ForwardIteratorTag {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr1(
self as *const crate::BidirectionalIteratorTag
as *mut crate::BidirectionalIteratorTag,
)
};
unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
}
}
impl ::std::ops::DerefMut for crate::BidirectionalIteratorTag {
fn deref_mut(&mut self) -> &mut crate::ForwardIteratorTag {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr1(
self as *mut crate::BidirectionalIteratorTag,
)
};
unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
}
}
impl ::cpp_core::StaticDowncast<crate::BidirectionalIteratorTag> for crate::InputIteratorTag {
unsafe fn static_downcast(
ptr: ::cpp_core::Ptr<crate::InputIteratorTag>,
) -> ::cpp_core::Ptr<crate::BidirectionalIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr1(
ptr.as_raw_ptr() as *mut crate::InputIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_downcast_mut(
ptr: ::cpp_core::MutPtr<crate::InputIteratorTag>,
) -> ::cpp_core::MutPtr<crate::BidirectionalIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr1(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::StaticUpcast<crate::InputIteratorTag> for crate::BidirectionalIteratorTag {
unsafe fn static_upcast(
ptr: ::cpp_core::Ptr<crate::BidirectionalIteratorTag>,
) -> ::cpp_core::Ptr<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr1(
ptr.as_raw_ptr() as *mut crate::BidirectionalIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_upcast_mut(
ptr: ::cpp_core::MutPtr<crate::BidirectionalIteratorTag>,
) -> ::cpp_core::MutPtr<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr1(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::StaticDowncast<crate::RandomAccessIteratorTag>
for crate::BidirectionalIteratorTag
{
unsafe fn static_downcast(
ptr: ::cpp_core::Ptr<crate::BidirectionalIteratorTag>,
) -> ::cpp_core::Ptr<crate::RandomAccessIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr(
ptr.as_raw_ptr() as *mut crate::BidirectionalIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_downcast_mut(
ptr: ::cpp_core::MutPtr<crate::BidirectionalIteratorTag>,
) -> ::cpp_core::MutPtr<crate::RandomAccessIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::StaticUpcast<crate::BidirectionalIteratorTag> for crate::RandomAccessIteratorTag {
unsafe fn static_upcast(
ptr: ::cpp_core::Ptr<crate::RandomAccessIteratorTag>,
) -> ::cpp_core::Ptr<crate::BidirectionalIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr2(
ptr.as_raw_ptr() as *mut crate::RandomAccessIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_upcast_mut(
ptr: ::cpp_core::MutPtr<crate::RandomAccessIteratorTag>,
) -> ::cpp_core::MutPtr<crate::BidirectionalIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr2(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::std::ops::Deref for crate::RandomAccessIteratorTag {
type Target = crate::BidirectionalIteratorTag;
fn deref(&self) -> &crate::BidirectionalIteratorTag {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr2(
self as *const crate::RandomAccessIteratorTag
as *mut crate::RandomAccessIteratorTag,
)
};
unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
}
}
impl ::std::ops::DerefMut for crate::RandomAccessIteratorTag {
fn deref_mut(&mut self) -> &mut crate::BidirectionalIteratorTag {
let ffi_result = unsafe {
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_bidirectional_iterator_tag_ptr2(
self as *mut crate::RandomAccessIteratorTag,
)
};
unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
}
}
impl ::cpp_core::StaticDowncast<crate::RandomAccessIteratorTag> for crate::ForwardIteratorTag {
unsafe fn static_downcast(
ptr: ::cpp_core::Ptr<crate::ForwardIteratorTag>,
) -> ::cpp_core::Ptr<crate::RandomAccessIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr1(
ptr.as_raw_ptr() as *mut crate::ForwardIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_downcast_mut(
ptr: ::cpp_core::MutPtr<crate::ForwardIteratorTag>,
) -> ::cpp_core::MutPtr<crate::RandomAccessIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr1(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::StaticUpcast<crate::ForwardIteratorTag> for crate::RandomAccessIteratorTag {
unsafe fn static_upcast(
ptr: ::cpp_core::Ptr<crate::RandomAccessIteratorTag>,
) -> ::cpp_core::Ptr<crate::ForwardIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr2(
ptr.as_raw_ptr() as *mut crate::RandomAccessIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_upcast_mut(
ptr: ::cpp_core::MutPtr<crate::RandomAccessIteratorTag>,
) -> ::cpp_core::MutPtr<crate::ForwardIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_forward_iterator_tag_ptr2(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::StaticDowncast<crate::RandomAccessIteratorTag> for crate::InputIteratorTag {
unsafe fn static_downcast(
ptr: ::cpp_core::Ptr<crate::InputIteratorTag>,
) -> ::cpp_core::Ptr<crate::RandomAccessIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr2(
ptr.as_raw_ptr() as *mut crate::InputIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_downcast_mut(
ptr: ::cpp_core::MutPtr<crate::InputIteratorTag>,
) -> ::cpp_core::MutPtr<crate::RandomAccessIteratorTag> {
let ffi_result =
crate::__ffi::ctr_cpp_std_ffi_static_cast_std_random_access_iterator_tag_ptr2(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
impl ::cpp_core::StaticUpcast<crate::InputIteratorTag> for crate::RandomAccessIteratorTag {
unsafe fn static_upcast(
ptr: ::cpp_core::Ptr<crate::RandomAccessIteratorTag>,
) -> ::cpp_core::Ptr<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr2(
ptr.as_raw_ptr() as *mut crate::RandomAccessIteratorTag,
);
::cpp_core::Ptr::from_raw(ffi_result)
}
unsafe fn static_upcast_mut(
ptr: ::cpp_core::MutPtr<crate::RandomAccessIteratorTag>,
) -> ::cpp_core::MutPtr<crate::InputIteratorTag> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_static_cast_std_input_iterator_tag_ptr2(
ptr.as_mut_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
}
pub unsafe fn add_char_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_4(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn add_wchar_t_w_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_5(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn add_char16_t_u16_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::cpp_core::CppBox<crate::U16String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_6(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn add_char32_t_u32_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::cpp_core::CppBox<crate::U32String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_7(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn add_char_string2(
lhs: ::std::os::raw::c_char,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_8(
lhs,
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn add_wchar_t_w_string2(
lhs: ::cpp_core::wchar_t,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_9(
lhs,
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn add_char16_t_u16_string2(
lhs: ::cpp_core::char16_t,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> ::cpp_core::CppBox<crate::U16String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_10(
lhs,
::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn add_char32_t_u32_string2(
lhs: ::cpp_core::char32_t,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> ::cpp_core::CppBox<crate::U32String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_operator_11(
lhs,
::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn eq_char_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__59(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn eq_wchar_t_w_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__60(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn eq_char16_t_u16_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__61(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn eq_char32_t_u32_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__62(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn ge_char_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__99(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn ge_wchar_t_w_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__100(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn ge_char16_t_u16_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__101(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn ge_char32_t_u32_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__102(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn gt_char_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_68(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn gt_wchar_t_w_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_69(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn gt_char16_t_u16_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_70(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn gt_char32_t_u32_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_71(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn le_char_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__87(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn le_wchar_t_w_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__88(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn le_char16_t_u16_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__89(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn le_char32_t_u32_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator__90(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn lt_char_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::std::os::raw::c_char>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_56(
::cpp_core::CastInto::<::cpp_core::Ptr<::std::os::raw::c_char>>::cast_into(lhs)
.as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn lt_wchar_t_w_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_57(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn lt_char16_t_u16_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char16_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U16String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_58(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char16_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U16String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn lt_char32_t_u32_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::char32_t>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::U32String>>,
) -> bool {
crate::__ffi::ctr_cpp_std_ffi_std_operator_59(
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::char32_t>>::cast_into(lhs).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ref<crate::U32String>>::cast_into(rhs).as_raw_ptr(),
)
}
pub unsafe fn stod_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_double {
crate::__ffi::ctr_cpp_std_ffi_std_stod(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stod_w_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_double {
crate::__ffi::ctr_cpp_std_ffi_std_stod1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stod_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_double {
crate::__ffi::ctr_cpp_std_ffi_std_stod2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stod_w_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_double {
crate::__ffi::ctr_cpp_std_ffi_std_stod3(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stof_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_float {
crate::__ffi::ctr_cpp_std_ffi_std_stof(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stof_w_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_float {
crate::__ffi::ctr_cpp_std_ffi_std_stof1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stof_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_float {
crate::__ffi::ctr_cpp_std_ffi_std_stof2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stof_w_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_float {
crate::__ffi::ctr_cpp_std_ffi_std_stof3(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stoi_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int {
crate::__ffi::ctr_cpp_std_ffi_std_stoi(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stoi_w_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int {
crate::__ffi::ctr_cpp_std_ffi_std_stoi1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stoi_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_int {
crate::__ffi::ctr_cpp_std_ffi_std_stoi2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stoi_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_int {
crate::__ffi::ctr_cpp_std_ffi_std_stoi3(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stoi_w_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_int {
crate::__ffi::ctr_cpp_std_ffi_std_stoi4(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stoi_w_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_int {
crate::__ffi::ctr_cpp_std_ffi_std_stoi5(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stol_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_long {
crate::__ffi::ctr_cpp_std_ffi_std_stol(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stol_w_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_long {
crate::__ffi::ctr_cpp_std_ffi_std_stol1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stol_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_long {
crate::__ffi::ctr_cpp_std_ffi_std_stol2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stol_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_long {
crate::__ffi::ctr_cpp_std_ffi_std_stol3(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stol_w_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_long {
crate::__ffi::ctr_cpp_std_ffi_std_stol4(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stol_w_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_long {
crate::__ffi::ctr_cpp_std_ffi_std_stol5(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stoll_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_longlong {
crate::__ffi::ctr_cpp_std_ffi_std_stoll(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stoll_w_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_longlong {
crate::__ffi::ctr_cpp_std_ffi_std_stoll1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stoll_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_longlong {
crate::__ffi::ctr_cpp_std_ffi_std_stoll2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stoll_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_longlong {
crate::__ffi::ctr_cpp_std_ffi_std_stoll3(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stoll_w_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_longlong {
crate::__ffi::ctr_cpp_std_ffi_std_stoll4(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stoll_w_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_longlong {
crate::__ffi::ctr_cpp_std_ffi_std_stoll5(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stoul_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulong {
crate::__ffi::ctr_cpp_std_ffi_std_stoul(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stoul_w_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulong {
crate::__ffi::ctr_cpp_std_ffi_std_stoul1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stoul_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_ulong {
crate::__ffi::ctr_cpp_std_ffi_std_stoul2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stoul_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_ulong {
crate::__ffi::ctr_cpp_std_ffi_std_stoul3(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stoul_w_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_ulong {
crate::__ffi::ctr_cpp_std_ffi_std_stoul4(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stoul_w_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_ulong {
crate::__ffi::ctr_cpp_std_ffi_std_stoul5(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stoull_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulonglong {
crate::__ffi::ctr_cpp_std_ffi_std_stoull(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stoull_w_string_usize_int(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_ulonglong {
crate::__ffi::ctr_cpp_std_ffi_std_stoull1(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
base,
)
}
pub unsafe fn stoull_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_ulonglong {
crate::__ffi::ctr_cpp_std_ffi_std_stoull2(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stoull_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::String>>,
) -> ::std::os::raw::c_ulonglong {
crate::__ffi::ctr_cpp_std_ffi_std_stoull3(
::cpp_core::CastInto::<::cpp_core::Ref<crate::String>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn stoull_w_string_usize(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
idx: impl ::cpp_core::CastInto<::cpp_core::MutPtr<usize>>,
) -> ::std::os::raw::c_ulonglong {
crate::__ffi::ctr_cpp_std_ffi_std_stoull4(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutPtr<usize>>::cast_into(idx).as_mut_raw_ptr(),
)
}
pub unsafe fn stoull_w_string(
str: impl ::cpp_core::CastInto<::cpp_core::Ref<crate::WString>>,
) -> ::std::os::raw::c_ulonglong {
crate::__ffi::ctr_cpp_std_ffi_std_stoull5(
::cpp_core::CastInto::<::cpp_core::Ref<crate::WString>>::cast_into(str).as_raw_ptr(),
)
}
pub unsafe fn swap_2_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::String>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::String>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::String>>::cast_into(lhs).as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::String>>::cast_into(rhs).as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_w_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::WString>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::WString>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap1(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::WString>>::cast_into(lhs).as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::WString>>::cast_into(rhs).as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_u16_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U16String>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U16String>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap2(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::U16String>>::cast_into(lhs)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::U16String>>::cast_into(rhs)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_u32_string(
lhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U32String>>,
rhs: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::U32String>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap3(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::U32String>>::cast_into(lhs)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::U32String>>::cast_into(rhs)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_bool(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfBool>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfBool>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap4(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfBool>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfBool>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_char(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap5(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_schar(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfSchar>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfSchar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap6(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfSchar>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfSchar>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_uchar(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUchar>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUchar>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap7(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUchar>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUchar>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_wchar_t(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfWcharT>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfWcharT>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap8(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfWcharT>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfWcharT>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_char16_t(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar16T>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar16T>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap9(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar16T>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar16T>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_char32_t(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar32T>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfChar32T>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap10(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar32T>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfChar32T>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_short(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfShort>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfShort>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap11(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfShort>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfShort>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_ushort(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUshort>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUshort>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap12(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUshort>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUshort>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_int(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfInt>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfInt>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap13(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfInt>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfInt>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_uint(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUint>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUint>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap14(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUint>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUint>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_long(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLong>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap15(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLong>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLong>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_ulong(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlong>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap16(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlong>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlong>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_longlong(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLonglong>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfLonglong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap17(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLonglong>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfLonglong>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_ulonglong(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlonglong>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUlonglong>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap18(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlonglong>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUlonglong>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_float(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfFloat>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfFloat>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap19(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfFloat>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfFloat>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_double(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfDouble>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfDouble>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap20(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfDouble>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfDouble>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_i8(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI8>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap21(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI8>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI8>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_u8(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU8>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU8>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap22(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU8>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU8>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_i16(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI16>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap23(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI16>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI16>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_u16(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU16>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU16>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap24(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU16>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU16>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_i32(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI32>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap25(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI32>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI32>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_u32(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU32>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU32>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap26(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU32>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU32>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_i64(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI64>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfI64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap27(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI64>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfI64>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_u64(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU64>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfU64>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap28(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU64>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfU64>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_usize(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUsize>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfUsize>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap29(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUsize>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfUsize>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn swap_2_vector_of_void(
x: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfVoid>>,
y: impl ::cpp_core::CastInto<::cpp_core::MutRef<crate::VectorOfVoid>>,
) {
crate::__ffi::ctr_cpp_std_ffi_std_swap30(
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfVoid>>::cast_into(x)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::MutRef<crate::VectorOfVoid>>::cast_into(y)
.as_mut_raw_ptr(),
)
}
pub unsafe fn to_string_int(val: ::std::os::raw::c_int) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_string_uint(val: ::std::os::raw::c_uint) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string1(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_string_long(val: ::std::os::raw::c_long) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string2(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_string_ulong(val: ::std::os::raw::c_ulong) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string3(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_string_longlong(
val: ::std::os::raw::c_longlong,
) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string4(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_string_ulonglong(
val: ::std::os::raw::c_ulonglong,
) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string5(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_string_float(val: ::std::os::raw::c_float) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string6(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_string_double(val: ::std::os::raw::c_double) -> ::cpp_core::CppBox<crate::String> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_string7(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_wstring_int(val: ::std::os::raw::c_int) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_wstring_uint(val: ::std::os::raw::c_uint) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring1(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_wstring_long(val: ::std::os::raw::c_long) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring2(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_wstring_ulong(val: ::std::os::raw::c_ulong) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring3(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_wstring_longlong(
val: ::std::os::raw::c_longlong,
) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring4(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_wstring_ulonglong(
val: ::std::os::raw::c_ulonglong,
) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring5(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_wstring_float(val: ::std::os::raw::c_float) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring6(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn to_wstring_double(
val: ::std::os::raw::c_double,
) -> ::cpp_core::CppBox<crate::WString> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_to_wstring7(val);
::cpp_core::CppBox::from_raw(ffi_result).expect("attempted to construct a null CppBox")
}
pub unsafe fn wcschr(
p: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
c: ::cpp_core::wchar_t,
) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wcschr(
::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(p)
.as_mut_raw_ptr(),
c,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn wcspbrk(
s1: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
s2: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wcspbrk(
::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(s1)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s2).as_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn wcsrchr(
p: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
c: ::cpp_core::wchar_t,
) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wcsrchr(
::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(p)
.as_mut_raw_ptr(),
c,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn wcsstr(
s1: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
s2: impl ::cpp_core::CastInto<::cpp_core::Ptr<::cpp_core::wchar_t>>,
) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wcsstr(
::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(s1)
.as_mut_raw_ptr(),
::cpp_core::CastInto::<::cpp_core::Ptr<::cpp_core::wchar_t>>::cast_into(s2).as_raw_ptr(),
);
::cpp_core::MutPtr::from_raw(ffi_result)
}
pub unsafe fn wmemchr(
p: impl ::cpp_core::CastInto<::cpp_core::MutPtr<::cpp_core::wchar_t>>,
c: ::cpp_core::wchar_t,
n: usize,
) -> ::cpp_core::MutPtr<::cpp_core::wchar_t> {
let ffi_result = crate::__ffi::ctr_cpp_std_ffi_std_wmemchr(
::cpp_core::CastInto::<::cpp_core::MutPtr<::cpp_core::wchar_t>>::cast_into(p)
.as_mut_raw_ptr(),
c,
n,
);
::cpp_core::MutPtr::from_raw(ffi_result)
}