#[repr(C)]pub struct VectorOfUlong { /* private fields */ }Expand description
C++ class: std::vector<unsigned long, std::allocator<unsigned long>>.
Implementations§
Source§impl VectorOfUlong
 
impl VectorOfUlong
Sourcepub unsafe fn assign_usize_ulong(
    &mut self,
    n: usize,
    val: impl CastInto<Ref<c_ulong>>,
)
 
pub unsafe fn assign_usize_ulong( &mut self, n: usize, val: impl CastInto<Ref<c_ulong>>, )
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::assign(size_t __n, const unsigned long& __val).
Sourcepub unsafe fn assign_2_ulong(
    &mut self,
    first: impl CastInto<Ptr<c_ulong>>,
    last: impl CastInto<Ptr<c_ulong>>,
)
 
pub unsafe fn assign_2_ulong( &mut self, first: impl CastInto<Ptr<c_ulong>>, last: impl CastInto<Ptr<c_ulong>>, )
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::assign(const unsigned long* first, const unsigned long* last).
Sourcepub unsafe fn at_mut(&mut self, n: usize) -> MutRef<c_ulong>
 
pub unsafe fn at_mut(&mut self, n: usize) -> MutRef<c_ulong>
Calls C++ function: unsigned long& std::vector<unsigned long, std::allocator<unsigned long>>::at(size_t __n).
Sourcepub unsafe fn at(&self, n: usize) -> Ref<c_ulong>
 
pub unsafe fn at(&self, n: usize) -> Ref<c_ulong>
Calls C++ function: const unsigned long& std::vector<unsigned long, std::allocator<unsigned long>>::at(size_t __n) const.
Sourcepub unsafe fn back_mut(&mut self) -> MutRef<c_ulong>
 
pub unsafe fn back_mut(&mut self) -> MutRef<c_ulong>
Calls C++ function: unsigned long& std::vector<unsigned long, std::allocator<unsigned long>>::back().
Sourcepub unsafe fn back(&self) -> Ref<c_ulong>
 
pub unsafe fn back(&self) -> Ref<c_ulong>
Calls C++ function: const unsigned long& std::vector<unsigned long, std::allocator<unsigned long>>::back() const.
Sourcepub unsafe fn capacity(&self) -> usize
 
pub unsafe fn capacity(&self) -> usize
Calls C++ function: size_t std::vector<unsigned long, std::allocator<unsigned long>>::capacity() const.
Sourcepub unsafe fn clear(&mut self)
 
pub unsafe fn clear(&mut self)
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::clear().
Sourcepub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<VectorOfUlong>>,
) -> MutRef<VectorOfUlong>
 
pub unsafe fn copy_from( &mut self, other: impl CastInto<Ref<VectorOfUlong>>, ) -> MutRef<VectorOfUlong>
Calls C++ function: std::vector<unsigned long, std::allocator<unsigned long>>& std::vector<unsigned long, std::allocator<unsigned long>>::operator=(const std::vector<unsigned long, std::allocator<unsigned long>>& other).
Sourcepub unsafe fn data_mut(&mut self) -> MutPtr<c_ulong>
 
pub unsafe fn data_mut(&mut self) -> MutPtr<c_ulong>
Calls C++ function: unsigned long* std::vector<unsigned long, std::allocator<unsigned long>>::data().
Sourcepub unsafe fn data(&self) -> Ptr<c_ulong>
 
pub unsafe fn data(&self) -> Ptr<c_ulong>
Calls C++ function: const unsigned long* std::vector<unsigned long, std::allocator<unsigned long>>::data() const.
Sourcepub unsafe fn empty(&self) -> bool
 
pub unsafe fn empty(&self) -> bool
Calls C++ function: bool std::vector<unsigned long, std::allocator<unsigned long>>::empty() const.
Sourcepub unsafe fn front_mut(&mut self) -> MutRef<c_ulong>
 
pub unsafe fn front_mut(&mut self) -> MutRef<c_ulong>
Calls C++ function: unsigned long& std::vector<unsigned long, std::allocator<unsigned long>>::front().
Sourcepub unsafe fn front(&self) -> Ref<c_ulong>
 
pub unsafe fn front(&self) -> Ref<c_ulong>
Calls C++ function: const unsigned long& std::vector<unsigned long, std::allocator<unsigned long>>::front() const.
Sourcepub unsafe fn index_mut(&mut self, n: usize) -> MutRef<c_ulong>
 
pub unsafe fn index_mut(&mut self, n: usize) -> MutRef<c_ulong>
Calls C++ function: unsigned long& std::vector<unsigned long, std::allocator<unsigned long>>::operator[](size_t __n).
Sourcepub unsafe fn index(&self, n: usize) -> Ref<c_ulong>
 
pub unsafe fn index(&self, n: usize) -> Ref<c_ulong>
Calls C++ function: const unsigned long& std::vector<unsigned long, std::allocator<unsigned long>>::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 long, std::allocator<unsigned long>>::max_size() const.
Sourcepub unsafe fn new() -> CppBox<VectorOfUlong>
 
pub unsafe fn new() -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector().
Sourcepub unsafe fn from_allocator_of_ulong(
    a: impl CastInto<Ref<AllocatorOfUlong>>,
) -> CppBox<VectorOfUlong>
 
