Skip to main content

QVectorOfFloat

Struct QVectorOfFloat 

Source
pub struct QVectorOfFloat { /* private fields */ }
Expand description

C++ class: QVector<float>.

Implementations§

Source§

impl QVectorOfFloat

Source

pub unsafe fn add_assign_q_vector_of_float( &self, l: impl CastInto<Ref<QVectorOfFloat>>, ) -> Ref<QVectorOfFloat>

Calls C++ function: QVector<float>& QVector<float>::operator+=(const QVector<float>& l).

Source

pub unsafe fn add_assign_float(&self, t: *const c_float) -> Ref<QVectorOfFloat>

Calls C++ function: QVector<float>& QVector<float>::operator+=(const float& t).

Source

pub unsafe fn append_float(&self, t: *const c_float)

Calls C++ function: void QVector<float>::append(const float& t).

Source

pub unsafe fn append_q_vector_of_float( &self, l: impl CastInto<Ref<QVectorOfFloat>>, )

Calls C++ function: void QVector<float>::append(const QVector<float>& l).

Source

pub unsafe fn at(&self, i: c_int) -> *const c_float

Calls C++ function: const float& QVector<float>::at(int i) const.

Source

pub unsafe fn back_mut(&self) -> *mut c_float

Calls C++ function: float& QVector<float>::back().

Source

pub unsafe fn back(&self) -> *const c_float

Calls C++ function: const float& QVector<float>::back() const.

Source

pub unsafe fn capacity(&self) -> c_int

Calls C++ function: int QVector<float>::capacity() const.

Source

pub unsafe fn clear(&self)

Calls C++ function: void QVector<float>::clear().

Source

pub unsafe fn const_data(&self) -> *const c_float

Calls C++ function: const float* QVector<float>::constData() const.

Source

pub unsafe fn const_first(&self) -> *const c_float

Calls C++ function: const float& QVector<float>::constFirst() const.

Source

pub unsafe fn const_last(&self) -> *const c_float

Calls C++ function: const float& QVector<float>::constLast() const.

Source

pub unsafe fn contains(&self, t: *const c_float) -> bool

Calls C++ function: bool QVector<float>::contains(const float& t) const.

Source

pub unsafe fn copy_from( &self, v: impl CastInto<Ref<QVectorOfFloat>>, ) -> Ref<QVectorOfFloat>

Calls C++ function: QVector<float>& QVector<float>::operator=(const QVector<float>& v).

Source

pub unsafe fn count_1a(&self, t: *const c_float) -> c_int

Calls C++ function: int QVector<float>::count(const float& t) const.

Source

pub unsafe fn count_0a(&self) -> c_int

Calls C++ function: int QVector<float>::count() const.

Source

pub unsafe fn data_mut(&self) -> *mut c_float

Calls C++ function: float* QVector<float>::data().

Source

pub unsafe fn data(&self) -> *const c_float

Calls C++ function: const float* QVector<float>::data() const.

Source

pub unsafe fn detach(&self)

Calls C++ function: void QVector<float>::detach().

Source

pub unsafe fn empty(&self) -> bool

Calls C++ function: bool QVector<float>::empty() const.

Source

pub unsafe fn ends_with(&self, t: *const c_float) -> bool

Calls C++ function: bool QVector<float>::endsWith(const float& t) const.

Source

pub unsafe fn fill_2a( &self, t: *const c_float, size: c_int, ) -> Ref<QVectorOfFloat>

Calls C++ function: QVector<float>& QVector<float>::fill(const float& t, int size = …).

Source

pub unsafe fn fill_1a(&self, t: *const c_float) -> Ref<QVectorOfFloat>

Calls C++ function: QVector<float>& QVector<float>::fill(const float& t).

Source

pub unsafe fn first_mut(&self) -> *mut c_float

Calls C++ function: float& QVector<float>::first().

Source

pub unsafe fn first(&self) -> *const c_float

Calls C++ function: const float& QVector<float>::first() const.

Source

pub unsafe fn front_mut(&self) -> *mut c_float

Calls C++ function: float& QVector<float>::front().

Source

pub unsafe fn front(&self) -> *const c_float

Calls C++ function: const float& QVector<float>::front() const.

Source

pub unsafe fn index_mut(&self, i: c_int) -> *mut c_float

Calls C++ function: float& QVector<float>::operator[](int i).

Source

pub unsafe fn index(&self, i: c_int) -> *const c_float

Calls C++ function: const float& QVector<float>::operator[](int i) const.

Source

pub unsafe fn index_of_2a(&self, t: *const c_float, from: c_int) -> c_int

Calls C++ function: int QVector<float>::indexOf(const float& t, int from = …) const.

Source

pub unsafe fn index_of_1a(&self, t: *const c_float) -> c_int

