pub struct StackTransitions { /* private fields */ }Expand description
Keeps outgoing pages separate from the active scene, focus order, and modal stack.
Implementations§
Source§impl StackTransitions
impl StackTransitions
pub fn active_paths(&self) -> impl Iterator<Item = &[usize]>
pub fn is_active(&self) -> bool
pub fn at(&self, path: &[usize]) -> Option<&StackSlide>
Sourcepub fn advance(&mut self, now: Instant)
pub fn advance(&mut self, now: Instant)
Sample immediately before painting. A replacement transition starts from that sample.
pub fn update( &mut self, previous: (&Node, &LayoutNode), next: (&Node, &LayoutNode), now: Instant, )
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StackTransitions
impl !Send for StackTransitions
impl !Sync for StackTransitions
impl !UnwindSafe for StackTransitions
impl Forget for StackTransitions
impl Freeze for StackTransitions
impl Move for StackTransitions
impl Unpin for StackTransitions
impl UnsafeUnpin for StackTransitions
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