pub enum Platform {
LiveActivity,
Glance,
WidgetKit,
Ongoing,
}Expand description
Native host for the generated source.
Variants§
LiveActivity
ActivityKit with compact and expanded Dynamic Island presentations.
Glance
A Jetpack Glance home-screen widget.
WidgetKit
A WidgetKit home or lock-screen widget and its Shortcuts action.
Ongoing
An Android ongoing progress notification.
Trait Implementations§
impl Copy for Platform
impl Eq for Platform
impl StructuralPartialEq for Platform
Auto Trait Implementations§
impl Forget for Platform
impl Freeze for Platform
impl Move for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnsafeUnpin for Platform
impl UnwindSafe for Platform
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