#[repr(C)]pub struct VectorOfSchar { /* private fields */ }
Expand description
C++ class: std::vector<signed char, std::allocator<signed char>>
.
Implementations§
Source§impl VectorOfSchar
impl VectorOfSchar
Sourcepub unsafe fn assign_usize_schar(
&mut self,
n: usize,
val: impl CastInto<Ref<c_schar>>,
)
pub unsafe fn assign_usize_schar( &mut self, n: usize, val: impl CastInto<Ref<c_schar>>, )
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::assign(size_t __n, const signed char& __val)
.
Sourcepub unsafe fn assign_2_schar(
&mut self,
first: impl CastInto<Ptr<c_schar>>,
last: impl CastInto<Ptr<c_schar>>,
)
pub unsafe fn assign_2_schar( &mut self, first: impl CastInto<Ptr<c_schar>>, last: impl CastInto<Ptr<c_schar>>, )
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::assign(const signed char* first, const signed char* last)
.
Sourcepub unsafe fn at_mut(&mut self, n: usize) -> MutRef<c_schar>
pub unsafe fn at_mut(&mut self, n: usize) -> MutRef<c_schar>
Calls C++ function: signed char& std::vector<signed char, std::allocator<signed char>>::at(size_t __n)
.
Sourcepub unsafe fn at(&self, n: usize) -> Ref<c_schar>
pub unsafe fn at(&self, n: usize) -> Ref<c_schar>
Calls C++ function: const signed char& std::vector<signed char, std::allocator<signed char>>::at(size_t __n) const
.
Sourcepub unsafe fn back_mut(&mut self) -> MutRef<c_schar>
pub unsafe fn back_mut(&mut self) -> MutRef<c_schar>
Calls C++ function: signed char& std::vector<signed char, std::allocator<signed char>>::back()
.
Sourcepub unsafe fn back(&self) -> Ref<c_schar>
pub unsafe fn back(&self) -> Ref<c_schar>
Calls C++ function: const signed char& std::vector<signed char, std::allocator<signed char>>::back() const
.
Sourcepub unsafe fn capacity(&self) -> usize
pub unsafe fn capacity(&self) -> usize
Calls C++ function: size_t std::vector<signed char, std::allocator<signed char>>::capacity() const
.
Sourcepub unsafe fn clear(&mut self)
pub unsafe fn clear(&mut self)
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::clear()
.
Sourcepub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<VectorOfSchar>>,
) -> MutRef<VectorOfSchar>
pub unsafe fn copy_from( &mut self, other: impl CastInto<Ref<VectorOfSchar>>, ) -> MutRef<VectorOfSchar>
Calls C++ function: std::vector<signed char, std::allocator<signed char>>& std::vector<signed char, std::allocator<signed char>>::operator=(const std::vector<signed char, std::allocator<signed char>>& other)
.
Sourcepub unsafe fn data_mut(&mut self) -> MutPtr<c_schar>
pub unsafe fn data_mut(&mut self) -> MutPtr<c_schar>
Calls C++ function: signed char* std::vector<signed char, std::allocator<signed char>>::data()
.
Sourcepub unsafe fn data(&self) -> Ptr<c_schar>
pub unsafe fn data(&self) -> Ptr<c_schar>
Calls C++ function: const signed char* std::vector<signed char, std::allocator<signed char>>::data() const
.
Sourcepub unsafe fn empty(&self) -> bool
pub unsafe fn empty(&self) -> bool
Calls C++ function: bool std::vector<signed char, std::allocator<signed char>>::empty() const
.
Sourcepub unsafe fn front_mut(&mut self) -> MutRef<c_schar>
pub unsafe fn front_mut(&mut self) -> MutRef<c_schar>
Calls C++ function: signed char& std::vector<signed char, std::allocator<signed char>>::front()
.
Sourcepub unsafe fn front(&self) -> Ref<c_schar>
pub unsafe fn front(&self) -> Ref<c_schar>
Calls C++ function: const signed char& std::vector<signed char, std::allocator<signed char>>::front() const
.
Sourcepub unsafe fn index_mut(&mut self, n: usize) -> MutRef<c_schar>
pub unsafe fn index_mut(&mut self, n: usize) -> MutRef<c_schar>
Calls C++ function: signed char& std::vector<signed char, std::allocator<signed char>>::operator[](size_t __n)
.
Sourcepub unsafe fn index(&self, n: usize) -> Ref<c_schar>
pub unsafe fn index(&self, n: usize) -> Ref<c_schar>
Calls C++ function: const signed char& std::vector<signed char, std::allocator<signed char>>::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<signed char, std::allocator<signed char>>::max_size() const
.
Sourcepub unsafe fn new() -> CppBox<VectorOfSchar>
pub unsafe fn new() -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector()
.
Sourcepub unsafe fn from_allocator_of_schar(
a: impl CastInto<Ref<AllocatorOfSchar>>,
) -> CppBox<VectorOfSchar>
pub unsafe fn from_allocator_of_schar( a: impl CastInto<Ref<AllocatorOfSchar>>, ) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(const std::allocator<signed char>& __a)
.
Sourcepub unsafe fn from_usize_allocator_of_schar(
n: usize,
a: impl CastInto<Ref<AllocatorOfSchar>>,
) -> CppBox<VectorOfSchar>
pub unsafe fn from_usize_allocator_of_schar( n: usize, a: impl CastInto<Ref<AllocatorOfSchar>>, ) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(size_t __n, const std::allocator<signed char>& __a = …)
.
Sourcepub unsafe fn from_usize_schar_allocator_of_schar(
n: usize,
value: impl CastInto<Ref<c_schar>>,
a: impl CastInto<Ref<AllocatorOfSchar>>,
) -> CppBox<VectorOfSchar>
pub unsafe fn from_usize_schar_allocator_of_schar( n: usize, value: impl CastInto<Ref<c_schar>>, a: impl CastInto<Ref<AllocatorOfSchar>>, ) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(size_t __n, const signed char& __value, const std::allocator<signed char>& __a = …)
.
Sourcepub unsafe fn from_vector_of_schar_allocator_of_schar(
x: impl CastInto<Ref<VectorOfSchar>>,
a: impl CastInto<Ref<AllocatorOfSchar>>,
) -> CppBox<VectorOfSchar>
pub unsafe fn from_vector_of_schar_allocator_of_schar( x: impl CastInto<Ref<VectorOfSchar>>, a: impl CastInto<Ref<AllocatorOfSchar>>, ) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(const std::vector<signed char, std::allocator<signed char>>& __x, const std::allocator<signed char>& __a)
.
Sourcepub unsafe fn from_2_schar_allocator_of_schar(
first: impl CastInto<Ptr<c_schar>>,
last: impl CastInto<Ptr<c_schar>>,
alloc: impl CastInto<Ref<AllocatorOfSchar>>,
) -> CppBox<VectorOfSchar>
pub unsafe fn from_2_schar_allocator_of_schar( first: impl CastInto<Ptr<c_schar>>, last: impl CastInto<Ptr<c_schar>>, alloc: impl CastInto<Ref<AllocatorOfSchar>>, ) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(const signed char* first, const signed char* last, std::allocator<signed char> alloc = …)
.
Sourcepub unsafe fn from_usize(n: usize) -> CppBox<VectorOfSchar>
pub unsafe fn from_usize(n: usize) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(size_t __n)
.
Sourcepub unsafe fn from_usize_schar(
n: usize,
value: impl CastInto<Ref<c_schar>>,
) -> CppBox<VectorOfSchar>
pub unsafe fn from_usize_schar( n: usize, value: impl CastInto<Ref<c_schar>>, ) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(size_t __n, const signed char& __value)
.
Sourcepub unsafe fn from_2_schar(
first: impl CastInto<Ptr<c_schar>>,
last: impl CastInto<Ptr<c_schar>>,
) -> CppBox<VectorOfSchar>
pub unsafe fn from_2_schar( first: impl CastInto<Ptr<c_schar>>, last: impl CastInto<Ptr<c_schar>>, ) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(const signed char* first, const signed char* last)
.
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<VectorOfSchar>>,
) -> CppBox<VectorOfSchar>
pub unsafe fn new_copy( other: impl CastInto<Ref<VectorOfSchar>>, ) -> CppBox<VectorOfSchar>
Calls C++ function: [constructor] void std::vector<signed char, std::allocator<signed char>>::vector(const std::vector<signed char, std::allocator<signed char>>& other)
.
Sourcepub unsafe fn pop_back(&mut self)
pub unsafe fn pop_back(&mut self)
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::pop_back()
.
Sourcepub unsafe fn push_back(&mut self, x: impl CastInto<Ref<c_schar>>)
pub unsafe fn push_back(&mut self, x: impl CastInto<Ref<c_schar>>)
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::push_back(const signed char& __x)
.
Sourcepub unsafe fn reserve(&mut self, n: usize)
pub unsafe fn reserve(&mut self, n: usize)
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::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<signed char, std::allocator<signed char>>::resize(size_t __new_size)
.
Sourcepub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl CastInto<Ref<c_schar>>,
)
pub unsafe fn resize_2a( &mut self, new_size: usize, x: impl CastInto<Ref<c_schar>>, )
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::resize(size_t __new_size, const signed char& __x)
.
Sourcepub unsafe fn shrink_to_fit(&mut self)
pub unsafe fn shrink_to_fit(&mut self)
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::shrink_to_fit()
.
Sourcepub unsafe fn size(&self) -> usize
pub unsafe fn size(&self) -> usize
Calls C++ function: size_t std::vector<signed char, std::allocator<signed char>>::size() const
.
Sourcepub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfSchar>>)
pub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfSchar>>)
Calls C++ function: void std::vector<signed char, std::allocator<signed char>>::swap(std::vector<signed char, std::allocator<signed char>>& __x)
.