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]
T: Into<QVariant> + Clone,
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]
pub fn eq(&self, other: &QVariant) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl QMetaType for QVariant
[src]
Auto Trait Implementations
impl RefUnwindSafe for QVariant
impl Send for QVariant
impl Sync for QVariant
impl Unpin for QVariant
impl UnwindSafe for QVariant
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> PropertyType for T where
T: QMetaType,
[src]
T: QMetaType,
pub fn register_type(&CStr) -> i32
[src]
pub unsafe fn pass_to_qt(&mut Self, *mut c_void)
[src]
pub unsafe fn read_from_qt(*const c_void) -> T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,