pub struct ChildMode(/* private fields */);
Expand description
This enum specifies how a state's child states are treated.
C++ enum: QState::ChildMode
.
This enum specifies how a state’s child states are treated.
Implementations§
source§impl ChildMode
impl ChildMode
sourcepub const ExclusiveStates: ChildMode = _
pub const ExclusiveStates: ChildMode = _
The child states are mutually exclusive and an initial state must be set by calling QState::setInitialState(). (C++ enum variant: ExclusiveStates = 0
)
sourcepub const ParallelStates: ChildMode = _
pub const ParallelStates: ChildMode = _
The child states are parallel. When the parent state is entered, all its child states are entered in parallel. (C++ enum variant: ParallelStates = 1
)
Trait Implementations§
source§impl PartialEq for ChildMode
impl PartialEq for ChildMode
impl Copy for ChildMode
impl Eq for ChildMode
impl StructuralEq for ChildMode
impl StructuralPartialEq for ChildMode
Auto Trait Implementations§
impl RefUnwindSafe for ChildMode
impl Send for ChildMode
impl Sync for ChildMode
impl Unpin for ChildMode
impl UnwindSafe for ChildMode
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