pub enum Expressive<'a> {
Screen(ScreenEffect),
Bubble(BubbleEffect),
Unknown(&'a str),
None,
}Expand description
Expressive effect container.
Read more about expressive messages here.
Bubble:
com.apple.MobileSMS.expressivesend.gentlecom.apple.MobileSMS.expressivesend.impactcom.apple.MobileSMS.expressivesend.invisibleinkcom.apple.MobileSMS.expressivesend.loud
Screen:
com.apple.messages.effect.CKConfettiEffectcom.apple.messages.effect.CKEchoEffectcom.apple.messages.effect.CKFireworksEffectcom.apple.messages.effect.CKHappyBirthdayEffectcom.apple.messages.effect.CKHeartEffectcom.apple.messages.effect.CKLasersEffectcom.apple.messages.effect.CKShootingStarEffectcom.apple.messages.effect.CKSparklesEffectcom.apple.messages.effect.CKSpotlightEffect
Variants§
Screen(ScreenEffect)
Effects that use the entire screen
Bubble(BubbleEffect)
Effects that display on a single bubble
Unknown(&'a str)
Container for new or unknown messages
None
Message is not an expressive
Trait Implementations§
Source§impl<'a> Debug for Expressive<'a>
impl<'a> Debug for Expressive<'a>
Source§impl<'a> PartialEq for Expressive<'a>
impl<'a> PartialEq for Expressive<'a>
impl<'a> Eq for Expressive<'a>
impl<'a> StructuralPartialEq for Expressive<'a>
Auto Trait Implementations§
impl<'a> Freeze for Expressive<'a>
impl<'a> RefUnwindSafe for Expressive<'a>
impl<'a> Send for Expressive<'a>
impl<'a> Sync for Expressive<'a>
impl<'a> Unpin for Expressive<'a>
impl<'a> UnwindSafe for Expressive<'a>
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.