[−]Struct qmetaobject::qttypes::QVariantList
Wrapper around QVariantList
Methods
impl QVariantList
[src]
pub fn push(&mut self, value: QVariant)
[src]
pub fn insert(&mut self, index: usize, element: QVariant)
[src]
pub fn remove(&mut self, index: usize) -> QVariant
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
Trait Implementations
impl QMetaType for QVariantList
[src]
fn register(_name: Option<&CStr>) -> i32
[src]
fn id() -> i32
[src]
fn to_qvariant(&self) -> QVariant
[src]
fn from_qvariant(variant: QVariant) -> Option<Self>
[src]
const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString>
[src]
const CONVERSION_FROM_STRING: Option<fn(_: &QString) -> Self>
[src]
impl Drop for QVariantList
fn drop(&mut self)
impl From<QVariantList> for QVariant
[src]
fn from(a: QVariantList) -> QVariant
[src]
impl<'a> IntoIterator for &'a QVariantList
[src]
type Item = &'a QVariant
The type of the elements being iterated over.
type IntoIter = QVariantListIterator<'a>
Which kind of iterator are we turning this into?
ⓘImportant traits for QVariantListIterator<'a>fn into_iter(self) -> QVariantListIterator<'a>
[src]
ⓘImportant traits for QVariantListIterator<'a>
impl Clone for QVariantList
fn clone(&self) -> Self
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for QVariantList
fn default() -> Self
impl Index<usize> for QVariantList
[src]
type Output = QVariant
The returned type after indexing.
fn index(&self, index: usize) -> &QVariant
[src]
impl IndexMut<usize> for QVariantList
[src]
impl<T> FromIterator<T> for QVariantList where
T: Into<QVariant>,
[src]
T: Into<QVariant>,
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> QVariantList
[src]
Auto Trait Implementations
impl Send for QVariantList
impl Sync for QVariantList
impl Unpin for QVariantList
impl UnwindSafe for QVariantList
impl RefUnwindSafe for QVariantList
Blanket Implementations
impl<T> QMetaType for T where
T: QGadget + Clone + Default + 'static,
[src]
T: QGadget + Clone + Default + 'static,
fn register(Option<&CStr>) -> i32
[src]
fn id() -> i32
[src]
fn to_qvariant(&self) -> QVariant
[src]
fn from_qvariant(variant: QVariant) -> Option<Self>
[src]
const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString>
[src]
const CONVERSION_FROM_STRING: Option<fn(_: &QString) -> Self>
[src]
impl<T> PropertyType for T where
T: QMetaType,
[src]
T: QMetaType,
unsafe fn pass_to_qt(&mut Self, *mut c_void)
[src]
unsafe fn read_from_qt(*const c_void) -> T
[src]
fn register_type(&CStr) -> i32
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,