pub struct RunningApp {
pub name: String,
pub is_frontmost: bool,
}Expand description
Generic running app state.
Fields§
§name: String§is_frontmost: boolTrait Implementations§
Source§impl Clone for RunningApp
impl Clone for RunningApp
Source§fn clone(&self) -> RunningApp
fn clone(&self) -> RunningApp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunningApp
impl Debug for RunningApp
Source§impl Default for RunningApp
impl Default for RunningApp
Source§fn default() -> RunningApp
fn default() -> RunningApp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunningApp
impl<'de> Deserialize<'de> for RunningApp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunningApp
impl RefUnwindSafe for RunningApp
impl Send for RunningApp
impl Sync for RunningApp
impl Unpin for RunningApp
impl UnsafeUnpin for RunningApp
impl UnwindSafe for RunningApp
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