Struct qmetaobject::QRectF[][src]

#[repr(C)]
pub struct QRectF { pub x: f64, pub y: f64, pub width: f64, pub height: f64, }

Bindings for QRectF class.

Fields

x: f64y: f64width: f64height: f64

Implementations

impl QRectF[src]

pub fn contains(&self, pos: QPointF) -> bool[src]

Wrapper around contains(const QPointF &) method.

pub fn top_left(&self) -> QPointF[src]

Same as the topLeft method.

pub fn is_valid(&self) -> bool[src]

Same as the isValid method.

Trait Implementations

impl Clone for QRectF[src]

impl Copy for QRectF[src]

impl Debug for QRectF[src]

impl Default for QRectF[src]

impl PartialEq<QRectF> for QRectF[src]

impl QMetaType for QRectF[src]

impl StructuralPartialEq for QRectF[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> PropertyType for T where
    T: QMetaType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.