[−][src]Struct qt_gui::QApplicationStateChangeEvent
C++ class: QApplicationStateChangeEvent
.
Methods
impl QApplicationStateChangeEvent
[src]
pub unsafe fn application_state(&self) -> ApplicationState
[src]
Returns the state of the application.
Calls C++ function: Qt::ApplicationState QApplicationStateChangeEvent::applicationState() const
.
Returns the state of the application.
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QApplicationStateChangeEvent>>
) -> MutRef<QApplicationStateChangeEvent>
[src]
&mut self,
other: impl CastInto<Ref<QApplicationStateChangeEvent>>
) -> MutRef<QApplicationStateChangeEvent>
Calls C++ function: QApplicationStateChangeEvent& QApplicationStateChangeEvent::operator=(const QApplicationStateChangeEvent& other)
.
pub unsafe fn new(
state: ApplicationState
) -> CppBox<QApplicationStateChangeEvent>
[src]
state: ApplicationState
) -> CppBox<QApplicationStateChangeEvent>
Creates a new QApplicationStateChangeEvent. applicationState is the new state.
Calls C++ function: [constructor] void QApplicationStateChangeEvent::QApplicationStateChangeEvent(Qt::ApplicationState state)
.
Creates a new QApplicationStateChangeEvent. applicationState is the new state.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QApplicationStateChangeEvent>>
) -> CppBox<QApplicationStateChangeEvent>
[src]
other: impl CastInto<Ref<QApplicationStateChangeEvent>>
) -> CppBox<QApplicationStateChangeEvent>
Calls C++ function: [constructor] void QApplicationStateChangeEvent::QApplicationStateChangeEvent(const QApplicationStateChangeEvent& other)
.
Trait Implementations
impl CppDeletable for QApplicationStateChangeEvent
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: [destructor] void QApplicationStateChangeEvent::~QApplicationStateChangeEvent()
.
impl Deref for QApplicationStateChangeEvent
[src]
type Target = QEvent
The resulting type after dereferencing.
fn deref(&self) -> &QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QApplicationStateChangeEvent* ptr)
.
impl DerefMut for QApplicationStateChangeEvent
[src]
fn deref_mut(&mut self) -> &mut QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QApplicationStateChangeEvent* ptr)
.
impl DynamicCast<QApplicationStateChangeEvent> for QEvent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QApplicationStateChangeEvent>
[src]
Calls C++ function: QApplicationStateChangeEvent* dynamic_cast<QApplicationStateChangeEvent*>(QEvent* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QEvent>
) -> MutPtr<QApplicationStateChangeEvent>
[src]
ptr: MutPtr<QEvent>
) -> MutPtr<QApplicationStateChangeEvent>
Calls C++ function: QApplicationStateChangeEvent* dynamic_cast<QApplicationStateChangeEvent*>(QEvent* ptr)
.
impl StaticDowncast<QApplicationStateChangeEvent> for QEvent
[src]
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QApplicationStateChangeEvent>
[src]
Calls C++ function: QApplicationStateChangeEvent* static_cast<QApplicationStateChangeEvent*>(QEvent* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QEvent>
) -> MutPtr<QApplicationStateChangeEvent>
[src]
ptr: MutPtr<QEvent>
) -> MutPtr<QApplicationStateChangeEvent>
Calls C++ function: QApplicationStateChangeEvent* static_cast<QApplicationStateChangeEvent*>(QEvent* ptr)
.
impl StaticUpcast<QEvent> for QApplicationStateChangeEvent
[src]
unsafe fn static_upcast(ptr: Ptr<QApplicationStateChangeEvent>) -> Ptr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QApplicationStateChangeEvent* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QApplicationStateChangeEvent>
) -> MutPtr<QEvent>
[src]
ptr: MutPtr<QApplicationStateChangeEvent>
) -> MutPtr<QEvent>
Calls C++ function: QEvent* static_cast<QEvent*>(QApplicationStateChangeEvent* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QApplicationStateChangeEvent
impl Send for QApplicationStateChangeEvent
impl Sync for QApplicationStateChangeEvent
impl Unpin for QApplicationStateChangeEvent
impl UnwindSafe for QApplicationStateChangeEvent
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>,