pub enum SymbolEffect {
Pulse,
Bounce,
VariableColor,
Wiggle,
Rotate,
Breathe,
}Expand description
One of the indefinite symbol effects — the ones .symbolEffect(_:) takes
with no value:, which run until the view goes away.
The discrete and transition effects (.appear, .replace, .drawOn …)
are a different modifier and are not these.
Variants§
Pulse
Fade the layers in and out in turn.
Bounce
A single upward nudge, repeating.
VariableColor
Light the layers up one at a time.
Wiggle
Shake side to side.
Rotate
Spin.
Breathe
Swell and settle, like breathing.
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 From<Bounce> for SymbolEffect
impl From<Bounce> for SymbolEffect
Source§impl From<Breathe> for SymbolEffect
impl From<Breathe> for SymbolEffect
Source§impl From<Pulse> for SymbolEffect
impl From<Pulse> for SymbolEffect
Source§impl From<Rotate> for SymbolEffect
impl From<Rotate> for SymbolEffect
Source§impl From<VariableColor> for SymbolEffect
impl From<VariableColor> for SymbolEffect
Source§fn from(_: VariableColor) -> Self
fn from(_: VariableColor) -> Self
Converts to this type from the input type.
Source§impl From<Wiggle> for SymbolEffect
impl From<Wiggle> for SymbolEffect
Source§impl PartialEq for SymbolEffect
impl PartialEq for SymbolEffect
impl StructuralPartialEq for SymbolEffect
Auto Trait Implementations§
impl Freeze 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§
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