[−][src]Struct qt_widgets::QStyleHintReturnMask
The QStyleHintReturnMask class provides style hints that return a QRegion.
C++ class: QStyleHintReturnMask
.
The QStyleHintReturnMask class provides style hints that return a QRegion.
Methods
impl QStyleHintReturnMask
[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QStyleHintReturnMask>>
) -> MutRef<QStyleHintReturnMask>
[src]
&mut self,
other: impl CastInto<Ref<QStyleHintReturnMask>>
) -> MutRef<QStyleHintReturnMask>
The QStyleHintReturnMask class provides style hints that return a QRegion.
Calls C++ function: QStyleHintReturnMask& QStyleHintReturnMask::operator=(const QStyleHintReturnMask& other)
.
The QStyleHintReturnMask class provides style hints that return a QRegion.
pub unsafe fn new() -> CppBox<QStyleHintReturnMask>
[src]
Constructs a QStyleHintReturnMask. The member variables are initialized to default values.
Calls C++ function: [constructor] void QStyleHintReturnMask::QStyleHintReturnMask()
.
Constructs a QStyleHintReturnMask. The member variables are initialized to default values.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QStyleHintReturnMask>>
) -> CppBox<QStyleHintReturnMask>
[src]
other: impl CastInto<Ref<QStyleHintReturnMask>>
) -> CppBox<QStyleHintReturnMask>
The QStyleHintReturnMask class provides style hints that return a QRegion.
Calls C++ function: [constructor] void QStyleHintReturnMask::QStyleHintReturnMask(const QStyleHintReturnMask& other)
.
The QStyleHintReturnMask class provides style hints that return a QRegion.
pub unsafe fn region(&self) -> Ref<QRegion>
[src]
Returns a reference to the region
field.
pub unsafe fn region_mut(&mut self) -> MutRef<QRegion>
[src]
Returns a mutable reference to the region
field.
pub unsafe fn set_region(&mut self, value: impl CastInto<Ref<QRegion>>)
[src]
Sets the value of the region
field.
Methods from Deref<Target = QStyleHintReturn>
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QStyleHintReturn>>
) -> MutRef<QStyleHintReturn>
[src]
&mut self,
other: impl CastInto<Ref<QStyleHintReturn>>
) -> MutRef<QStyleHintReturn>
The QStyleHintReturn class provides style hints that return more than basic data types.
Calls C++ function: QStyleHintReturn& QStyleHintReturn::operator=(const QStyleHintReturn& other)
.
The QStyleHintReturn class provides style hints that return more than basic data types.
QStyleHintReturn and its subclasses are used to pass information from a style back to the querying widget. This is most useful when the return value from QStyle::styleHint() does not provide enough detail; for example, when a mask is to be returned.
pub unsafe fn set_type(&mut self, value: c_int)
[src]
Sets the value of the type
field.
pub unsafe fn set_version(&mut self, value: c_int)
[src]
Sets the value of the version
field.
pub unsafe fn type_(&self) -> c_int
[src]
Returns the value of the type
field.
pub unsafe fn version(&self) -> c_int
[src]
Returns the value of the version
field.
Trait Implementations
impl Deref for QStyleHintReturnMask
[src]
type Target = QStyleHintReturn
The resulting type after dereferencing.
fn deref(&self) -> &QStyleHintReturn
[src]
Calls C++ function: QStyleHintReturn* static_cast<QStyleHintReturn*>(QStyleHintReturnMask* ptr)
.
impl DerefMut for QStyleHintReturnMask
[src]
fn deref_mut(&mut self) -> &mut QStyleHintReturn
[src]
Calls C++ function: QStyleHintReturn* static_cast<QStyleHintReturn*>(QStyleHintReturnMask* ptr)
.
impl StaticUpcast<QStyleHintReturn> for QStyleHintReturnMask
[src]
unsafe fn static_upcast(ptr: Ptr<QStyleHintReturnMask>) -> Ptr<QStyleHintReturn>
[src]
Calls C++ function: QStyleHintReturn* static_cast<QStyleHintReturn*>(QStyleHintReturnMask* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QStyleHintReturnMask>
) -> MutPtr<QStyleHintReturn>
[src]
ptr: MutPtr<QStyleHintReturnMask>
) -> MutPtr<QStyleHintReturn>
Calls C++ function: QStyleHintReturn* static_cast<QStyleHintReturn*>(QStyleHintReturnMask* ptr)
.
impl StaticDowncast<QStyleHintReturnMask> for QStyleHintReturn
[src]
unsafe fn static_downcast(
ptr: Ptr<QStyleHintReturn>
) -> Ptr<QStyleHintReturnMask>
[src]
ptr: Ptr<QStyleHintReturn>
) -> Ptr<QStyleHintReturnMask>
Calls C++ function: QStyleHintReturnMask* static_cast<QStyleHintReturnMask*>(QStyleHintReturn* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QStyleHintReturn>
) -> MutPtr<QStyleHintReturnMask>
[src]
ptr: MutPtr<QStyleHintReturn>
) -> MutPtr<QStyleHintReturnMask>
Calls C++ function: QStyleHintReturnMask* static_cast<QStyleHintReturnMask*>(QStyleHintReturn* ptr)
.
impl CppDeletable for QStyleHintReturnMask
[src]
Auto Trait Implementations
impl Send for QStyleHintReturnMask
impl Sync for QStyleHintReturnMask
impl Unpin for QStyleHintReturnMask
impl RefUnwindSafe for QStyleHintReturnMask
impl UnwindSafe for QStyleHintReturnMask
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,