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 bottom-bar transfer arrives in ~170 ms (on-white-click sheet, f_0040 departure to f_0050 arrival at 60 fps) with no visible overshoot; the optical settle continues after the geometry lands.
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