pub struct ActiveWindowData {
pub window_title: Arc<str>,
pub app_identifier: Arc<str>,
}Fields§
§window_title: Arc<str>Name of the window. For example ‘bash in hello’ or ‘Document 1’ or ‘Vibing in YouTube - Chrome’
app_identifier: Arc<str>Represents an identifier of the application.
On windows it is a process name. For example C:\Windows\System32\cmd.exe
On x11 it is a process name. For example /home/etc/nvim`` On wayland, gnome, and kde it's a resource class. For example org.kde.kate`
Trait Implementations§
Source§impl Clone for ActiveWindowData
impl Clone for ActiveWindowData
Source§fn clone(&self) -> ActiveWindowData
fn clone(&self) -> ActiveWindowData
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 moreAuto Trait Implementations§
impl Freeze for ActiveWindowData
impl RefUnwindSafe for ActiveWindowData
impl Send for ActiveWindowData
impl Sync for ActiveWindowData
impl Unpin for ActiveWindowData
impl UnsafeUnpin for ActiveWindowData
impl UnwindSafe for ActiveWindowData
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