[−][src]Struct cpp_std::VectorOfUint
C++ class: std::vector<unsigned int, std::allocator<unsigned int>>.
Methods
impl VectorOfUint[src]
pub unsafe fn assign_usize_uint(
&mut self,
n: usize,
val: impl CastInto<Ref<c_uint>>
)[src]
&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).
pub unsafe fn assign_2_uint(
&mut self,
first: impl CastInto<Ptr<c_uint>>,
last: impl CastInto<Ptr<c_uint>>
)[src]
&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).
pub unsafe fn at_mut(&mut self, n: usize) -> MutRef<c_uint>[src]
Calls C++ function: unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::at(size_t __n).
pub unsafe fn at(&self, n: usize) -> Ref<c_uint>[src]
Calls C++ function: const unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::at(size_t __n) const.
pub unsafe fn back_mut(&mut self) -> MutRef<c_uint>[src]
Calls C++ function: unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::back().
pub unsafe fn back(&self) -> Ref<c_uint>[src]
Calls C++ function: const unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::back() const.
pub unsafe fn capacity(&self) -> usize[src]
Calls C++ function: size_t std::vector<unsigned int, std::allocator<unsigned int>>::capacity() const.
pub unsafe fn clear(&mut self)[src]
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::clear().
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<VectorOfUint>>
) -> MutRef<VectorOfUint>[src]
&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).
pub unsafe fn data_mut(&mut self) -> MutPtr<c_uint>[src]
Calls C++ function: unsigned int* std::vector<unsigned int, std::allocator<unsigned int>>::data().
pub unsafe fn data(&self) -> Ptr<c_uint>[src]
Calls C++ function: const unsigned int* std::vector<unsigned int, std::allocator<unsigned int>>::data() const.
pub unsafe fn empty(&self) -> bool[src]
Calls C++ function: bool std::vector<unsigned int, std::allocator<unsigned int>>::empty() const.
pub unsafe fn front_mut(&mut self) -> MutRef<c_uint>[src]
Calls C++ function: unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::front().
pub unsafe fn front(&self) -> Ref<c_uint>[src]
Calls C++ function: const unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::front() const.
pub unsafe fn index_mut(&mut self, n: usize) -> MutRef<c_uint>[src]
Calls C++ function: unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::operator[](size_t __n).
pub unsafe fn index(&self, n: usize) -> Ref<c_uint>[src]
Calls C++ function: const unsigned int& std::vector<unsigned int, std::allocator<unsigned int>>::operator[](size_t __n) const.
pub unsafe fn max_size(&self) -> usize[src]
Calls C++ function: size_t std::vector<unsigned int, std::allocator<unsigned int>>::max_size() const.
pub unsafe fn new() -> CppBox<VectorOfUint>[src]
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector().
pub unsafe fn from_allocator_of_uint(
a: impl CastInto<Ref<AllocatorOfUint>>
) -> CppBox<VectorOfUint>[src]
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).
pub unsafe fn from_usize_allocator_of_uint(
n: usize,
a: impl CastInto<Ref<AllocatorOfUint>>
) -> CppBox<VectorOfUint>[src]
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 = …).
pub unsafe fn from_usize_uint_allocator_of_uint(
n: usize,
value: impl CastInto<Ref<c_uint>>,
a: impl CastInto<Ref<AllocatorOfUint>>
) -> CppBox<VectorOfUint>[src]
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 = …).
pub unsafe fn from_vector_of_uint_allocator_of_uint(
x: impl CastInto<Ref<VectorOfUint>>,
a: impl CastInto<Ref<AllocatorOfUint>>
) -> CppBox<VectorOfUint>[src]
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).
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>[src]
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 = …).
pub unsafe fn from_usize(n: usize) -> CppBox<VectorOfUint>[src]
Calls C++ function: [constructor] void std::vector<unsigned int, std::allocator<unsigned int>>::vector(size_t __n).
pub unsafe fn from_usize_uint(
n: usize,
value: impl CastInto<Ref<c_uint>>
) -> CppBox<VectorOfUint>[src]
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).
pub unsafe fn from_2_uint(
first: impl CastInto<Ptr<c_uint>>,
last: impl CastInto<Ptr<c_uint>>
) -> CppBox<VectorOfUint>[src]
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).
pub unsafe fn new_copy(
other: impl CastInto<Ref<VectorOfUint>>
) -> CppBox<VectorOfUint>[src]
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).
pub unsafe fn pop_back(&mut self)[src]
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::pop_back().
pub unsafe fn push_back(&mut self, x: impl CastInto<Ref<c_uint>>)[src]
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::push_back(const unsigned int& __x).
pub unsafe fn reserve(&mut self, n: usize)[src]
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::reserve(size_t __n).
pub unsafe fn resize_1a(&mut self, new_size: usize)[src]
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::resize(size_t __new_size).
pub unsafe fn resize_2a(
&mut self,
new_size: usize,
x: impl CastInto<Ref<c_uint>>
)[src]
&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).
pub unsafe fn shrink_to_fit(&mut self)[src]
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::shrink_to_fit().
pub unsafe fn size(&self) -> usize[src]
Calls C++ function: size_t std::vector<unsigned int, std::allocator<unsigned int>>::size() const.
pub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfUint>>)[src]
Calls C++ function: void std::vector<unsigned int, std::allocator<unsigned int>>::swap(std::vector<unsigned int, std::allocator<unsigned int>>& __x).
Trait Implementations
impl PartialEq<Ref<VectorOfUint>> for VectorOfUint[src]
fn eq(&self, y: &Ref<VectorOfUint>) -> bool[src]
Calls C++ function: bool std::operator==(const std::vector<unsigned int, std::allocator<unsigned int>>& __x, const std::vector<unsigned int, std::allocator<unsigned int>>& __y).
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl Lt<Ref<VectorOfUint>> for VectorOfUint[src]
unsafe fn lt(&self, y: &Ref<VectorOfUint>) -> bool[src]
Calls C++ function: bool std::operator<(const std::vector<unsigned int, std::allocator<unsigned int>>& __x, const std::vector<unsigned int, std::allocator<unsigned int>>& __y).
impl Le<Ref<VectorOfUint>> for VectorOfUint[src]
unsafe fn le(&self, y: &Ref<VectorOfUint>) -> bool[src]
Calls C++ function: bool std::operator<=(const std::vector<unsigned int, std::allocator<unsigned int>>& __x, const std::vector<unsigned int, std::allocator<unsigned int>>& __y).
impl Gt<Ref<VectorOfUint>> for VectorOfUint[src]
unsafe fn gt(&self, y: &Ref<VectorOfUint>) -> bool[src]
Calls C++ function: bool std::operator>(const std::vector<unsigned int, std::allocator<unsigned int>>& __x, const std::vector<unsigned int, std::allocator<unsigned int>>& __y).
impl Ge<Ref<VectorOfUint>> for VectorOfUint[src]
unsafe fn ge(&self, y: &Ref<VectorOfUint>) -> bool[src]
Calls C++ function: bool std::operator>=(const std::vector<unsigned int, std::allocator<unsigned int>>& __x, const std::vector<unsigned int, std::allocator<unsigned int>>& __y).
impl CppDeletable for VectorOfUint[src]
unsafe fn delete(&mut self)[src]
Calls C++ function: [destructor] void std::vector<unsigned int, std::allocator<unsigned int>>::~vector().
impl Data for VectorOfUint[src]
type Output = Ptr<c_uint>
unsafe fn data(&self) -> Ptr<c_uint>[src]
Calls C++ function: const unsigned int* std::vector<unsigned int, std::allocator<unsigned int>>::data() const.
impl DataMut for VectorOfUint[src]
type Output = MutPtr<c_uint>
unsafe fn data_mut(&mut self) -> MutPtr<c_uint>[src]
Calls C++ function: unsigned int* std::vector<unsigned int, std::allocator<unsigned int>>::data().
impl Size for VectorOfUint[src]
Auto Trait Implementations
impl Send for VectorOfUint
impl Sync for VectorOfUint
impl Unpin for VectorOfUint
impl UnwindSafe for VectorOfUint
impl RefUnwindSafe for VectorOfUint
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>, [src]
U: CastFrom<T>,
impl<V, T> VectorAsSlice for V where
V: Data<Output = Ptr<T>> + Size, [src]
V: Data<Output = Ptr<T>> + Size,
type Item = T
unsafe fn vector_as_slice(&self) -> &[T][src]
impl<V, T> VectorAsMutSlice for V where
V: DataMut<Output = MutPtr<T>> + Size, [src]
V: DataMut<Output = MutPtr<T>> + Size,