[][src]Struct qt_gui::QWindowStateChangeEvent

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

The QWindowStateChangeEvent class provides the window state before a window state change.

C++ class: QWindowStateChangeEvent.

C++ documentation:

The QWindowStateChangeEvent class provides the window state before a window state change.

Methods

impl QWindowStateChangeEvent[src]

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

The QWindowStateChangeEvent class provides the window state before a window state change.

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

C++ documentation:

The QWindowStateChangeEvent class provides the window state before a window state change.

pub unsafe fn is_override(&self) -> bool[src]

Calls C++ function: bool QWindowStateChangeEvent::isOverride() const.

pub unsafe fn new_2a(
    a_old_state: QFlags<WindowState>,
    is_override: bool
) -> CppBox<QWindowStateChangeEvent>
[src]

Calls C++ function: [constructor] void QWindowStateChangeEvent::QWindowStateChangeEvent(QFlags<Qt::WindowState> aOldState, bool isOverride = …).

pub unsafe fn new_1a(
    a_old_state: QFlags<WindowState>
) -> CppBox<QWindowStateChangeEvent>
[src]

Calls C++ function: [constructor] void QWindowStateChangeEvent::QWindowStateChangeEvent(QFlags<Qt::WindowState> aOldState).

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

The QWindowStateChangeEvent class provides the window state before a window state change.

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

C++ documentation:

The QWindowStateChangeEvent class provides the window state before a window state change.

pub unsafe fn old_state(&self) -> QFlags<WindowState>[src]

Returns the state of the window before the change.

Calls C++ function: QFlags<Qt::WindowState> QWindowStateChangeEvent::oldState() const.

C++ documentation:

Returns the state of the window before the change.

Trait Implementations

impl CppDeletable for QWindowStateChangeEvent[src]

unsafe fn delete(&mut self)[src]

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

impl Deref for QWindowStateChangeEvent[src]

type Target = QEvent

The resulting type after dereferencing.

fn deref(&self) -> &QEvent[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QWindowStateChangeEvent* ptr).

impl DerefMut for QWindowStateChangeEvent[src]

fn deref_mut(&mut self) -> &mut QEvent[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QWindowStateChangeEvent* ptr).

impl DynamicCast<QWindowStateChangeEvent> for QEvent[src]

unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QWindowStateChangeEvent>[src]

Calls C++ function: QWindowStateChangeEvent* dynamic_cast<QWindowStateChangeEvent*>(QEvent* ptr).

unsafe fn dynamic_cast_mut(
    ptr: MutPtr<QEvent>
) -> MutPtr<QWindowStateChangeEvent>
[src]

Calls C++ function: QWindowStateChangeEvent* dynamic_cast<QWindowStateChangeEvent*>(QEvent* ptr).

impl StaticDowncast<QWindowStateChangeEvent> for QEvent[src]

unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QWindowStateChangeEvent>[src]

Calls C++ function: QWindowStateChangeEvent* static_cast<QWindowStateChangeEvent*>(QEvent* ptr).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QEvent>
) -> MutPtr<QWindowStateChangeEvent>
[src]

Calls C++ function: QWindowStateChangeEvent* static_cast<QWindowStateChangeEvent*>(QEvent* ptr).

impl StaticUpcast<QEvent> for QWindowStateChangeEvent[src]

unsafe fn static_upcast(ptr: Ptr<QWindowStateChangeEvent>) -> Ptr<QEvent>[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QWindowStateChangeEvent* ptr).

unsafe fn static_upcast_mut(
    ptr: MutPtr<QWindowStateChangeEvent>
) -> MutPtr<QEvent>
[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QWindowStateChangeEvent* ptr).

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.