pub struct CurrentApp {
pub package: String,
pub activity: String,
}Expand description
Current foreground app information.
Fields§
§package: String§activity: StringTrait Implementations§
Source§impl Clone for CurrentApp
impl Clone for CurrentApp
Source§fn clone(&self) -> CurrentApp
fn clone(&self) -> CurrentApp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CurrentApp
impl Debug for CurrentApp
Auto Trait Implementations§
impl Freeze for CurrentApp
impl RefUnwindSafe for CurrentApp
impl Send for CurrentApp
impl Sync for CurrentApp
impl Unpin for CurrentApp
impl UnsafeUnpin for CurrentApp
impl UnwindSafe for CurrentApp
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