[][src]Struct qt_gui::q_key_sequence::SequenceFormat

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

C++ enum: QKeySequence::SequenceFormat.

C++ documentation:

Methods

impl SequenceFormat[src]

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

impl SequenceFormat[src]

pub const NativeText: SequenceFormat[src]

The key sequence as a platform specific string. This means that it will be shown translated and on the Mac it will resemble a key sequence from the menu bar. This enum is best used when you want to display the string to the user. (C++ enum variant: NativeText = 0)

pub const PortableText: SequenceFormat[src]

The key sequence is given in a "portable" format, suitable for reading and writing to a file. In many cases, it will look similar to the native text on Windows and X11. (C++ enum variant: PortableText = 1)

Trait Implementations

impl Clone for SequenceFormat[src]

impl Copy for SequenceFormat[src]

impl Debug for SequenceFormat[src]

impl Eq for SequenceFormat[src]

impl From<SequenceFormat> for c_int[src]

impl From<i32> for SequenceFormat[src]

impl PartialEq<SequenceFormat> for SequenceFormat[src]

impl StructuralEq for SequenceFormat[src]

impl StructuralPartialEq for SequenceFormat[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.