#[repr(C)]pub struct VectorOfI32 { /* private fields */ }Expand description
C++ class: std::vector<int32_t, std::allocator<int32_t>>.
Implementations§
Source§impl VectorOfI32
 
impl VectorOfI32
Sourcepub unsafe fn assign_usize_i32(
    &mut self,
    n: usize,
    val: impl CastInto<Ref<i32>>,
)
 
pub unsafe fn assign_usize_i32( &mut self, n: usize, val: impl CastInto<Ref<i32>>, )
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::assign(size_t __n, const int32_t& __val).
Sourcepub unsafe fn assign_2_i32(
    &mut self,
    first: impl CastInto<Ptr<i32>>,
    last: impl CastInto<Ptr<i32>>,
)
 
pub unsafe fn assign_2_i32( &mut self, first: impl CastInto<Ptr<i32>>, last: impl CastInto<Ptr<i32>>, )
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::assign(const int32_t* first, const int32_t* last).
Sourcepub unsafe fn at_mut(&mut self, n: usize) -> MutRef<i32>
 
pub unsafe fn at_mut(&mut self, n: usize) -> MutRef<i32>
Calls C++ function: int32_t& std::vector<int32_t, std::allocator<int32_t>>::at(size_t __n).
Sourcepub unsafe fn at(&self, n: usize) -> Ref<i32>
 
pub unsafe fn at(&self, n: usize) -> Ref<i32>
Calls C++ function: const int32_t& std::vector<int32_t, std::allocator<int32_t>>::at(size_t __n) const.
Sourcepub unsafe fn back_mut(&mut self) -> MutRef<i32>
 
pub unsafe fn back_mut(&mut self) -> MutRef<i32>
Calls C++ function: int32_t& std::vector<int32_t, std::allocator<int32_t>>::back().
Sourcepub unsafe fn back(&self) -> Ref<i32>
 
pub unsafe fn back(&self) -> Ref<i32>
Calls C++ function: const int32_t& std::vector<int32_t, std::allocator<int32_t>>::back() const.
Sourcepub unsafe fn capacity(&self) -> usize
 
pub unsafe fn capacity(&self) -> usize
Calls C++ function: size_t std::vector<int32_t, std::allocator<int32_t>>::capacity() const.
Sourcepub unsafe fn clear(&mut self)
 
pub unsafe fn clear(&mut self)
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::clear().
Sourcepub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<VectorOfI32>>,
) -> MutRef<VectorOfI32>
 
pub unsafe fn copy_from( &mut self, other: impl CastInto<Ref<VectorOfI32>>, ) -> MutRef<VectorOfI32>
Calls C++ function: std::vector<int32_t, std::allocator<int32_t>>& std::vector<int32_t, std::allocator<int32_t>>::operator=(const std::vector<int32_t, std::allocator<int32_t>>& other).
Sourcepub unsafe fn data_mut(&mut self) -> MutPtr<i32>
 
pub unsafe fn data_mut(&mut self) -> MutPtr<i32>
Calls C++ function: int32_t* std::vector<int32_t, std::allocator<int32_t>>::data().
Sourcepub unsafe fn data(&self) -> Ptr<i32>
 
pub unsafe fn data(&self) -> Ptr<i32>
Calls C++ function: const int32_t* std::vector<int32_t, std::allocator<int32_t>>::data() const.
Sourcepub unsafe fn empty(&self) -> bool
 
pub unsafe fn empty(&self) -> bool
Calls C++ function: bool std::vector<int32_t, std::allocator<int32_t>>::empty() const.
Sourcepub unsafe fn front_mut(&mut self) -> MutRef<i32>
 
pub unsafe fn front_mut(&mut self) -> MutRef<i32>
Calls C++ function: int32_t& std::vector<int32_t, std::allocator<int32_t>>::front().
Sourcepub unsafe fn front(&self) -> Ref<i32>
 
pub unsafe fn front(&self) -> Ref<i32>
Calls C++ function: const int32_t& std::vector<int32_t, std::allocator<int32_t>>::front() const.
Sourcepub unsafe fn index_mut(&mut self, n: usize) -> MutRef<i32>
 
pub unsafe fn index_mut(&mut self, n: usize) -> MutRef<i32>
Calls C++ function: int32_t& std::vector<int32_t, std::allocator<int32_t>>::operator[](size_t __n).
Sourcepub unsafe fn index(&self, n: usize) -> Ref<i32>
 
pub unsafe fn index(&self, n: usize) -> Ref<i32>
Calls C++ function: const int32_t& std::vector<int32_t, std::allocator<int32_t>>::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<int32_t, std::allocator<int32_t>>::max_size() const.
Sourcepub unsafe fn new() -> CppBox<VectorOfI32>
 
pub unsafe fn new() -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector().
Sourcepub unsafe fn from_allocator_of_i32(
    a: impl CastInto<Ref<AllocatorOfI32>>,
) -> CppBox<VectorOfI32>
 
