pub struct QTimerEvent { /* private fields */ }Expand description
C++ class: QTimerEvent.
Implementations§
Source§impl QTimerEvent
impl QTimerEvent
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QTimerEvent>>,
) -> Ref<QTimerEvent>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QTimerEvent>>, ) -> Ref<QTimerEvent>
Calls C++ function: QTimerEvent& QTimerEvent::operator=(const QTimerEvent& other).
Sourcepub unsafe fn new(timer_id: c_int) -> CppBox<QTimerEvent>
pub unsafe fn new(timer_id: c_int) -> CppBox<QTimerEvent>
Calls C++ function: [constructor] void QTimerEvent::QTimerEvent(int timerId).
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QTimerEvent>>,
) -> CppBox<QTimerEvent>
pub unsafe fn new_copy( other: impl CastInto<Ref<QTimerEvent>>, ) -> CppBox<QTimerEvent>
Calls C++ function: [constructor] void QTimerEvent::QTimerEvent(const QTimerEvent& 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 QTimerEvent
impl CppDeletable for QTimerEvent
Source§impl Deref for QTimerEvent
impl Deref for QTimerEvent
Source§impl DynamicCast<QTimerEvent> for QEvent
impl DynamicCast<QTimerEvent> for QEvent
Source§unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QTimerEvent>
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QTimerEvent>
Calls C++ function: QTimerEvent* dynamic_cast<QTimerEvent*>(QEvent* ptr).
Source§impl StaticDowncast<QTimerEvent> for QEvent
impl StaticDowncast<QTimerEvent> for QEvent
Source§unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QTimerEvent>
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QTimerEvent>
Calls C++ function: QTimerEvent* static_cast<QTimerEvent*>(QEvent* ptr).
Source§impl StaticUpcast<QEvent> for QTimerEvent
impl StaticUpcast<QEvent> for QTimerEvent
Source§unsafe fn static_upcast(ptr: Ptr<QTimerEvent>) -> Ptr<QEvent>
unsafe fn static_upcast(ptr: Ptr<QTimerEvent>) -> Ptr<QEvent>
Calls C++ function: QEvent* static_cast<QEvent*>(QTimerEvent* ptr).
Auto Trait Implementations§
impl Freeze for QTimerEvent
impl RefUnwindSafe for QTimerEvent
impl Send for QTimerEvent
impl Sync for QTimerEvent
impl Unpin for QTimerEvent
impl UnsafeUnpin for QTimerEvent
impl UnwindSafe for QTimerEvent
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