pub enum SharedAxis {
X,
Y,
Scaled,
}Expand description
Which axis (or the scaled variant) a SharedAxis transition moves along.
Variants§
X
Horizontal 30dp slide + fade-through opacity (hierarchical forward/back).
Y
Vertical 30dp slide + fade-through opacity (a step within a flow).
Scaled
A scale (no slide) + fade-through opacity: incoming
[SHARED_AXIS_SCALE_IN_START]→1.0, exiting 1.0→[SHARED_AXIS_SCALE_OUT_END].
Trait Implementations§
Source§fn resolve(
&self,
p: f64,
reverse: bool,
_size: Size,
) -> (PatternLayer, PatternLayer)
fn resolve( &self, p: f64, reverse: bool, _size: Size, ) -> (PatternLayer, PatternLayer)
Resolve
(incoming, exiting) layers at transition progress p (raw —
may overshoot for a spring), reverse flipping any directional motion,
at container size.Auto Trait Implementations§
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
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§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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.