pub enum QVariantValue {
Show 22 variants Unsupported, Bool(bool), F32(f32), F64(f64), I8(i8), I16(i16), I32(i32), QColor(QColor), QDate(QDate), QDateTime(QDateTime), QPoint(QPoint), QPointF(QPointF), QRect(QRect), QRectF(QRectF), QSize(QSize), QSizeF(QSizeF), QString(QString), QTime(QTime), QUrl(QUrl), U8(u8), U16(u16), U32(u32),
}
Expand description

The Rust inner value of a QVariant

Variants

Unsupported

Bool(bool)

F32(f32)

F64(f64)

I8(i8)

I16(i16)

I32(i32)

QColor(QColor)

QDate(QDate)

QDateTime(QDateTime)

QPoint(QPoint)

QPointF(QPointF)

QRect(QRect)

QRectF(QRectF)

QSize(QSize)

QSizeF(QSizeF)

QString(QString)

QTime(QTime)

QUrl(QUrl)

U8(u8)

U16(u16)

U32(u32)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.