pub enum StopMode {
LeaveInPlace,
TeleportToTarget,
}Expand description
How to leave the desktop when AnimationHandle::stop is invoked.
Variants§
LeaveInPlace
Icons keep their current, mid-animation positions.
TeleportToTarget
Icons snap to their target positions immediately.
Trait Implementations§
impl Copy for StopMode
impl Eq for StopMode
impl StructuralPartialEq for StopMode
Auto Trait Implementations§
impl Freeze for StopMode
impl RefUnwindSafe for StopMode
impl Send for StopMode
impl Sync for StopMode
impl Unpin for StopMode
impl UnsafeUnpin for StopMode
impl UnwindSafe for StopMode
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