[][src]Struct qt_core::q_abstract_transition::TransitionType

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

This enum specifies the kind of transition. By default, the type is an external transition.

C++ enum: QAbstractTransition::TransitionType.

C++ documentation:

This enum specifies the kind of transition. By default, the type is an external transition.

See also QAbstractTransition::transitionType.

Methods

impl TransitionType[src]

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

impl TransitionType[src]

pub const ExternalTransition: TransitionType[src]

Any state that is the source state of a transition (which is not a target-less transition) is left, and re-entered when necessary. (C++ enum variant: ExternalTransition = 0)

pub const InternalTransition: TransitionType[src]

If the target state of a transition is a sub-state of a compound state, and that compound state is the source state, an internal transition will not leave the source state. (C++ enum variant: InternalTransition = 1)

Trait Implementations

impl Clone for TransitionType[src]

impl Copy for TransitionType[src]

impl Debug for TransitionType[src]

impl Eq for TransitionType[src]

impl From<TransitionType> for c_int[src]

impl From<i32> for TransitionType[src]

impl PartialEq<TransitionType> for TransitionType[src]

impl StructuralEq for TransitionType[src]

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