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.gentle
com.apple.MobileSMS.expressivesend.impact
com.apple.MobileSMS.expressivesend.invisibleink
com.apple.MobileSMS.expressivesend.loud
Screen:
com.apple.messages.effect.CKConfettiEffect
com.apple.messages.effect.CKEchoEffect
com.apple.messages.effect.CKFireworksEffect
com.apple.messages.effect.CKHappyBirthdayEffect
com.apple.messages.effect.CKHeartEffect
com.apple.messages.effect.CKLasersEffect
com.apple.messages.effect.CKShootingStarEffect
com.apple.messages.effect.CKSparklesEffect
com.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.