pub struct QCloseEvent { /* private fields */ }Expand description
C++ class: QCloseEvent.
Implementations§
Source§impl QCloseEvent
impl QCloseEvent
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QCloseEvent>>,
) -> Ref<QCloseEvent>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QCloseEvent>>, ) -> Ref<QCloseEvent>
Calls C++ function: QCloseEvent& QCloseEvent::operator=(const QCloseEvent& other).
Sourcepub unsafe fn new() -> CppBox<QCloseEvent>
pub unsafe fn new() -> CppBox<QCloseEvent>
Calls C++ function: [constructor] void QCloseEvent::QCloseEvent().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QCloseEvent>>,
) -> CppBox<QCloseEvent>
pub unsafe fn new_copy( other: impl CastInto<Ref<QCloseEvent>>, ) -> CppBox<QCloseEvent>
Calls C++ function: [constructor] void QCloseEvent::QCloseEvent(const QCloseEvent& other).
Methods from Deref<Target = QEvent>§
Sourcepub unsafe fn copy_from(&self, other: impl CastInto<Ref<QEvent>>) -> Ref<QEvent>
pub unsafe fn copy_from(&self, other: impl CastInto<Ref<QEvent>>) -> Ref<QEvent>
Calls C++ function: QEvent& QEvent::operator=(const QEvent& other).
Sourcepub unsafe fn is_accepted(&self) -> bool
pub unsafe fn is_accepted(&self) -> bool
Calls C++ function: bool QEvent::isAccepted() const.
Sourcepub unsafe fn set_accepted(&self, accepted: bool)
pub unsafe fn set_accepted(&self, accepted: bool)
Calls C++ function: void QEvent::setAccepted(bool accepted).
Sourcepub unsafe fn spontaneous(&self) -> bool
pub unsafe fn spontaneous(&self) -> bool
Calls C++ function: bool QEvent::spontaneous() const.
Trait Implementations§
Source§impl CppDeletable for QCloseEvent
impl CppDeletable for QCloseEvent
Source§impl Deref for QCloseEvent
impl Deref for QCloseEvent
Source§impl DynamicCast<QCloseEvent> for QEvent
impl DynamicCast<QCloseEvent> for QEvent
Source§unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QCloseEvent>
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QCloseEvent>
Calls C++ function: QCloseEvent* dynamic_cast<QCloseEvent*>(QEvent* ptr).
Source§impl StaticDowncast<QCloseEvent> for QEvent
impl StaticDowncast<QCloseEvent> for QEvent
Source§unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QCloseEvent>
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QCloseEvent>
Calls C++ function: QCloseEvent* static_cast<QCloseEvent*>(QEvent* ptr).
Source§impl StaticUpcast<QEvent> for QCloseEvent
impl StaticUpcast<QEvent> for QCloseEvent
Source§unsafe fn static_upcast(ptr: Ptr<QCloseEvent>) -> Ptr<QEvent>
unsafe fn static_upcast(ptr: Ptr<QCloseEvent>) -> Ptr<QEvent>
Calls C++ function: QEvent* static_cast<QEvent*>(QCloseEvent* ptr).
Auto Trait Implementations§
impl Freeze for QCloseEvent
impl RefUnwindSafe for QCloseEvent
impl Send for QCloseEvent
impl Sync for QCloseEvent
impl Unpin for QCloseEvent
impl UnsafeUnpin for QCloseEvent
impl UnwindSafe for QCloseEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more