[][src]Struct qt_gui::QDragLeaveEvent

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

The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.

C++ class: QDragLeaveEvent.

C++ documentation:

The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.

This event is always preceded by a QDragEnterEvent and a series of QDragMoveEvents. It is not sent if a QDropEvent is sent instead.

Methods

impl QDragLeaveEvent[src]

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

The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.

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

C++ documentation:

The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.

This event is always preceded by a QDragEnterEvent and a series of QDragMoveEvents. It is not sent if a QDropEvent is sent instead.

pub unsafe fn new() -> CppBox<QDragLeaveEvent>[src]

Constructs a QDragLeaveEvent.

Calls C++ function: [constructor] void QDragLeaveEvent::QDragLeaveEvent().

C++ documentation:

Constructs a QDragLeaveEvent.

Warning: Do not create a QDragLeaveEvent yourself since these objects rely on Qt's internal state.

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

The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.

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

C++ documentation:

The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.

This event is always preceded by a QDragEnterEvent and a series of QDragMoveEvents. It is not sent if a QDropEvent is sent instead.

Trait Implementations

impl CppDeletable for QDragLeaveEvent[src]

unsafe fn delete(&self)[src]

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

impl Deref for QDragLeaveEvent[src]

type Target = QEvent

The resulting type after dereferencing.

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

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

impl DynamicCast<QDragLeaveEvent> for QEvent[src]

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

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

impl StaticDowncast<QDragLeaveEvent> for QEvent[src]

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

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

impl StaticUpcast<QEvent> for QDragLeaveEvent[src]

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

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