pub struct LiquidMotion;Expand description
Named springs used across the Liquid components (value-space, velocity preserving).
Implementations§
Source§impl LiquidMotion
impl LiquidMotion
Sourcepub fn snappy() -> AnimationType
pub fn snappy() -> AnimationType
Snappy interactions: presses, toggles, selection moves.
Sourcepub fn bouncy() -> AnimationType
pub fn bouncy() -> AnimationType
The droplet feel: visible overshoot for morphing shapes.
Sourcepub fn smooth() -> AnimationType
pub fn smooth() -> AnimationType
Gentle settle for large surfaces (sheets, menus).
Sourcepub fn blob_leading() -> AnimationType
pub fn blob_leading() -> AnimationType
The leading edge of a stretching selection blob (runs ahead).
Sourcepub fn blob_trailing() -> AnimationType
pub fn blob_trailing() -> AnimationType
The trailing edge of a stretching selection blob (drags behind, giving the droplet elongation while in motion).
Sourcepub fn glide() -> AnimationType
pub fn glide() -> AnimationType
A released lens flying to its committed slot: the reference tab-bar transit crosses ~3 cells in ~330 ms (measured from the iphone17 recording) — much gentler than the finger-chase spring.
Auto Trait Implementations§
impl Freeze for LiquidMotion
impl RefUnwindSafe for LiquidMotion
impl Send for LiquidMotion
impl Sync for LiquidMotion
impl Unpin for LiquidMotion
impl UnsafeUnpin for LiquidMotion
impl UnwindSafe for LiquidMotion
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