pub unsafe fn from_allocator_of_ulong( a: impl CastInto<Ref<AllocatorOfUlong>>, ) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(const std::allocator<unsigned long>& __a).
Sourcepub unsafe fn from_usize_allocator_of_ulong(
    n: usize,
    a: impl CastInto<Ref<AllocatorOfUlong>>,
) -> CppBox<VectorOfUlong>
 
pub unsafe fn from_usize_allocator_of_ulong( n: usize, a: impl CastInto<Ref<AllocatorOfUlong>>, ) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(size_t __n, const std::allocator<unsigned long>& __a = …).
Sourcepub unsafe fn from_usize_ulong_allocator_of_ulong(
    n: usize,
    value: impl CastInto<Ref<c_ulong>>,
    a: impl CastInto<Ref<AllocatorOfUlong>>,
) -> CppBox<VectorOfUlong>
 
pub unsafe fn from_usize_ulong_allocator_of_ulong( n: usize, value: impl CastInto<Ref<c_ulong>>, a: impl CastInto<Ref<AllocatorOfUlong>>, ) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(size_t __n, const unsigned long& __value, const std::allocator<unsigned long>& __a = …).
Sourcepub unsafe fn from_vector_of_ulong_allocator_of_ulong(
    x: impl CastInto<Ref<VectorOfUlong>>,
    a: impl CastInto<Ref<AllocatorOfUlong>>,
) -> CppBox<VectorOfUlong>
 
pub unsafe fn from_vector_of_ulong_allocator_of_ulong( x: impl CastInto<Ref<VectorOfUlong>>, a: impl CastInto<Ref<AllocatorOfUlong>>, ) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(const std::vector<unsigned long, std::allocator<unsigned long>>& __x, const std::allocator<unsigned long>& __a).
Sourcepub unsafe fn from_2_ulong_allocator_of_ulong(
    first: impl CastInto<Ptr<c_ulong>>,
    last: impl CastInto<Ptr<c_ulong>>,
    alloc: impl CastInto<Ref<AllocatorOfUlong>>,
) -> CppBox<VectorOfUlong>
 
pub unsafe fn from_2_ulong_allocator_of_ulong( first: impl CastInto<Ptr<c_ulong>>, last: impl CastInto<Ptr<c_ulong>>, alloc: impl CastInto<Ref<AllocatorOfUlong>>, ) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(const unsigned long* first, const unsigned long* last, std::allocator<unsigned long> alloc = …).
Sourcepub unsafe fn from_usize(n: usize) -> CppBox<VectorOfUlong>
 
pub unsafe fn from_usize(n: usize) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(size_t __n).
Sourcepub unsafe fn from_usize_ulong(
    n: usize,
    value: impl CastInto<Ref<c_ulong>>,
) -> CppBox<VectorOfUlong>
 
pub unsafe fn from_usize_ulong( n: usize, value: impl CastInto<Ref<c_ulong>>, ) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(size_t __n, const unsigned long& __value).
Sourcepub unsafe fn from_2_ulong(
    first: impl CastInto<Ptr<c_ulong>>,
    last: impl CastInto<Ptr<c_ulong>>,
) -> CppBox<VectorOfUlong>
 
pub unsafe fn from_2_ulong( first: impl CastInto<Ptr<c_ulong>>, last: impl CastInto<Ptr<c_ulong>>, ) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(const unsigned long* first, const unsigned long* last).
Sourcepub unsafe fn new_copy(
    other: impl CastInto<Ref<VectorOfUlong>>,
) -> CppBox<VectorOfUlong>
 
pub unsafe fn new_copy( other: impl CastInto<Ref<VectorOfUlong>>, ) -> CppBox<VectorOfUlong>
Calls C++ function: [constructor] void std::vector<unsigned long, std::allocator<unsigned long>>::vector(const std::vector<unsigned long, std::allocator<unsigned long>>& other).
Sourcepub unsafe fn pop_back(&mut self)
 
pub unsafe fn pop_back(&mut self)
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::pop_back().
Sourcepub unsafe fn push_back(&mut self, x: impl CastInto<Ref<c_ulong>>)
 
pub unsafe fn push_back(&mut self, x: impl CastInto<Ref<c_ulong>>)
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::push_back(const unsigned long& __x).
Sourcepub unsafe fn reserve(&mut self, n: usize)
 
pub unsafe fn reserve(&mut self, n: usize)
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::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 long, std::allocator<unsigned long>>::resize(size_t __new_size).
Sourcepub unsafe fn resize_2a(
    &mut self,
    new_size: usize,
    x: impl CastInto<Ref<c_ulong>>,
)
 
pub unsafe fn resize_2a( &mut self, new_size: usize, x: impl CastInto<Ref<c_ulong>>, )
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::resize(size_t __new_size, const unsigned long& __x).
Sourcepub unsafe fn shrink_to_fit(&mut self)
 
pub unsafe fn shrink_to_fit(&mut self)
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::shrink_to_fit().
Sourcepub unsafe fn size(&self) -> usize
 
pub unsafe fn size(&self) -> usize
Calls C++ function: size_t std::vector<unsigned long, std::allocator<unsigned long>>::size() const.
Sourcepub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfUlong>>)
 
pub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfUlong>>)
Calls C++ function: void std::vector<unsigned long, std::allocator<unsigned long>>::swap(std::vector<unsigned long, std::allocator<unsigned long>>& __x).