pub enum ScreenEffect {
Confetti,
Echo,
Fireworks,
Balloons,
Heart,
Lasers,
ShootingStar,
Sparkles,
Spotlight,
}Expand description
Screen effects are effects that alter the entire background of the message view.
Read more here.
Variants§
Confetti
Creates a confetti effect that sprinkles confetti across the screen.
Echo
Creates an echo effect that sends multiple copies of the message across the screen.
Fireworks
Creates a fireworks effect that displays colorful explosions on the screen.
Balloons
Creates a balloons effect that sends balloons floating up from the bottom of the screen.
Heart
Creates a heart effect that displays a large heart on the screen.
Lasers
Creates a laser light show effect across the screen.
ShootingStar
Creates a shooting star effect that moves across the screen.
Sparkles
Creates a sparkle effect that twinkles across the screen.
Spotlight
Creates a spotlight effect that highlights the message.
Trait Implementations§
Source§impl Debug for ScreenEffect
impl Debug for ScreenEffect
Source§impl PartialEq for ScreenEffect
impl PartialEq for ScreenEffect
impl Eq for ScreenEffect
impl StructuralPartialEq for ScreenEffect
Auto Trait Implementations§
impl Freeze for ScreenEffect
impl RefUnwindSafe for ScreenEffect
impl Send for ScreenEffect
impl Sync for ScreenEffect
impl Unpin for ScreenEffect
impl UnwindSafe for ScreenEffect
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.