pub enum HeroFlightDirection {
Push,
Pop,
}Expand description
Direction of the hero’s flight based on the navigation operation.
Variants§
Push
A flight triggered by a route push.
The animation goes from 0 to 1.
If no custom HeroFlightShuttleBuilder is supplied, the top route’s Hero child is
shown in flight.
Pop
A flight triggered by a route pop.
The animation goes from 1 to 0.
If no custom HeroFlightShuttleBuilder is supplied, the bottom route’s Hero child
is shown in flight.
Trait Implementations§
Source§impl Clone for HeroFlightDirection
impl Clone for HeroFlightDirection
impl Copy for HeroFlightDirection
Source§impl Debug for HeroFlightDirection
impl Debug for HeroFlightDirection
impl Eq for HeroFlightDirection
Source§impl PartialEq for HeroFlightDirection
impl PartialEq for HeroFlightDirection
impl StructuralPartialEq for HeroFlightDirection
Auto Trait Implementations§
impl Forget for HeroFlightDirection
impl Freeze for HeroFlightDirection
impl Move for HeroFlightDirection
impl RefUnwindSafe for HeroFlightDirection
impl Send for HeroFlightDirection
impl Sync for HeroFlightDirection
impl Unpin for HeroFlightDirection
impl UnsafeUnpin for HeroFlightDirection
impl UnwindSafe for HeroFlightDirection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.