#[repr(transparent)]pub struct QEventLoopProcessEventsFlag {
pub repr: i32,
}Expand description
This enum controls the types of events processed by QEventLoop::process_events.
Fields§
§repr: i32Implementations§
Source§impl QEventLoopProcessEventsFlag
impl QEventLoopProcessEventsFlag
Sourcepub const AllEvents: Self
pub const AllEvents: Self
All events. Note that QEvent::DeferredDelete events are processed specially. See QObject::deleteLater() for more details.
Sourcepub const ExcludeUserInputEvents: Self
pub const ExcludeUserInputEvents: Self
Do not process user input events, such as QEvent::MouseButtonPress and QEvent::KeyPress. Note that the events are not discarded; they will be delivered the next time QEventLoop::process_events is called without this flag.
Sourcepub const ExcludeSocketNotifiers: Self
pub const ExcludeSocketNotifiers: Self
Do not process socket notifier events. Note that the events are not discarded; they will be delivered the next time QEventLoop::process_events is called without this flag.
Sourcepub const WaitForMoreEvents: Self
pub const WaitForMoreEvents: Self
Wait for events if no pending events are available.
Trait Implementations§
Source§impl Clone for QEventLoopProcessEventsFlag
impl Clone for QEventLoopProcessEventsFlag
Source§impl QFlag for QEventLoopProcessEventsFlag
impl QFlag for QEventLoopProcessEventsFlag
Source§type TypeId = (Q, E, v, e, n, t, L, o, o, p, P, r, o, c, e, s, s, E, v, e, n, t, s, F, l, a, g, s)
type TypeId = (Q, E, v, e, n, t, L, o, o, p, P, r, o, c, e, s, s, E, v, e, n, t, s, F, l, a, g, s)
A type-level representation of the C++ namespace and type name of this type’s
QFlags<T>. Read moreimpl Copy for QEventLoopProcessEventsFlag
impl Eq for QEventLoopProcessEventsFlag
impl StructuralPartialEq for QEventLoopProcessEventsFlag
Auto Trait Implementations§
impl Freeze for QEventLoopProcessEventsFlag
impl RefUnwindSafe for QEventLoopProcessEventsFlag
impl Send for QEventLoopProcessEventsFlag
impl Sync for QEventLoopProcessEventsFlag
impl Unpin for QEventLoopProcessEventsFlag
impl UnsafeUnpin for QEventLoopProcessEventsFlag
impl UnwindSafe for QEventLoopProcessEventsFlag
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