[−][src]Struct qt_widgets::QTileRules
The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.
C++ class: QTileRules
.
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]
&self,
other: impl CastInto<Ref<QTileRules>>
) -> Ref<QTileRules>
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)
.
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]
horizontal_rule: TileRule,
vertical_rule: TileRule
) -> CppBox<QTileRules>
Constructs a QTileRules with the given horizontalRule and verticalRule.
Calls C++ function: [constructor] void QTileRules::QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule)
.
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 = …)
.
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()
.
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]
other: impl CastInto<Ref<QTileRules>>
) -> CppBox<QTileRules>
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)
.
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()
.
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
impl RefUnwindSafe for QTileRules
impl Send for QTileRules
impl Sync for QTileRules
impl Unpin for QTileRules
impl UnwindSafe for QTileRules
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,