[][src]Struct cpp_std::VectorOfVoid

#[repr(C)]
pub struct VectorOfVoid { /* fields omitted */ }

C++ class: std::vector<void*, std::allocator<void*>>.

Methods

impl VectorOfVoid[src]

pub unsafe fn at(&mut self, n: usize) -> MutRef<*mut c_void>[src]

Calls C++ function: void*& std::vector<void*, std::allocator<void*>>::at(size_t __n).

pub unsafe fn back(&mut self) -> MutRef<*mut c_void>[src]

Calls C++ function: void*& std::vector<void*, std::allocator<void*>>::back().

pub unsafe fn capacity(&self) -> usize[src]

Calls C++ function: size_t std::vector<void*, std::allocator<void*>>::capacity() const.

pub unsafe fn clear(&mut self)[src]

Calls C++ function: void std::vector<void*, std::allocator<void*>>::clear().

pub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<VectorOfVoid>>
) -> MutRef<VectorOfVoid>
[src]

Calls C++ function: std::vector<void*, std::allocator<void*>>& std::vector<void*, std::allocator<void*>>::operator=(const std::vector<void*, std::allocator<void*>>& other).

pub unsafe fn data(&mut self) -> MutPtr<*mut c_void>[src]

Calls C++ function: void** std::vector<void*, std::allocator<void*>>::data().

pub unsafe fn empty(&self) -> bool[src]

Calls C++ function: bool std::vector<void*, std::allocator<void*>>::empty() const.

pub unsafe fn front(&mut self) -> MutRef<*mut c_void>[src]

Calls C++ function: void*& std::vector<void*, std::allocator<void*>>::front().

pub unsafe fn index(&mut self, n: usize) -> MutRef<*mut c_void>[src]

Calls C++ function: void*& std::vector<void*, std::allocator<void*>>::operator[](size_t __n).

pub unsafe fn max_size(&self) -> usize[src]

Calls C++ function: size_t std::vector<void*, std::allocator<void*>>::max_size() const.

pub unsafe fn new() -> CppBox<VectorOfVoid>[src]

Calls C++ function: [constructor] void std::vector<void*, std::allocator<void*>>::vector().

pub unsafe fn from_allocator_of_void(
    a: impl CastInto<Ref<AllocatorOfVoid>>
) -> CppBox<VectorOfVoid>
[src]

Calls C++ function: [constructor] void std::vector<void*, std::allocator<void*>>::vector(const std::allocator<void*>& __a).

pub unsafe fn from_usize_allocator_of_void(
    n: usize,
    a: impl CastInto<Ref<AllocatorOfVoid>>
) -> CppBox<VectorOfVoid>
[src]

Calls C++ function: [constructor] void std::vector<void*, std::allocator<void*>>::vector(size_t __n, const std::allocator<void*>& __a = …).

pub unsafe fn from_vector_of_void_allocator_of_void(
    x: impl CastInto<Ref<VectorOfVoid>>,
    a: impl CastInto<Ref<AllocatorOfVoid>>
) -> CppBox<VectorOfVoid>
[src]

Calls C++ function: [constructor] void std::vector<void*, std::allocator<void*>>::vector(const std::vector<void*, std::allocator<void*>>& __x, const std::allocator<void*>& __a).

pub unsafe fn from_usize(n: usize) -> CppBox<VectorOfVoid>[src]

Calls C++ function: [constructor] void std::vector<void*, std::allocator<void*>>::vector(size_t __n).

pub unsafe fn new_copy(
    other: impl CastInto<Ref<VectorOfVoid>>
) -> CppBox<VectorOfVoid>
[src]

Calls C++ function: [constructor] void std::vector<void*, std::allocator<void*>>::vector(const std::vector<void*, std::allocator<void*>>& other).

pub unsafe fn pop_back(&mut self)[src]

Calls C++ function: void std::vector<void*, std::allocator<void*>>::pop_back().

pub unsafe fn reserve(&mut self, n: usize)[src]

Calls C++ function: void std::vector<void*, std::allocator<void*>>::reserve(size_t __n).

pub unsafe fn resize(&mut self, new_size: usize)[src]

Calls C++ function: void std::vector<void*, std::allocator<void*>>::resize(size_t __new_size).

pub unsafe fn shrink_to_fit(&mut self)[src]

Calls C++ function: void std::vector<void*, std::allocator<void*>>::shrink_to_fit().

pub unsafe fn size(&self) -> usize[src]

Calls C++ function: size_t std::vector<void*, std::allocator<void*>>::size() const.

pub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfVoid>>)[src]

Calls C++ function: void std::vector<void*, std::allocator<void*>>::swap(std::vector<void*, std::allocator<void*>>& __x).

Trait Implementations

impl PartialEq<Ref<VectorOfVoid>> for VectorOfVoid[src]

fn eq(&self, y: &Ref<VectorOfVoid>) -> bool[src]

Calls C++ function: bool std::operator==(const std::vector<void*, std::allocator<void*>>& __x, const std::vector<void*, std::allocator<void*>>& __y).

impl Lt<Ref<VectorOfVoid>> for VectorOfVoid[src]

unsafe fn lt(&self, y: &Ref<VectorOfVoid>) -> bool[src]

Calls C++ function: bool std::operator<(const std::vector<void*, std::allocator<void*>>& __x, const std::vector<void*, std::allocator<void*>>& __y).

impl Le<Ref<VectorOfVoid>> for VectorOfVoid[src]

unsafe fn le(&self, y: &Ref<VectorOfVoid>) -> bool[src]

Calls C++ function: bool std::operator<=(const std::vector<void*, std::allocator<void*>>& __x, const std::vector<void*, std::allocator<void*>>& __y).

impl Gt<Ref<VectorOfVoid>> for VectorOfVoid[src]

unsafe fn gt(&self, y: &Ref<VectorOfVoid>) -> bool[src]

Calls C++ function: bool std::operator>(const std::vector<void*, std::allocator<void*>>& __x, const std::vector<void*, std::allocator<void*>>& __y).

impl Ge<Ref<VectorOfVoid>> for VectorOfVoid[src]

unsafe fn ge(&self, y: &Ref<VectorOfVoid>) -> bool[src]

Calls C++ function: bool std::operator>=(const std::vector<void*, std::allocator<void*>>& __x, const std::vector<void*, std::allocator<void*>>& __y).

impl CppDeletable for VectorOfVoid[src]

unsafe fn delete(&mut self)[src]

Calls C++ function: [destructor] void std::vector<void*, std::allocator<void*>>::~vector().

impl DataMut for VectorOfVoid[src]

type Output = MutPtr<*mut c_void>

unsafe fn data_mut(&mut self) -> MutPtr<*mut c_void>[src]

Calls C++ function: void** std::vector<void*, std::allocator<void*>>::data().

impl Size for VectorOfVoid[src]

unsafe fn size(&self) -> usize[src]

Calls C++ function: size_t std::vector<void*, std::allocator<void*>>::size() const.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<V, T> VectorAsMutSlice for V where
    V: DataMut<Output = MutPtr<T>> + Size
[src]

type Item = T