[]Struct qmetaobject::qttypes::QVariant

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

Wrapper around a QVariant

Methods

impl QVariant[src]

pub fn to_qbytearray(&self) -> QByteArray[src]

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

Trait Implementations

impl QMetaType for QVariant[src]

impl Drop for QVariant

impl From<QString> for QVariant[src]

impl From<QByteArray> for QVariant[src]

impl From<QDate> for QVariant[src]

impl From<QTime> for QVariant[src]

impl From<QDateTime> for QVariant[src]

impl From<QVariantList> for QVariant[src]

impl From<i32> for QVariant[src]

impl From<u32> for QVariant[src]

impl From<f32> for QVariant[src]

impl From<f64> for QVariant[src]

impl From<bool> for QVariant[src]

impl<'a, T> From<&'a T> for QVariant where
    T: Into<QVariant> + Clone
[src]

impl Clone for QVariant

impl Default for QVariant

impl PartialEq<QVariant> for QVariant

Auto Trait Implementations

Blanket Implementations

impl<T> QMetaType for T where
    T: QGadget + Clone + Default + 'static, 
[src]

impl<T> PropertyType for T where
    T: QMetaType
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]