Struct qt_core::q_state_machine::EventPriority
source · pub struct EventPriority(/* private fields */);
Expand description
This enum type specifies the priority of an event posted to the state machine using postEvent().
C++ enum: QStateMachine::EventPriority
.
This enum type specifies the priority of an event posted to the state machine using postEvent().
Events of high priority are processed before events of normal priority.
Implementations§
source§impl EventPriority
impl EventPriority
sourcepub const NormalPriority: EventPriority = _
pub const NormalPriority: EventPriority = _
The event has normal priority. (C++ enum variant: NormalPriority = 0
)
sourcepub const HighPriority: EventPriority = _
pub const HighPriority: EventPriority = _
The event has high priority. (C++ enum variant: HighPriority = 1
)
Trait Implementations§
source§impl Clone for EventPriority
impl Clone for EventPriority
source§fn clone(&self) -> EventPriority
fn clone(&self) -> EventPriority
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventPriority
impl Debug for EventPriority
source§impl From<EventPriority> for c_int
impl From<EventPriority> for c_int
source§fn from(value: EventPriority) -> Self
fn from(value: EventPriority) -> Self
Converts to this type from the input type.
source§impl From<i32> for EventPriority
impl From<i32> for EventPriority
source§impl PartialEq for EventPriority
impl PartialEq for EventPriority
source§fn eq(&self, other: &EventPriority) -> bool
fn eq(&self, other: &EventPriority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EventPriority
impl Eq for EventPriority
impl StructuralEq for EventPriority
impl StructuralPartialEq for EventPriority
Auto Trait Implementations§
impl RefUnwindSafe for EventPriority
impl Send for EventPriority
impl Sync for EventPriority
impl Unpin for EventPriority
impl UnwindSafe for EventPriority
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