[−][src]Struct qt_widgets::QStyleHintReturn
The QStyleHintReturn class provides style hints that return more than basic data types.
C++ class: QStyleHintReturn
.
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.
Methods
impl QStyleHintReturn
[src]
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 new_2a(version: c_int, type_: c_int) -> CppBox<QStyleHintReturn>
[src]
Constructs a QStyleHintReturn with version version and type type.
Calls C++ function: [constructor] void QStyleHintReturn::QStyleHintReturn(int version = …, int type = …)
.
Constructs a QStyleHintReturn with version version and type type.
The version has no special meaning for QStyleHintReturn; it can be used by subclasses to distinguish between different version of the same hint type.
See also QStyleOption::version and QStyleOption::type.
pub unsafe fn new_0a() -> CppBox<QStyleHintReturn>
[src]
The QStyleHintReturn class provides style hints that return more than basic data types.
Calls C++ function: [constructor] void QStyleHintReturn::QStyleHintReturn()
.
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 new_1a(version: c_int) -> CppBox<QStyleHintReturn>
[src]
Constructs a QStyleHintReturn with version version and type type.
Calls C++ function: [constructor] void QStyleHintReturn::QStyleHintReturn(int version = …)
.
Constructs a QStyleHintReturn with version version and type type.
The version has no special meaning for QStyleHintReturn; it can be used by subclasses to distinguish between different version of the same hint type.
See also QStyleOption::version and QStyleOption::type.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QStyleHintReturn>>
) -> CppBox<QStyleHintReturn>
[src]
other: impl CastInto<Ref<QStyleHintReturn>>
) -> CppBox<QStyleHintReturn>
The QStyleHintReturn class provides style hints that return more than basic data types.
Calls C++ function: [constructor] void QStyleHintReturn::QStyleHintReturn(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 CppDeletable for QStyleHintReturn
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: [destructor] void QStyleHintReturn::~QStyleHintReturn()
.
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 StaticDowncast<QStyleHintReturnVariant> for QStyleHintReturn
[src]
unsafe fn static_downcast(
ptr: Ptr<QStyleHintReturn>
) -> Ptr<QStyleHintReturnVariant>
[src]
ptr: Ptr<QStyleHintReturn>
) -> Ptr<QStyleHintReturnVariant>
Calls C++ function: QStyleHintReturnVariant* static_cast<QStyleHintReturnVariant*>(QStyleHintReturn* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QStyleHintReturn>
) -> MutPtr<QStyleHintReturnVariant>
[src]
ptr: MutPtr<QStyleHintReturn>
) -> MutPtr<QStyleHintReturnVariant>
Calls C++ function: QStyleHintReturnVariant* static_cast<QStyleHintReturnVariant*>(QStyleHintReturn* 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 StaticUpcast<QStyleHintReturn> for QStyleHintReturnVariant
[src]
unsafe fn static_upcast(
ptr: Ptr<QStyleHintReturnVariant>
) -> Ptr<QStyleHintReturn>
[src]
ptr: Ptr<QStyleHintReturnVariant>
) -> Ptr<QStyleHintReturn>
Calls C++ function: QStyleHintReturn* static_cast<QStyleHintReturn*>(QStyleHintReturnVariant* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QStyleHintReturnVariant>
) -> MutPtr<QStyleHintReturn>
[src]
ptr: MutPtr<QStyleHintReturnVariant>
) -> MutPtr<QStyleHintReturn>
Calls C++ function: QStyleHintReturn* static_cast<QStyleHintReturn*>(QStyleHintReturnVariant* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QStyleHintReturn
impl Send for QStyleHintReturn
impl Sync for QStyleHintReturn
impl Unpin for QStyleHintReturn
impl UnwindSafe for QStyleHintReturn
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,