#[repr(C)]pub struct VectorOfUint { /* private fields */ }
Expand description
C++ class: std::vector<unsigned int, std::allocator<unsigned int>>
.
Implementations§
Source§impl VectorOfUint
impl VectorOfUint
Sourcepub unsafe fn assign_usize_uint(
&mut self,
n: usize,
val: impl CastInto<Ref<c_uint>>,
)
pub unsafe fn assign_usize_uint( &mut self, n: usize, val: impl CastInto<Ref<c_uint>>, )
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::assign(size_t __n, const unsigned int& __val)
.
Sourcepub unsafe fn assign_2_uint(
&mut self,
first: impl CastInto<Ptr<c_uint>>,
last: impl CastInto<Ptr<c_uint>>,
)
pub unsafe fn assign_2_uint( &mut self, first: impl CastInto<Ptr<c_uint>>, last: impl CastInto<Ptr<c_uint>>, )
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::assign(const unsigned int* first, const unsigned int* last)
.
Sourcepub unsafe fn at_mut(&mut self, n: usize) -> MutRef<c_uint>
pub unsafe fn at_mut(&mut self, n: usize) -> MutRef<c_uint>
Calls C++ function: unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::at(size_t __n)
.
Sourcepub unsafe fn at(&self, n: usize) -> Ref<c_uint>
pub unsafe fn at(&self, n: usize) -> Ref<c_uint>
Calls C++ function: const unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::at(size_t __n) const
.
Sourcepub unsafe fn back_mut(&mut self) -> MutRef<c_uint>
pub unsafe fn back_mut(&mut self) -> MutRef<c_uint>
Calls C++ function: unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::back()
.
Sourcepub unsafe fn back(&self) -> Ref<c_uint>
pub unsafe fn back(&self) -> Ref<c_uint>
Calls C++ function: const unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::back() const
.
Sourcepub unsafe fn capacity(&self) -> usize
pub unsafe fn capacity(&self) -> usize
Calls C++ function: size_t std::vector<unsigned int, std::allocator<unsigned int>>::capacity() const
.
Sourcepub unsafe fn clear(&mut self)
pub unsafe fn clear(&mut self)
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::clear()
.
Sourcepub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<VectorOfUint>>,
) -> MutRef<VectorOfUint>
pub unsafe fn copy_from( &mut self, other: impl CastInto<Ref<VectorOfUint>>, ) -> MutRef<VectorOfUint>
Calls C++ function: std::vector<unsigned int, std::allocator<unsigned int>>& std::vector<unsigned int, std::allocator<unsigned int>>::operator=(const std::vector<unsigned int, std::allocator<unsigned int>>& other)
.
Sourcepub unsafe fn data_mut(&mut self) -> MutPtr<c_uint>
pub unsafe fn data_mut(&mut self) -> MutPtr<c_uint>
Calls C++ function: unsigned int* std::vector<unsigned int, std::allocator<unsigned int>>::data()
.
Sourcepub unsafe fn data(&self) -> Ptr<c_uint>
pub unsafe fn data(&self) -> Ptr<c_uint>
Calls C++ function: const unsigned int* std::vector<unsigned int, std::allocator<unsigned int>>::data() const
.
Sourcepub unsafe fn empty(&self) -> bool
pub unsafe fn empty(&self) -> bool
Calls C++ function: bool std::vector<unsigned int, std::allocator<unsigned int>>::empty() const
.
Sourcepub unsafe fn front_mut(&mut self) -> MutRef<c_uint>
pub unsafe fn front_mut(&mut self) -> MutRef<c_uint>
Calls C++ function: unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::front()
.
Sourcepub unsafe fn front(&self) -> Ref<c_uint>
pub unsafe fn front(&self) -> Ref<c_uint>
Calls C++ function: const unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::front() const
.
Sourcepub unsafe fn index_mut(&mut self, n: usize) -> MutRef<c_uint>
pub unsafe fn index_mut(&mut self, n: usize) -> MutRef<c_uint>
Calls C++ function: unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::operator[](size_t __n)
.
Sourcepub unsafe fn index(&self, n: usize) -> Ref<c_uint>
pub unsafe fn index(&self, n: usize) -> Ref<c_uint>
Calls C++ function: const unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::operator[](size_t __n) const
.
Sourcepub unsafe fn max_size(&self) -> usize
pub unsafe fn max_size(&self) -> usize
Calls C++ function: size_t std::vector<unsigned int, std::allocator<unsigned int>>::max_size() const
.
Sourcepub unsafe fn new() -> CppBox<VectorOfUint>
pub unsafe fn new() -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector()
.
Sourcepub unsafe fn from_allocator_of_uint(
a: impl CastInto<Ref<AllocatorOfUint>>,
) -> CppBox<VectorOfUint>
pub unsafe fn from_allocator_of_uint( a: impl CastInto<Ref<AllocatorOfUint>>, ) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(const std::allocator<unsigned int>& __a)
.
Sourcepub unsafe fn from_usize_allocator_of_uint(
n: usize,
a: impl CastInto<Ref<AllocatorOfUint>>,
) -> CppBox<VectorOfUint>
pub unsafe fn from_usize_allocator_of_uint( n: usize, a: impl CastInto<Ref<AllocatorOfUint>>, ) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(size_t __n, const std::allocator<unsigned int>& __a = …)
.
Sourcepub unsafe fn from_usize_uint_allocator_of_uint(
n: usize,
value: impl CastInto<Ref<c_uint>>,
a: impl CastInto<Ref<AllocatorOfUint>>,
) -> CppBox<VectorOfUint>
pub unsafe fn from_usize_uint_allocator_of_uint( n: usize, value: impl CastInto<Ref<c_uint>>, a: impl CastInto<Ref<AllocatorOfUint>>, ) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(size_t __n, const unsigned int& __value, const std::allocator<unsigned int>& __a = …)
.
Sourcepub unsafe fn from_vector_of_uint_allocator_of_uint(
x: impl CastInto<Ref<VectorOfUint>>,
a: impl CastInto<Ref<AllocatorOfUint>>,
) -> CppBox<VectorOfUint>
pub unsafe fn from_vector_of_uint_allocator_of_uint( x: impl CastInto<Ref<VectorOfUint>>, a: impl CastInto<Ref<AllocatorOfUint>>, ) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(const std::vector<unsigned int, std::allocator<unsigned int>>& __x, const std::allocator<unsigned int>& __a)
.
Sourcepub unsafe fn from_2_uint_allocator_of_uint(
first: impl CastInto<Ptr<c_uint>>,
last: impl CastInto<Ptr<c_uint>>,
alloc: impl CastInto<Ref<AllocatorOfUint>>,
) -> CppBox<VectorOfUint>
pub unsafe fn from_2_uint_allocator_of_uint( first: impl CastInto<Ptr<c_uint>>, last: impl CastInto<Ptr<c_uint>>, alloc: impl CastInto<Ref<AllocatorOfUint>>, ) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(const unsigned int* first, const unsigned int* last, std::allocator<unsigned int> alloc = …)
.
Sourcepub unsafe fn from_usize(n: usize) -> CppBox<VectorOfUint>
pub unsafe fn from_usize(n: usize) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(size_t __n)
.
Sourcepub unsafe fn from_usize_uint(
n: usize,
value: impl CastInto<Ref<c_uint>>,
) -> CppBox<VectorOfUint>
pub unsafe fn from_usize_uint( n: usize, value: impl CastInto<Ref<c_uint>>, ) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(size_t __n, const unsigned int& __value)
.
Sourcepub unsafe fn from_2_uint(
first: impl CastInto<Ptr<c_uint>>,
last: impl CastInto<Ptr<c_uint>>,
) -> CppBox<VectorOfUint>
pub unsafe fn from_2_uint( first: impl CastInto<Ptr<c_uint>>, last: impl CastInto<Ptr<c_uint>>, ) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(const unsigned int* first, const unsigned int* last)
.
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<VectorOfUint>>,
) -> CppBox<VectorOfUint>
pub unsafe fn new_copy( other: impl CastInto<Ref<VectorOfUint>>, ) -> CppBox<VectorOfUint>
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(const std::vector<unsigned int, std::allocator<unsigned int>>& other)
.
Sourcepub unsafe fn pop_back(&mut self)
pub unsafe fn pop_back(&mut self)
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::pop_back()
.
Sourcepub unsafe fn push_back(&mut self, x: impl CastInto<Ref<c_uint>>)
pub unsafe fn push_back(&mut self, x: impl CastInto<Ref<c_uint>>)
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::push_back(const unsigned int& __x)
.
Sourcepub unsafe fn reserve(&mut self, n: usize)
pub unsafe fn reserve(&mut self, n: usize)
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::reserve(size_t __n)
.
Sourcepub unsafe fn resize_1a(&mut self, new_size: usize)
pub unsafe fn resize_1a(&mut self, new_size: usize)
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::resize(size_t __new_size)
.
Sourcepub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl CastInto<Ref<c_uint>>,
)
pub unsafe fn resize_2a( &mut self, new_size: usize, x: impl CastInto<Ref<c_uint>>, )
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::resize(size_t __new_size, const unsigned int& __x)
.
Sourcepub unsafe fn shrink_to_fit(&mut self)
pub unsafe fn shrink_to_fit(&mut self)
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::shrink_to_fit()
.
Sourcepub unsafe fn size(&self) -> usize
pub unsafe fn size(&self) -> usize
Calls C++ function: size_t std::vector<unsigned int, std::allocator<unsigned int>>::size() const
.
Sourcepub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfUint>>)
pub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfUint>>)
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::swap(std::vector<unsigned int, std::allocator<unsigned int>>& __x)
.