Calls C++ function: int QVector<float>::indexOf(const float& t) const.

Source

pub unsafe fn insert_2a(&self, i: c_int, t: *const c_float)

Calls C++ function: void QVector<float>::insert(int i, const float& t).

Source

pub unsafe fn insert_3a(&self, i: c_int, n: c_int, t: *const c_float)

Calls C++ function: void QVector<float>::insert(int i, int n, const float& t).

Source

pub unsafe fn is_detached(&self) -> bool

Calls C++ function: bool QVector<float>::isDetached() const.

Source

pub unsafe fn is_empty(&self) -> bool

Calls C++ function: bool QVector<float>::isEmpty() const.

Source

pub unsafe fn is_shared_with( &self, other: impl CastInto<Ref<QVectorOfFloat>>, ) -> bool

Calls C++ function: bool QVector<float>::isSharedWith(const QVector<float>& other) const.

Source

pub unsafe fn last_mut(&self) -> *mut c_float

Calls C++ function: float& QVector<float>::last().

Source

pub unsafe fn last(&self) -> *const c_float

Calls C++ function: const float& QVector<float>::last() const.

Source

pub unsafe fn last_index_of_2a(&self, t: *const c_float, from: c_int) -> c_int

Calls C++ function: int QVector<float>::lastIndexOf(const float& t, int from = …) const.

Source

pub unsafe fn last_index_of_1a(&self, t: *const c_float) -> c_int

Calls C++ function: int QVector<float>::lastIndexOf(const float& t) const.

Source

pub unsafe fn length(&self) -> c_int

Calls C++ function: int QVector<float>::length() const.

Source

pub unsafe fn mid_2a(&self, pos: c_int, len: c_int) -> CppBox<QVectorOfFloat>

Calls C++ function: QVector<float> QVector<float>::mid(int pos, int len = …) const.

Source

pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfFloat>

Calls C++ function: QVector<float> QVector<float>::mid(int pos) const.

Source

pub unsafe fn move_(&self, from: c_int, to: c_int)

Calls C++ function: void QVector<float>::move(int from, int to).

Source

pub unsafe fn new_0a() -> CppBox<QVectorOfFloat>

Calls C++ function: [constructor] void QVector<float>::QVector().

Source

pub unsafe fn new_1a(size: c_int) -> CppBox<QVectorOfFloat>

Calls C++ function: [constructor] void QVector<float>::QVector(int size).

Source

pub unsafe fn new_2a(size: c_int, t: *const c_float) -> CppBox<QVectorOfFloat>

Calls C++ function: [constructor] void QVector<float>::QVector(int size, const float& t).

Source

pub unsafe fn new_copy( v: impl CastInto<Ref<QVectorOfFloat>>, ) -> CppBox<QVectorOfFloat>

Calls C++ function: [constructor] void QVector<float>::QVector(const QVector<float>& v).

Source

pub unsafe fn pop_back(&self)

Calls C++ function: void QVector<float>::pop_back().

Source

pub unsafe fn pop_front(&self)

Calls C++ function: void QVector<float>::pop_front().

Source

pub unsafe fn prepend(&self, t: *const c_float)

Calls C++ function: void QVector<float>::prepend(const float& t).

Source

pub unsafe fn push_back(&self, t: *const c_float)

Calls C++ function: void QVector<float>::push_back(const float& t).

Source

pub unsafe fn push_front(&self, t: *const c_float)

Calls C++ function: void QVector<float>::push_front(const float& t).

Source

pub unsafe fn remove_1a(&self, i: c_int)

Calls C++ function: void QVector<float>::remove(int i).

Source

pub unsafe fn remove_2a(&self, i: c_int, n: c_int)

Calls C++ function: void QVector<float>::remove(int i, int n).

Source

pub unsafe fn remove_all(&self, t: *const c_float) -> c_int

Calls C++ function: int QVector<float>::removeAll(const float& t).

Source

pub unsafe fn remove_at(&self, i: c_int)

Calls C++ function: void QVector<float>::removeAt(int i).

Source

pub unsafe fn remove_first(&self)

Calls C++ function: void QVector<float>::removeFirst().

Source

pub unsafe fn remove_last(&self)

Calls C++ function: void QVector<float>::removeLast().

Source

pub unsafe fn remove_one(&self, t: *const c_float) -> bool

Calls C++ function: bool QVector<float>::removeOne(const float& t).

Source

pub unsafe fn replace(&self, i: c_int, t: *const c_float)

Calls C++ function: void QVector<float>::replace(int i, const float& t).

Source

pub unsafe fn reserve(&self, size: c_int)

Calls C++ function: void QVector<float>::reserve(int size).

Source

pub unsafe fn resize(&self, size: c_int)

Calls C++ function: void QVector<float>::resize(int size).

Source

