pub struct HistoryType(/* private fields */);
Expand description
This enum specifies the type of history that a QHistoryState records.
C++ enum: QHistoryState::HistoryType
.
This enum specifies the type of history that a QHistoryState records.
Implementations§
Source§impl HistoryType
impl HistoryType
Sourcepub const ShallowHistory: HistoryType
pub const ShallowHistory: HistoryType
Only the immediate child states of the parent state are recorded. In this case a transition with the history state as its target will end up in the immediate child state that the parent was in the last time it was exited. This is the default. (C++ enum variant: ShallowHistory = 0
)
Sourcepub const DeepHistory: HistoryType
pub const DeepHistory: HistoryType
Nested states are recorded. In this case a transition with the history state as its target will end up in the most deeply nested descendant state the parent was in the last time it was exited. (C++ enum variant: DeepHistory = 1
)
Trait Implementations§
Source§impl Clone for HistoryType
impl Clone for HistoryType
Source§fn clone(&self) -> HistoryType
fn clone(&self) -> HistoryType
Returns a duplicate 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 HistoryType
impl Debug for HistoryType
Source§impl From<HistoryType> for c_int
impl From<HistoryType> for c_int
Source§fn from(value: HistoryType) -> Self
fn from(value: HistoryType) -> Self
Converts to this type from the input type.
Source§impl From<i32> for HistoryType
impl From<i32> for HistoryType
Source§impl PartialEq for HistoryType
impl PartialEq for HistoryType
impl Copy for HistoryType
impl Eq for HistoryType
impl StructuralPartialEq for HistoryType
Auto Trait Implementations§
impl Freeze for HistoryType
impl RefUnwindSafe for HistoryType
impl Send for HistoryType
impl Sync for HistoryType
impl Unpin for HistoryType
impl UnwindSafe for HistoryType
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