pub enum SymbolEffect {
Bounce,
Pulse,
VariableColor,
Scale,
Wiggle,
Rotate,
Breathe,
}Expand description
An SF Symbol animation (Image::effect, Image::effect_on), drawn
by AppKit (macOS 14; Wiggle, Rotate and Breathe from macOS 15; nothing
on older systems). AppKit tones them down under Reduce motion.
Variants§
Bounce
A bounce: a new message, an item added.
Pulse
A fade in and out: waiting, recording.
VariableColor
Layers lit one after another: searching, connecting ("wifi").
Scale
Grown slightly while it lasts: selected, hovered.
Wiggle
A shake: an error, attention needed.
Rotate
A turn: syncing, refreshing ("arrow.triangle.2.circlepath").
Breathe
A slow swell: alive, listening.
Trait Implementations§
Source§impl Clone for SymbolEffect
impl Clone for SymbolEffect
impl Copy for SymbolEffect
Source§impl Debug for SymbolEffect
impl Debug for SymbolEffect
impl Eq for SymbolEffect
Source§impl PartialEq for SymbolEffect
impl PartialEq for SymbolEffect
impl StructuralPartialEq for SymbolEffect
Auto Trait Implementations§
impl Forget for SymbolEffect
impl Freeze for SymbolEffect
impl Move for SymbolEffect
impl RefUnwindSafe for SymbolEffect
impl Send for SymbolEffect
impl Sync for SymbolEffect
impl Unpin for SymbolEffect
impl UnsafeUnpin for SymbolEffect
impl UnwindSafe for SymbolEffect
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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