Struct qmetaobject::QSizeF
source · #[repr(C)]pub struct QSizeF {
pub width: f64,
pub height: f64,
}
Expand description
Bindings for QSizeF
class.
Fields§
§width: f64
§height: f64
Trait Implementations§
source§impl PartialEq for QSizeF
impl PartialEq for QSizeF
source§impl QMetaType for QSizeF
impl QMetaType for QSizeF
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
impl Copy for QSizeF
impl StructuralPartialEq for QSizeF
Auto Trait Implementations§
impl RefUnwindSafe for QSizeF
impl Send for QSizeF
impl Sync for QSizeF
impl Unpin for QSizeF
impl UnwindSafe for QSizeF
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