Struct qmetaobject::QPixmap
source · #[repr(C)]pub struct QPixmap { /* private fields */ }
Expand description
Wrapper around QPixmap
class.
Implementations§
Trait Implementations§
source§impl QMetaType for QPixmap
impl QMetaType for QPixmap
fn id() -> i32
source§fn to_qvariant(&self) -> QVariant
fn to_qvariant(&self) -> QVariant
Returns a QVariant containing a copy of this object
source§fn from_qvariant(variant: QVariant) -> Option<Self>
fn from_qvariant(variant: QVariant) -> Option<Self>
Attempt to convert from a QVariant to this type.
source§const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString> = None
const CONVERSION_TO_STRING: Option<fn(_: &Self) -> QString> = None
If this is set to a function, it enable the conversion to and from QString
const CONVERSION_FROM_STRING: Option<fn(_: &QString) -> Self> = None
Auto Trait Implementations§
impl RefUnwindSafe for QPixmap
impl Send for QPixmap
impl Sync for QPixmap
impl Unpin for QPixmap
impl UnwindSafe for QPixmap
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more