[][src]Struct cpp_std::VectorOfDouble

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

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

Methods

impl VectorOfDouble[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub unsafe fn from_allocator_of_double(
    a: impl CastInto<Ref<AllocatorOfDouble>>
) -> CppBox<VectorOfDouble>
[src]

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

pub unsafe fn from_usize_allocator_of_double(
    n: usize,
    a: impl CastInto<Ref<AllocatorOfDouble>>
) -> CppBox<VectorOfDouble>
[src]

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

pub unsafe fn from_usize_double_allocator_of_double(
    n: usize,
    value: impl CastInto<Ref<c_double>>,
    a: impl CastInto<Ref<AllocatorOfDouble>>
) -> CppBox<VectorOfDouble>
[src]

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

pub unsafe fn from_vector_of_double_allocator_of_double(
    x: impl CastInto<Ref<VectorOfDouble>>,
    a: impl CastInto<Ref<AllocatorOfDouble>>
) -> CppBox<VectorOfDouble>
[src]

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

pub unsafe fn from_2_double_allocator_of_double(
    first: impl CastInto<Ptr<c_double>>,
    last: impl CastInto<Ptr<c_double>>,
    alloc: impl CastInto<Ref<AllocatorOfDouble>>
) -> CppBox<VectorOfDouble>
[src]

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

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

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

pub unsafe fn from_usize_double(
    n: usize,
    value: impl CastInto<Ref<c_double>>
) -> CppBox<VectorOfDouble>
[src]

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

pub unsafe fn from_2_double(
    first: impl CastInto<Ptr<c_double>>,
    last: impl CastInto<Ptr<c_double>>
) -> CppBox<VectorOfDouble>
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl CppDeletable for VectorOfDouble[src]

unsafe fn delete(&mut self)[src]

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

impl Data for VectorOfDouble[src]

type Output = Ptr<c_double>

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

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

impl DataMut for VectorOfDouble[src]

type Output = MutPtr<c_double>

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

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

impl Size for VectorOfDouble[src]

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

Calls C++ function: size_t std::vector<double, std::allocator<double>>::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