pub unsafe fn set_sharable(&self, sharable: bool)

Calls C++ function: void QVector<float>::setSharable(bool sharable).

Source

pub unsafe fn shrink_to_fit(&self)

Calls C++ function: void QVector<float>::shrink_to_fit().

Source

pub unsafe fn size(&self) -> c_int

Calls C++ function: int QVector<float>::size() const.

Source

pub unsafe fn squeeze(&self)

Calls C++ function: void QVector<float>::squeeze().

Source

pub unsafe fn starts_with(&self, t: *const c_float) -> bool

Calls C++ function: bool QVector<float>::startsWith(const float& t) const.

Source

pub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfFloat>>)

Calls C++ function: void QVector<float>::swap(QVector<float>& other).

Source

pub unsafe fn swap_items_at(&self, i: c_int, j: c_int)

Calls C++ function: void QVector<float>::swapItemsAt(int i, int j).

Source

pub unsafe fn take_at(&self, i: c_int) -> c_float

Calls C++ function: float QVector<float>::takeAt(int i).

Source

pub unsafe fn take_first(&self) -> c_float

Calls C++ function: float QVector<float>::takeFirst().

Source

pub unsafe fn take_last(&self) -> c_float

Calls C++ function: float QVector<float>::takeLast().

Source

pub unsafe fn value_1a(&self, i: c_int) -> c_float

Calls C++ function: float QVector<float>::value(int i) const.

Source

pub unsafe fn value_2a( &self, i: c_int, default_value: *const c_float, ) -> c_float

Calls C++ function: float QVector<float>::value(int i, const float& defaultValue) const.

Trait Implementations§

Source§

impl Add<Ref<QVectorOfFloat>> for &QVectorOfFloat

Source§

fn add(self, l: Ref<QVectorOfFloat>) -> CppBox<QVectorOfFloat>

Calls C++ function: QVector<float> QVector<float>::operator+(const QVector<float>& l) const.

Source§

type Output = CppBox<QVectorOfFloat>

The resulting type after applying the + operator.
Source§

impl CppDeletable for QVectorOfFloat

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QVector<float>::~QVector().

Source§

impl Data for QVectorOfFloat

Source§

unsafe fn data(&self) -> *const c_float

Calls C++ function: const float* QVector<float>::data() const.

Source§

type Output = *const f32

Return type of data() function.
Source§

impl DataMut for QVectorOfFloat

Source§

unsafe fn data_mut(&self) -> *mut c_float

Calls C++ function: float* QVector<float>::data().

Source§

type Output = *mut f32

Return type of data_mut() function.
Source§

impl Ge<Ref<QVectorOfFloat>> for QVectorOfFloat

Source§

unsafe fn ge(&self, rhs: &Ref<QVectorOfFloat>) -> bool

Calls C++ function: bool operator>=(const QVector<float>& lhs, const QVector<float>& rhs).

Source§

impl Gt<Ref<QVectorOfFloat>> for QVectorOfFloat

Source§

unsafe fn gt(&self, rhs: &Ref<QVectorOfFloat>) -> bool

Calls C++ function: bool operator>(const QVector<float>& lhs, const QVector<float>& rhs).

Source§

impl Le<Ref<QVectorOfFloat>> for QVectorOfFloat

Source§

unsafe fn le(&self, rhs: &Ref<QVectorOfFloat>) -> bool

Calls C++ function: bool operator<=(const QVector<float>& lhs, const QVector<float>& rhs).

Source§

impl Lt<Ref<QVectorOfFloat>> for QVectorOfFloat

Source§

unsafe fn lt(&self, rhs: &Ref<QVectorOfFloat>) -> bool

Calls C++ function: bool operator<(const QVector<float>& lhs, const QVector<float>& rhs).

Source§

impl PartialEq<Ref<QVectorOfFloat>> for QVectorOfFloat

Source§

fn eq(&self, v: &Ref<QVectorOfFloat>) -> bool

Calls C++ function: bool QVector<float>::operator==(const QVector<float>& v) const.

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Shl<*const f32> for &QVectorOfFloat

Source§

fn shl(self, t: *const c_float) -> Ref<QVectorOfFloat>

Calls C++ function: QVector<float>& QVector<float>::operator<<(const float& t).

Source§

type Output = Ref<QVectorOfFloat>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QVectorOfFloat>> for &QVectorOfFloat

Source§

fn shl(self, l: Ref<QVectorOfFloat>) -> Ref<QVectorOfFloat>

Calls C++ function: QVector<float>& QVector<float>::operator<<(const QVector<float>& l).

Source§

type Output = Ref<QVectorOfFloat>

The resulting type after applying the << operator.
Source§

impl Size for QVectorOfFloat

Source§

unsafe fn size(&self) -> usize

Calls C++ function: int QVector<float>::size() const.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.