[][src]Struct cpp_std::VectorOfLong

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

C++ class: std::vector<long, std::allocator<long>>.

Methods

impl VectorOfLong[src]

pub unsafe fn assign_usize_long(
    &mut self,
    n: usize,
    val: impl CastInto<Ref<c_long>>
)
[src]

Calls C++ function: void std::vector<long, std::allocator<long>>::assign(size_t __n, const long& __val).

pub unsafe fn assign_2_long(
    &mut self,
    first: impl CastInto<Ptr<c_long>>,
    last: impl CastInto<Ptr<c_long>>
)
[src]

Calls C++ function: void std::vector<long, std::allocator<long>>::assign(const long* first, const long* last).

pub unsafe fn at_mut(&mut self, n: usize) -> MutRef<c_long>[src]

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

pub unsafe fn at(&self, n: usize) -> Ref<c_long>[src]

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

pub unsafe fn back_mut(&mut self) -> MutRef<c_long>[src]

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

pub unsafe fn back(&self) -> Ref<c_long>[src]

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

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

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

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

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

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

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

pub unsafe fn data_mut(&mut self) -> MutPtr<c_long>[src]

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

pub unsafe fn data(&self) -> Ptr<c_long>[src]

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

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

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

pub unsafe fn front_mut(&mut self) -> MutRef<c_long>[src]

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

pub unsafe fn front(&self) -> Ref<c_long>[src]

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

pub unsafe fn index_mut(&mut self, n: usize) -> MutRef<c_long>[src]

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

pub unsafe fn index(&self, n: usize) -> Ref<c_long>[src]

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

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

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

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

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

pub unsafe fn from_allocator_of_long(
    a: impl CastInto<Ref<AllocatorOfLong>>
) -> CppBox<VectorOfLong>
[src]

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

pub unsafe fn from_usize_allocator_of_long(
    n: usize,
    a: impl CastInto<Ref<AllocatorOfLong>>
) -> CppBox<VectorOfLong>
[src]

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

pub unsafe fn from_usize_long_allocator_of_long(
    n: usize,
    value: impl CastInto<Ref<c_long>>,
    a: impl CastInto<Ref<AllocatorOfLong>>
) -> CppBox<VectorOfLong>
[src]

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

pub unsafe fn from_vector_of_long_allocator_of_long(
    x: impl CastInto<Ref<VectorOfLong>>,
    a: impl CastInto<Ref<AllocatorOfLong>>
) -> CppBox<VectorOfLong>
[src]

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

pub unsafe fn from_2_long_allocator_of_long(
    first: impl CastInto<Ptr<c_long>>,
    last: impl CastInto<Ptr<c_long>>,
    alloc: impl CastInto<Ref<AllocatorOfLong>>
) -> CppBox<VectorOfLong>
[src]

Calls C++ function: [constructor] void std::vector<long, std::allocator<long>>::vector(const long* first, const long* last, std::allocator<long> alloc = …).

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

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

pub unsafe fn from_usize_long(
    n: usize,
    value: impl CastInto<Ref<c_long>>
) -> CppBox<VectorOfLong>
[src]

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

pub unsafe fn from_2_long(
    first: impl CastInto<Ptr<c_long>>,
    last: impl CastInto<Ptr<c_long>>
) -> CppBox<VectorOfLong>
[src]

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

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

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

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

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

pub unsafe fn push_back(&mut self, x: impl CastInto<Ref<c_long>>)[src]

Calls C++ function: void std::vector<long, std::allocator<long>>::push_back(const long& __x).

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

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

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

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

pub unsafe fn resize_2a(
    &mut self,
    new_size: usize,
    x: impl CastInto<Ref<c_long>>
)
[src]

Calls C++ function: void std::vector<long, std::allocator<long>>::resize(size_t __new_size, const long& __x).

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

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

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

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

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

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

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl CppDeletable for VectorOfLong[src]

unsafe fn delete(&mut self)[src]

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

impl Data for VectorOfLong[src]

type Output = Ptr<c_long>

unsafe fn data(&self) -> Ptr<c_long>[src]

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

impl DataMut for VectorOfLong[src]

type Output = MutPtr<c_long>

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

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

impl Size for VectorOfLong[src]

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

Calls C++ function: size_t std::vector<long, std::allocator<long>>::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> VectorAsSlice for V where
    V: Data<Output = Ptr<T>> + Size
[src]

type Item = T

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

type Item = T