[][src]Struct qt_widgets::q_action::Priority

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

This enum defines priorities for actions in user interface.

C++ enum: QAction::Priority.

C++ documentation:

This enum defines priorities for actions in user interface.

This enum was introduced or modified in Qt 4.6.

See also priority.

Methods

impl Priority[src]

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

impl Priority[src]

pub const LowPriority: Priority[src]

The action should not be prioritized in the user interface. (C++ enum variant: LowPriority = 0)

pub const NormalPriority: Priority[src]

  (C++ enum variant: NormalPriority = 128)

pub const HighPriority: Priority[src]

The action should be prioritized in the user interface. (C++ enum variant: HighPriority = 256)

Trait Implementations

impl Eq for Priority[src]

impl Clone for Priority[src]

impl PartialEq<Priority> for Priority[src]

impl From<i32> for Priority[src]

impl From<Priority> for c_int[src]

impl Copy for Priority[src]

impl Debug for Priority[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]