Struct cxx_qt_lib::Variant
source · [−]pub struct Variant { /* private fields */ }
Implementations
sourceimpl Variant
impl Variant
pub fn value(&self) -> VariantValue
Trait Implementations
sourceimpl ExternType for Variant
impl ExternType for Variant
type Id = (C, x, x, Q, t, (), V, a, r, i, a, n, t)
type Id = (C, x, x, Q, t, (), V, a, r, i, a, n, t)
A type-level representation of the type’s C++ namespace and type name. Read more
type Kind = Opaque
type Kind = Opaque
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more
sourceimpl ToUniquePtr for Variant
impl ToUniquePtr for Variant
Auto Trait Implementations
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl !Unpin for Variant
impl UnwindSafe for Variant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more