pub enum ScrollTransitionConfiguration {
Interactive,
Animated,
Identity,
}Expand description
How a scroll transition interpolates.
Variants§
Interactive
Follows the scroll position directly.
Animated
Animates between the discrete phases.
Identity
Applies nothing.
Trait Implementations§
impl Copy for ScrollTransitionConfiguration
impl Eq for ScrollTransitionConfiguration
Source§impl From<Animated> for ScrollTransitionConfiguration
impl From<Animated> for ScrollTransitionConfiguration
Source§impl From<Identity> for ScrollTransitionConfiguration
impl From<Identity> for ScrollTransitionConfiguration
Source§impl From<Interactive> for ScrollTransitionConfiguration
impl From<Interactive> for ScrollTransitionConfiguration
Source§fn from(_: Interactive) -> Self
fn from(_: Interactive) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ScrollTransitionConfiguration
Auto Trait Implementations§
impl Freeze for ScrollTransitionConfiguration
impl RefUnwindSafe for ScrollTransitionConfiguration
impl Send for ScrollTransitionConfiguration
impl Sync for ScrollTransitionConfiguration
impl Unpin for ScrollTransitionConfiguration
impl UnsafeUnpin for ScrollTransitionConfiguration
impl UnwindSafe for ScrollTransitionConfiguration
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