[][src]Struct qt_widgets::QTileRules

#[repr(C)]pub struct QTileRules { /* fields omitted */ }

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

C++ class: QTileRules.

C++ documentation:

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Spliiting is similar to CSS3 border-images.

Methods

impl QTileRules[src]

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<QTileRules>>
) -> Ref<QTileRules>
[src]

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Calls C++ function: QTileRules& QTileRules::operator=(const QTileRules& other).

C++ documentation:

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Spliiting is similar to CSS3 border-images.

pub unsafe fn horizontal(&self) -> TileRule[src]

Returns the value of the horizontal field.

pub unsafe fn new_2a(
    horizontal_rule: TileRule,
    vertical_rule: TileRule
) -> CppBox<QTileRules>
[src]

Constructs a QTileRules with the given horizontalRule and verticalRule.

Calls C++ function: [constructor] void QTileRules::QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule).

C++ documentation:

Constructs a QTileRules with the given horizontalRule and verticalRule.

pub unsafe fn new_1a(rule: TileRule) -> CppBox<QTileRules>[src]

Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule.

Calls C++ function: [constructor] void QTileRules::QTileRules(Qt::TileRule rule = …).

C++ documentation:

Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule.

pub unsafe fn new_0a() -> CppBox<QTileRules>[src]

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Calls C++ function: [constructor] void QTileRules::QTileRules().

C++ documentation:

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Spliiting is similar to CSS3 border-images.

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QTileRules>>
) -> CppBox<QTileRules>
[src]

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Calls C++ function: [constructor] void QTileRules::QTileRules(const QTileRules& other).

C++ documentation:

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Spliiting is similar to CSS3 border-images.

pub unsafe fn set_horizontal(&self, value: TileRule)[src]

Sets the value of the horizontal field.

pub unsafe fn set_vertical(&self, value: TileRule)[src]

Sets the value of the vertical field.

pub unsafe fn vertical(&self) -> TileRule[src]

Returns the value of the vertical field.

Trait Implementations

impl CppDeletable for QTileRules[src]

unsafe fn delete(&self)[src]

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Calls C++ function: [destructor] void QTileRules::~QTileRules().

C++ documentation:

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Spliiting is similar to CSS3 border-images.

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, 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.