[][src]Struct propertybindings::items::Geometry

pub struct Geometry<'a> {
    pub x: Property<'a, f64>,
    pub y: Property<'a, f64>,
    pub width: Property<'a, f64>,
    pub height: Property<'a, f64>,
}

Fields

x: Property<'a, f64>y: Property<'a, f64>width: Property<'a, f64>height: Property<'a, f64>

Methods

impl<'a> Geometry<'a>[src]

pub fn width(&self) -> f64[src]

pub fn height(&self) -> f64[src]

pub fn left(&self) -> f64[src]

pub fn top(&self) -> f64[src]

pub fn right(&self) -> f64[src]

pub fn bottom(&self) -> f64[src]

pub fn vertical_center(&self) -> f64[src]

pub fn horizontal_center(&self) -> f64[src]

pub fn to_qrectf(&self) -> QRectF[src]

Trait Implementations

impl<'a> Default for Geometry<'a>[src]

Auto Trait Implementations

impl<'a> !Send for Geometry<'a>

impl<'a> Unpin for Geometry<'a>

impl<'a> !Sync for Geometry<'a>

impl<'a> !UnwindSafe for Geometry<'a>

impl<'a> !RefUnwindSafe for Geometry<'a>

Blanket Implementations

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

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

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.

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

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

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