pub struct QHashOfIntQByteArray { /* private fields */ }Expand description
C++ class: QHash<int, QByteArray>.
Implementations§
Source§impl QHashOfIntQByteArray
impl QHashOfIntQByteArray
Sourcepub unsafe fn begin_mut(&self) -> CppBox<Iterator>
pub unsafe fn begin_mut(&self) -> CppBox<Iterator>
Calls C++ function: QHash<int, QByteArray>::iterator QHash<int, QByteArray>::begin().
Sourcepub unsafe fn begin(&self) -> CppBox<ConstIterator>
pub unsafe fn begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::begin() const.
Sourcepub unsafe fn capacity(&self) -> c_int
pub unsafe fn capacity(&self) -> c_int
Calls C++ function: int QHash<int, QByteArray>::capacity() const.
Sourcepub unsafe fn cbegin(&self) -> CppBox<ConstIterator>
pub unsafe fn cbegin(&self) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::cbegin() const.
Sourcepub unsafe fn cend(&self) -> CppBox<ConstIterator>
pub unsafe fn cend(&self) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::cend() const.
Sourcepub unsafe fn const_begin(&self) -> CppBox<ConstIterator>
pub unsafe fn const_begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::constBegin() const.
Sourcepub unsafe fn const_end(&self) -> CppBox<ConstIterator>
pub unsafe fn const_end(&self) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::constEnd() const.
Sourcepub unsafe fn const_find(&self, key: *const c_int) -> CppBox<ConstIterator>
pub unsafe fn const_find(&self, key: *const c_int) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::constFind(const int& key) const.
Sourcepub unsafe fn contains(&self, key: *const c_int) -> bool
pub unsafe fn contains(&self, key: *const c_int) -> bool
Calls C++ function: bool QHash<int, QByteArray>::contains(const int& key) const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QHashOfIntQByteArray>>,
) -> Ref<QHashOfIntQByteArray>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QHashOfIntQByteArray>>, ) -> Ref<QHashOfIntQByteArray>
Calls C++ function: QHash<int, QByteArray>& QHash<int, QByteArray>::operator=(const QHash<int, QByteArray>& other).
Sourcepub unsafe fn count_1a(&self, key: *const c_int) -> c_int
pub unsafe fn count_1a(&self, key: *const c_int) -> c_int
Calls C++ function: int QHash<int, QByteArray>::count(const int& key) const.
Sourcepub unsafe fn count_0a(&self) -> c_int
pub unsafe fn count_0a(&self) -> c_int
Calls C++ function: int QHash<int, QByteArray>::count() const.
Sourcepub unsafe fn empty(&self) -> bool
pub unsafe fn empty(&self) -> bool
Calls C++ function: bool QHash<int, QByteArray>::empty() const.
Sourcepub unsafe fn end_mut(&self) -> CppBox<Iterator>
pub unsafe fn end_mut(&self) -> CppBox<Iterator>
Calls C++ function: QHash<int, QByteArray>::iterator QHash<int, QByteArray>::end().
Sourcepub unsafe fn end(&self) -> CppBox<ConstIterator>
pub unsafe fn end(&self) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::end() const.
Sourcepub unsafe fn erase_iterator(
&self,
it: impl CastInto<Ref<Iterator>>,
) -> CppBox<Iterator>
pub unsafe fn erase_iterator( &self, it: impl CastInto<Ref<Iterator>>, ) -> CppBox<Iterator>
Calls C++ function: QHash<int, QByteArray>::iterator QHash<int, QByteArray>::erase(QHash<int, QByteArray>::iterator it).
Sourcepub unsafe fn erase_const_iterator(
&self,
it: impl CastInto<Ref<ConstIterator>>,
) -> CppBox<Iterator>
pub unsafe fn erase_const_iterator( &self, it: impl CastInto<Ref<ConstIterator>>, ) -> CppBox<Iterator>
Calls C++ function: QHash<int, QByteArray>::iterator QHash<int, QByteArray>::erase(QHash<int, QByteArray>::const_iterator it).
Sourcepub unsafe fn find_mut(&self, key: *const c_int) -> CppBox<Iterator>
pub unsafe fn find_mut(&self, key: *const c_int) -> CppBox<Iterator>
Calls C++ function: QHash<int, QByteArray>::iterator QHash<int, QByteArray>::find(const int& key).
Sourcepub unsafe fn find(&self, key: *const c_int) -> CppBox<ConstIterator>
pub unsafe fn find(&self, key: *const c_int) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::find(const int& key) const.
Sourcepub unsafe fn index_mut(&self, key: *const c_int) -> Ref<QByteArray>
pub unsafe fn index_mut(&self, key: *const c_int) -> Ref<QByteArray>
Calls C++ function: QByteArray& QHash<int, QByteArray>::operator[](const int& key).
Sourcepub unsafe fn index(&self, key: *const c_int) -> CppBox<QByteArray>
pub unsafe fn index(&self, key: *const c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QHash<int, QByteArray>::operator[](const int& key) const.
Sourcepub unsafe fn insert(
&self,
key: *const c_int,
value: impl CastInto<Ref<QByteArray>>,
) -> CppBox<Iterator>
pub unsafe fn insert( &self, key: *const c_int, value: impl CastInto<Ref<QByteArray>>, ) -> CppBox<Iterator>
Calls C++ function: QHash<int, QByteArray>::iterator QHash<int, QByteArray>::insert(const int& key, const QByteArray& value).
Sourcepub unsafe fn insert_multi(
&self,
key: *const c_int,
value: impl CastInto<Ref<QByteArray>>,
) -> CppBox<Iterator>
pub unsafe fn insert_multi( &self, key: *const c_int, value: impl CastInto<Ref<QByteArray>>, ) -> CppBox<Iterator>
Calls C++ function: QHash<int, QByteArray>::iterator QHash<int, QByteArray>::insertMulti(const int& key, const QByteArray& value).
Sourcepub unsafe fn is_detached(&self) -> bool
pub unsafe fn is_detached(&self) -> bool
Calls C++ function: bool QHash<int, QByteArray>::isDetached() const.
Sourcepub unsafe fn is_empty(&self) -> bool
pub unsafe fn is_empty(&self) -> bool
Calls C++ function: bool QHash<int, QByteArray>::isEmpty() const.
Sourcepub unsafe fn key_1a(&self, value: impl CastInto<Ref<QByteArray>>) -> c_int
pub unsafe fn key_1a(&self, value: impl CastInto<Ref<QByteArray>>) -> c_int
Calls C++ function: int QHash<int, QByteArray>::key(const QByteArray& value) const.
Sourcepub unsafe fn key_2a(
&self,
value: impl CastInto<Ref<QByteArray>>,
default_key: *const c_int,
) -> c_int
pub unsafe fn key_2a( &self, value: impl CastInto<Ref<QByteArray>>, default_key: *const c_int, ) -> c_int
Calls C++ function: int QHash<int, QByteArray>::key(const QByteArray& value, const int& defaultKey) const.
Sourcepub unsafe fn key_begin(&self) -> CppBox<KeyIterator>
pub unsafe fn key_begin(&self) -> CppBox<KeyIterator>
Calls C++ function: QHash<int, QByteArray>::key_iterator QHash<int, QByteArray>::keyBegin() const.
Sourcepub unsafe fn key_end(&self) -> CppBox<KeyIterator>
pub unsafe fn key_end(&self) -> CppBox<KeyIterator>
Calls C++ function: QHash<int, QByteArray>::key_iterator QHash<int, QByteArray>::keyEnd() const.
Sourcepub unsafe fn keys_0a(&self) -> CppBox<QListOfInt>
pub unsafe fn keys_0a(&self) -> CppBox<QListOfInt>
Calls C++ function: QList<int> QHash<int, QByteArray>::keys() const.
Sourcepub unsafe fn keys_1a(
&self,
value: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QListOfInt>
pub unsafe fn keys_1a( &self, value: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QListOfInt>
Calls C++ function: QList<int> QHash<int, QByteArray>::keys(const QByteArray& value) const.
Sourcepub unsafe fn new() -> CppBox<QHashOfIntQByteArray>
pub unsafe fn new() -> CppBox<QHashOfIntQByteArray>
Calls C++ function: [constructor] void QHash<int, QByteArray>::QHash().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QHashOfIntQByteArray>>,
) -> CppBox<QHashOfIntQByteArray>
pub unsafe fn new_copy( other: impl CastInto<Ref<QHashOfIntQByteArray>>, ) -> CppBox<QHashOfIntQByteArray>
Calls C++ function: [constructor] void QHash<int, QByteArray>::QHash(const QHash<int, QByteArray>& other).
Sourcepub unsafe fn remove(&self, key: *const c_int) -> c_int
pub unsafe fn remove(&self, key: *const c_int) -> c_int
Calls C++ function: int QHash<int, QByteArray>::remove(const int& key).
Sourcepub unsafe fn reserve(&self, size: c_int)
pub unsafe fn reserve(&self, size: c_int)
Calls C++ function: void QHash<int, QByteArray>::reserve(int size).
Sourcepub unsafe fn set_sharable(&self, sharable: bool)
pub unsafe fn set_sharable(&self, sharable: bool)
Calls C++ function: void QHash<int, QByteArray>::setSharable(bool sharable).
Sourcepub unsafe fn size(&self) -> c_int
pub unsafe fn size(&self) -> c_int
Calls C++ function: int QHash<int, QByteArray>::size() const.
Sourcepub unsafe fn take(&self, key: *const c_int) -> CppBox<QByteArray>
pub unsafe fn take(&self, key: *const c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QHash<int, QByteArray>::take(const int& key).
Sourcepub unsafe fn unique_keys(&self) -> CppBox<QListOfInt>
pub unsafe fn unique_keys(&self) -> CppBox<QListOfInt>
Calls C++ function: QList<int> QHash<int, QByteArray>::uniqueKeys() const.
Sourcepub unsafe fn value_1a(&self, key: *const c_int) -> CppBox<QByteArray>
pub unsafe fn value_1a(&self, key: *const c_int) -> CppBox<QByteArray>
Calls C++ function: QByteArray QHash<int, QByteArray>::value(const int& key) const.
Sourcepub unsafe fn value_2a(
&self,
key: *const c_int,
default_value: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QByteArray>
pub unsafe fn value_2a( &self, key: *const c_int, default_value: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArray>
Calls C++ function: QByteArray QHash<int, QByteArray>::value(const int& key, const QByteArray& defaultValue) const.
Sourcepub unsafe fn values_0a(&self) -> CppBox<QListOfQByteArray>
pub unsafe fn values_0a(&self) -> CppBox<QListOfQByteArray>
Calls C++ function: QList<QByteArray> QHash<int, QByteArray>::values() const.
Trait Implementations§
Source§impl Begin for QHashOfIntQByteArray
impl Begin for QHashOfIntQByteArray
Source§unsafe fn begin(&self) -> CppBox<ConstIterator>
unsafe fn begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::begin() const.
Source§type Output = CppBox<ConstIterator>
type Output = CppBox<ConstIterator>
Source§impl BeginMut for QHashOfIntQByteArray
impl BeginMut for QHashOfIntQByteArray
Source§impl CppDeletable for QHashOfIntQByteArray
impl CppDeletable for QHashOfIntQByteArray
Source§impl End for QHashOfIntQByteArray
impl End for QHashOfIntQByteArray
Source§unsafe fn end(&self) -> CppBox<ConstIterator>
unsafe fn end(&self) -> CppBox<ConstIterator>
Calls C++ function: QHash<int, QByteArray>::const_iterator QHash<int, QByteArray>::end() const.