[][src]Struct qt_core::q_state_machine::EventPriority

#[repr(transparent)]pub struct EventPriority(_);

This enum type specifies the priority of an event posted to the state machine using postEvent().

C++ enum: QStateMachine::EventPriority.

C++ documentation:

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.

Methods

impl EventPriority[src]

pub fn to_int(&self) -> c_int[src]

impl EventPriority[src]

pub const NormalPriority: EventPriority[src]

The event has normal priority. (C++ enum variant: NormalPriority = 0)

pub const HighPriority: EventPriority[src]

The event has high priority. (C++ enum variant: HighPriority = 1)

Trait Implementations

impl Clone for EventPriority[src]

impl Copy for EventPriority[src]

impl Debug for EventPriority[src]

impl Eq for EventPriority[src]

impl From<EventPriority> for c_int[src]

impl From<i32> for EventPriority[src]

impl PartialEq<EventPriority> for EventPriority[src]

impl StructuralEq for EventPriority[src]

impl StructuralPartialEq for EventPriority[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.