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<Expressive<'a>> for Expressive<'a>
impl<'a> PartialEq<Expressive<'a>> for Expressive<'a>
source§fn eq(&self, other: &Expressive<'a>) -> bool
fn eq(&self, other: &Expressive<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for Expressive<'a>
impl<'a> StructuralEq for Expressive<'a>
impl<'a> StructuralPartialEq for Expressive<'a>
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.