Struct qt_core::q_history_state::HistoryType
source · 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 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 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
source§fn eq(&self, other: &HistoryType) -> bool
fn eq(&self, other: &HistoryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HistoryType
impl Eq for HistoryType
impl StructuralEq for HistoryType
impl StructuralPartialEq for HistoryType
Auto Trait Implementations§
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