pub enum ContainerFade {
FadeThrough,
Fade,
}Expand description
How a ContainerTransform stages opacity while its bounds morph
(the fade / fadeThrough variants).
Variants§
FadeThrough
Fade-through: the source content fades out over the first
[FADE_THROUGH_SPLIT] of the timeline, the incoming content fades in
over the remainder (the M3 default; no simultaneous double-image).
Fade
A plain simultaneous cross-fade of both children over the full timeline.
Trait Implementations§
Source§impl Clone for ContainerFade
impl Clone for ContainerFade
impl Copy for ContainerFade
Source§impl Debug for ContainerFade
impl Debug for ContainerFade
Source§impl Default for ContainerFade
impl Default for ContainerFade
impl Eq for ContainerFade
Source§impl PartialEq for ContainerFade
impl PartialEq for ContainerFade
impl StructuralPartialEq for ContainerFade
Auto Trait Implementations§
impl Freeze for ContainerFade
impl RefUnwindSafe for ContainerFade
impl Send for ContainerFade
impl Sync for ContainerFade
impl Unpin for ContainerFade
impl UnsafeUnpin for ContainerFade
impl UnwindSafe for ContainerFade
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<T> Brush for T
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.