pub struct Switch {
pub before: Option<String>,
pub after: Option<String>,
pub changed: bool,
pub app_changed: bool,
}Fields§
§before: Option<String>The Focus that was on when Control Center opened.
after: Option<String>The Focus that is on now.
changed: bool§app_changed: boolSomething other than the app that was in front is in front now.
Trait Implementations§
impl StructuralPartialEq for Switch
Auto Trait Implementations§
impl Forget for Switch
impl Freeze for Switch
impl Move for Switch
impl RefUnwindSafe for Switch
impl Send for Switch
impl Sync for Switch
impl Unpin for Switch
impl UnsafeUnpin for Switch
impl UnwindSafe for Switch
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