pub unsafe fn from_allocator_of_i32( a: impl CastInto<Ref<AllocatorOfI32>>, ) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(const std::allocator<int32_t>& __a).
Sourcepub unsafe fn from_usize_allocator_of_i32(
    n: usize,
    a: impl CastInto<Ref<AllocatorOfI32>>,
) -> CppBox<VectorOfI32>
 
pub unsafe fn from_usize_allocator_of_i32( n: usize, a: impl CastInto<Ref<AllocatorOfI32>>, ) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(size_t __n, const std::allocator<int32_t>& __a = …).
Sourcepub unsafe fn from_usize_i32_allocator_of_i32(
    n: usize,
    value: impl CastInto<Ref<i32>>,
    a: impl CastInto<Ref<AllocatorOfI32>>,
) -> CppBox<VectorOfI32>
 
pub unsafe fn from_usize_i32_allocator_of_i32( n: usize, value: impl CastInto<Ref<i32>>, a: impl CastInto<Ref<AllocatorOfI32>>, ) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(size_t __n, const int32_t& __value, const std::allocator<int32_t>& __a = …).
Sourcepub unsafe fn from_vector_of_i32_allocator_of_i32(
    x: impl CastInto<Ref<VectorOfI32>>,
    a: impl CastInto<Ref<AllocatorOfI32>>,
) -> CppBox<VectorOfI32>
 
pub unsafe fn from_vector_of_i32_allocator_of_i32( x: impl CastInto<Ref<VectorOfI32>>, a: impl CastInto<Ref<AllocatorOfI32>>, ) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(const std::vector<int32_t, std::allocator<int32_t>>& __x, const std::allocator<int32_t>& __a).
Sourcepub unsafe fn from_2_i32_allocator_of_i32(
    first: impl CastInto<Ptr<i32>>,
    last: impl CastInto<Ptr<i32>>,
    alloc: impl CastInto<Ref<AllocatorOfI32>>,
) -> CppBox<VectorOfI32>
 
pub unsafe fn from_2_i32_allocator_of_i32( first: impl CastInto<Ptr<i32>>, last: impl CastInto<Ptr<i32>>, alloc: impl CastInto<Ref<AllocatorOfI32>>, ) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(const int32_t* first, const int32_t* last, std::allocator<int32_t> alloc = …).
Sourcepub unsafe fn from_usize(n: usize) -> CppBox<VectorOfI32>
 
pub unsafe fn from_usize(n: usize) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(size_t __n).
Sourcepub unsafe fn from_usize_i32(
    n: usize,
    value: impl CastInto<Ref<i32>>,
) -> CppBox<VectorOfI32>
 
pub unsafe fn from_usize_i32( n: usize, value: impl CastInto<Ref<i32>>, ) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(size_t __n, const int32_t& __value).
Sourcepub unsafe fn from_2_i32(
    first: impl CastInto<Ptr<i32>>,
    last: impl CastInto<Ptr<i32>>,
) -> CppBox<VectorOfI32>
 
pub unsafe fn from_2_i32( first: impl CastInto<Ptr<i32>>, last: impl CastInto<Ptr<i32>>, ) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(const int32_t* first, const int32_t* last).
Sourcepub unsafe fn new_copy(
    other: impl CastInto<Ref<VectorOfI32>>,
) -> CppBox<VectorOfI32>
 
pub unsafe fn new_copy( other: impl CastInto<Ref<VectorOfI32>>, ) -> CppBox<VectorOfI32>
Calls C++ function: [constructor] void std::vector<int32_t, std::allocator<int32_t>>::vector(const std::vector<int32_t, std::allocator<int32_t>>& other).
Sourcepub unsafe fn pop_back(&mut self)
 
pub unsafe fn pop_back(&mut self)
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::pop_back().
Sourcepub unsafe fn push_back(&mut self, x: impl CastInto<Ref<i32>>)
 
pub unsafe fn push_back(&mut self, x: impl CastInto<Ref<i32>>)
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::push_back(const int32_t& __x).
Sourcepub unsafe fn reserve(&mut self, n: usize)
 
pub unsafe fn reserve(&mut self, n: usize)
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::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<int32_t, std::allocator<int32_t>>::resize(size_t __new_size).
Sourcepub unsafe fn resize_2a(&mut self, new_size: usize, x: impl CastInto<Ref<i32>>)
 
pub unsafe fn resize_2a(&mut self, new_size: usize, x: impl CastInto<Ref<i32>>)
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::resize(size_t __new_size, const int32_t& __x).
Sourcepub unsafe fn shrink_to_fit(&mut self)
 
pub unsafe fn shrink_to_fit(&mut self)
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::shrink_to_fit().
Sourcepub unsafe fn size(&self) -> usize
 
pub unsafe fn size(&self) -> usize
Calls C++ function: size_t std::vector<int32_t, std::allocator<int32_t>>::size() const.
Sourcepub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfI32>>)
 
pub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfI32>>)
Calls C++ function: void std::vector<int32_t, std::allocator<int32_t>>::swap(std::vector<int32_t, std::allocator<int32_t>>& __x).