pub struct TransitionEntry<S: Clone> {
pub from: S,
pub to: S,
pub timestamp: Instant,
pub tick_count: u64,
}Expand description
A single recorded screen transition.
Fields§
§from: SScreen the user was on before the transition.
to: SScreen the user switched to.
timestamp: InstantMonotonic timestamp of the transition.
tick_count: u64The runtime tick count at the time of the transition.
Trait Implementations§
Source§impl<S: Clone + Clone> Clone for TransitionEntry<S>
impl<S: Clone + Clone> Clone for TransitionEntry<S>
Source§fn clone(&self) -> TransitionEntry<S>
fn clone(&self) -> TransitionEntry<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for TransitionEntry<S>where
S: Freeze,
impl<S> RefUnwindSafe for TransitionEntry<S>where
S: RefUnwindSafe,
impl<S> Send for TransitionEntry<S>where
S: Send,
impl<S> Sync for TransitionEntry<S>where
S: Sync,
impl<S> Unpin for TransitionEntry<S>where
S: Unpin,
impl<S> UnsafeUnpin for TransitionEntry<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for TransitionEntry<S>where
S: UnwindSafe,
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