Struct qt_core::q_abstract_transition::TransitionType
source · pub struct TransitionType(/* private fields */);
Expand description
This enum specifies the kind of transition. By default, the type is an external transition.
C++ enum: QAbstractTransition::TransitionType
.
This enum specifies the kind of transition. By default, the type is an external transition.
See also QAbstractTransition::transitionType.
Implementations§
source§impl TransitionType
impl TransitionType
sourcepub const ExternalTransition: TransitionType = _
pub const ExternalTransition: TransitionType = _
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
)
sourcepub const InternalTransition: TransitionType = _
pub const InternalTransition: TransitionType = _
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§
source§impl Clone for TransitionType
impl Clone for TransitionType
source§fn clone(&self) -> TransitionType
fn clone(&self) -> TransitionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransitionType
impl Debug for TransitionType
source§impl From<TransitionType> for c_int
impl From<TransitionType> for c_int
source§fn from(value: TransitionType) -> Self
fn from(value: TransitionType) -> Self
Converts to this type from the input type.
source§impl From<i32> for TransitionType
impl From<i32> for TransitionType
source§impl PartialEq for TransitionType
impl PartialEq for TransitionType
source§fn eq(&self, other: &TransitionType) -> bool
fn eq(&self, other: &TransitionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TransitionType
impl Eq for TransitionType
impl StructuralEq for TransitionType
impl StructuralPartialEq for TransitionType
Auto Trait Implementations§
impl RefUnwindSafe for TransitionType
impl Send for TransitionType
impl Sync for TransitionType
impl Unpin for TransitionType
impl UnwindSafe for TransitionType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more