[][src]Struct qt_gui::q_key_sequence::SequenceMatch

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

C++ enum: QKeySequence::SequenceMatch.

C++ documentation:

Methods

impl SequenceMatch[src]

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

impl SequenceMatch[src]

pub const NoMatch: SequenceMatch[src]

The key sequences are different; not even partially matching. (C++ enum variant: NoMatch = 0)

pub const PartialMatch: SequenceMatch[src]

The key sequences match partially, but are not the same. (C++ enum variant: PartialMatch = 1)

pub const ExactMatch: SequenceMatch[src]

The key sequences are the same. (C++ enum variant: ExactMatch = 2)

Trait Implementations

impl Clone for SequenceMatch[src]

impl Copy for SequenceMatch[src]

impl Debug for SequenceMatch[src]

impl Eq for SequenceMatch[src]

impl From<SequenceMatch> for c_int[src]

impl From<i32> for SequenceMatch[src]

impl PartialEq<SequenceMatch> for SequenceMatch[src]

impl StructuralEq for SequenceMatch[src]

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