[][src]Struct qt_gui::QExposeEvent

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

The QExposeEvent class contains event parameters for expose events.

C++ class: QExposeEvent.

C++ documentation:

The QExposeEvent class contains event parameters for expose events.

Expose events are sent to windows when an area of the window is invalidated or window visibility in the windowing system changes.

The event handler QWindow::exposeEvent() receives expose events.

Methods

impl QExposeEvent[src]

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

The QExposeEvent class contains event parameters for expose events.

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

C++ documentation:

The QExposeEvent class contains event parameters for expose events.

Expose events are sent to windows when an area of the window is invalidated or window visibility in the windowing system changes.

The event handler QWindow::exposeEvent() receives expose events.

pub unsafe fn new(rgn: impl CastInto<Ref<QRegion>>) -> CppBox<QExposeEvent>[src]

Constructs an expose event for the given exposeRegion which must be in local coordinates.

Calls C++ function: [constructor] void QExposeEvent::QExposeEvent(const QRegion& rgn).

C++ documentation:

Constructs an expose event for the given exposeRegion which must be in local coordinates.

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

The QExposeEvent class contains event parameters for expose events.

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

C++ documentation:

The QExposeEvent class contains event parameters for expose events.

Expose events are sent to windows when an area of the window is invalidated or window visibility in the windowing system changes.

The event handler QWindow::exposeEvent() receives expose events.

pub unsafe fn region(&self) -> Ref<QRegion>[src]

Returns the window area that has been exposed. The region is given in local coordinates.

Calls C++ function: const QRegion& QExposeEvent::region() const.

C++ documentation:

Returns the window area that has been exposed. The region is given in local coordinates.

Trait Implementations

impl CppDeletable for QExposeEvent[src]

unsafe fn delete(&mut self)[src]

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

impl Deref for QExposeEvent[src]

type Target = QEvent

The resulting type after dereferencing.

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

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

impl DerefMut for QExposeEvent[src]

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

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

impl DynamicCast<QExposeEvent> for QEvent[src]

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

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

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

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

impl StaticDowncast<QExposeEvent> for QEvent[src]

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

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

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

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

impl StaticUpcast<QEvent> for QExposeEvent[src]

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

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

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

Calls C++ function: QEvent* static_cast<QEvent*>(QExposeEvent* 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.