[][src]Struct qt_core::AnchorPoint

#[repr(transparent)]pub struct AnchorPoint(_);

Specifies a side of a layout item that can be anchored. This is used by QGraphicsAnchorLayout.

C++ enum: Qt::AnchorPoint.

C++ documentation:

Specifies a side of a layout item that can be anchored. This is used by QGraphicsAnchorLayout.

See also QGraphicsAnchorLayout.

Methods

impl AnchorPoint[src]

pub fn to_int(&self) -> c_int[src]

impl AnchorPoint[src]

pub const AnchorLeft: AnchorPoint[src]

The left side of a layout item. (C++ enum variant: AnchorLeft = 0)

pub const AnchorHorizontalCenter: AnchorPoint[src]

A "virtual" side that is centered between the left and the right side of a layout item. (C++ enum variant: AnchorHorizontalCenter = 1)

pub const AnchorRight: AnchorPoint[src]

The right side of a layout item. (C++ enum variant: AnchorRight = 2)

pub const AnchorTop: AnchorPoint[src]

The top side of a layout item. (C++ enum variant: AnchorTop = 3)

pub const AnchorVerticalCenter: AnchorPoint[src]

A "virtual" side that is centered between the top and the bottom side of a layout item. (C++ enum variant: AnchorVerticalCenter = 4)

pub const AnchorBottom: AnchorPoint[src]

The bottom side of a layout item. (C++ enum variant: AnchorBottom = 5)

Trait Implementations

impl Clone for AnchorPoint[src]

impl Copy for AnchorPoint[src]

impl Debug for AnchorPoint[src]

impl Eq for AnchorPoint[src]

impl From<AnchorPoint> for c_int[src]

impl From<i32> for AnchorPoint[src]

impl PartialEq<AnchorPoint> for AnchorPoint[src]

impl StructuralEq for AnchorPoint[src]

impl StructuralPartialEq for AnchorPoint[src]

Auto Trait Implementations

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, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

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

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

impl<T> StaticUpcast<T> for T[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.