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