pub enum IslandPresentationMode {
Compact,
Minimal,
Expanded,
LockScreen,
FallbackNotification,
FallbackStatusBar,
}Expand description
Active presentation surface for iOS Dynamic Island / Live Activities and cross-platform fallbacks.
Variants§
Compact
iOS Dynamic Island compact pill (leading + trailing views).
Minimal
iOS Dynamic Island minimal circular badge when multiple live activities compete.
Expanded
iOS Dynamic Island expanded full-width card on long press.
LockScreen
iOS / iPadOS Lock Screen Live Activity banner.
FallbackNotification
Android Live Updates / Ongoing Notification or desktop toast fallback.
FallbackStatusBar
macOS Menu Bar, Windows Taskbar badge, Linux StatusNotifier, or Web title pill fallback.
Trait Implementations§
Source§impl Clone for IslandPresentationMode
impl Clone for IslandPresentationMode
impl Copy for IslandPresentationMode
Source§impl Debug for IslandPresentationMode
impl Debug for IslandPresentationMode
Source§impl Default for IslandPresentationMode
impl Default for IslandPresentationMode
impl Eq for IslandPresentationMode
Source§impl Hash for IslandPresentationMode
impl Hash for IslandPresentationMode
Source§impl Ord for IslandPresentationMode
impl Ord for IslandPresentationMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IslandPresentationMode
impl PartialEq for IslandPresentationMode
Source§impl PartialOrd for IslandPresentationMode
impl PartialOrd for IslandPresentationMode
impl StructuralPartialEq for IslandPresentationMode
Auto Trait Implementations§
impl Forget for IslandPresentationMode
impl Freeze for IslandPresentationMode
impl Move for IslandPresentationMode
impl RefUnwindSafe for IslandPresentationMode
impl Send for IslandPresentationMode
impl Sync for IslandPresentationMode
impl Unpin for IslandPresentationMode
impl UnsafeUnpin for IslandPresentationMode
impl UnwindSafe for IslandPresentationMode
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