Struct qmetaobject::QVariant[][src]

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

Wrapper around QVariant class.

Implementations

impl QVariant[src]

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

Wrapper around toByteArray() method.

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

Wrapper around toBool() method.

pub fn user_type(&self) -> i32[src]

Wrapper around userType() method.

Trait Implementations

impl Clone for QVariant[src]

impl Default for QVariant[src]

impl Drop for QVariant[src]

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

impl From<QByteArray> for QVariant[src]

pub fn from(a: QByteArray) -> QVariant[src]

Wrapper around QVariant(const QByteArray &) constructor.

impl From<QDate> for QVariant[src]

pub fn from(a: QDate) -> QVariant[src]

Wrapper around QVariant(const QDate &) constructor.

impl From<QDateTime> for QVariant[src]

pub fn from(a: QDateTime) -> QVariant[src]

Wrapper around QVariant(const QDateTime &) constructor.

impl From<QString> for QVariant[src]

pub fn from(a: QString) -> QVariant[src]

Wrapper around QVariant(const QString &) constructor.

impl From<QTime> for QVariant[src]

pub fn from(a: QTime) -> QVariant[src]

Wrapper around QVariant(const QTime &) constructor.

impl From<QUrl> for QVariant[src]

pub fn from(a: QUrl) -> QVariant[src]

Wrapper around QVariant(const QUrl &) constructor.

impl From<QVariantList> for QVariant[src]

pub fn from(a: QVariantList) -> QVariant[src]

Wrapper around QVariant(const QVariantList &) constructor.

impl From<bool> for QVariant[src]

pub fn from(a: bool) -> QVariant[src]

Wrapper around QVariant(bool) constructor.

impl From<f32> for QVariant[src]

pub fn from(a: f32) -> QVariant[src]

Wrapper around QVariant(float) constructor.

impl From<f64> for QVariant[src]

pub fn from(a: f64) -> QVariant[src]

Wrapper around QVariant(double) constructor.

impl From<i32> for QVariant[src]

pub fn from(a: i32) -> QVariant[src]

Wrapper around QVariant(int) constructor.

impl From<i64> for QVariant[src]

pub fn from(a: i64) -> QVariant[src]

Wrapper around QVariant(int) constructor.

impl From<u32> for QVariant[src]

pub fn from(a: u32) -> QVariant[src]

Wrapper around QVariant(uint) constructor.

impl From<u64> for QVariant[src]

pub fn from(a: u64) -> QVariant[src]

Wrapper around QVariant(uint) constructor.

impl PartialEq<QVariant> for QVariant[src]

impl QMetaType for QVariant[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> PropertyType for T where
    T: QMetaType
[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.