[][src]Struct cpp_std::VectorOfFloat

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

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

Methods

impl VectorOfFloat[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub unsafe fn from_allocator_of_float(
    a: impl CastInto<Ref<AllocatorOfFloat>>
) -> CppBox<VectorOfFloat>
[src]

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

pub unsafe fn from_usize_allocator_of_float(
    n: usize,
    a: impl CastInto<Ref<AllocatorOfFloat>>
) -> CppBox<VectorOfFloat>
[src]

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

pub unsafe fn from_usize_float_allocator_of_float(
    n: usize,
    value: impl CastInto<Ref<c_float>>,
    a: impl CastInto<Ref<AllocatorOfFloat>>
) -> CppBox<VectorOfFloat>
[src]

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

pub unsafe fn from_vector_of_float_allocator_of_float(
    x: impl CastInto<Ref<VectorOfFloat>>,
    a: impl CastInto<Ref<AllocatorOfFloat>>
) -> CppBox<VectorOfFloat>
[src]

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

pub unsafe fn from_2_float_allocator_of_float(
    first: impl CastInto<Ptr<c_float>>,
    last: impl CastInto<Ptr<c_float>>,
    alloc: impl CastInto<Ref<AllocatorOfFloat>>
) -> CppBox<VectorOfFloat>
[src]

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

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

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

pub unsafe fn from_usize_float(
    n: usize,
    value: impl CastInto<Ref<c_float>>
) -> CppBox<VectorOfFloat>
[src]

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

pub unsafe fn from_2_float(
    first: impl CastInto<Ptr<c_float>>,
    last: impl CastInto<Ptr<c_float>>
) -> CppBox<VectorOfFloat>
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl CppDeletable for VectorOfFloat[src]

unsafe fn delete(&mut self)[src]

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

impl Data for VectorOfFloat[src]

type Output = Ptr<c_float>

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

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

impl DataMut for VectorOfFloat[src]

type Output = MutPtr<c_float>

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

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

impl Size for VectorOfFloat[src]

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

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