pub struct LinuxWindowConfig {
pub app_id: Option<String>,
pub activation_token: Option<String>,
}Expand description
What a window offers on Linux alone.
Fields§
§app_id: Option<String>The window’s own app id (xdg-shell’s set_app_id; the class, WM_CLASS, on X11), by which
the desktop matches it to the desktop file <app_id>.desktop, in place of the app’s own.
The app’s where None.
activation_token: Option<String>The XDG activation token the window shows with, which lets it take the focus the desktop
gave the launch that brought it (XDG_ACTIVATION_TOKEN): a later launch’s, passed on.
Trait Implementations§
Source§impl Clone for LinuxWindowConfig
impl Clone for LinuxWindowConfig
Source§impl Debug for LinuxWindowConfig
impl Debug for LinuxWindowConfig
Source§impl Default for LinuxWindowConfig
impl Default for LinuxWindowConfig
impl Eq for LinuxWindowConfig
Source§impl PartialEq for LinuxWindowConfig
impl PartialEq for LinuxWindowConfig
impl StructuralPartialEq for LinuxWindowConfig
Auto Trait Implementations§
impl Forget for LinuxWindowConfig
impl Freeze for LinuxWindowConfig
impl Move for LinuxWindowConfig
impl RefUnwindSafe for LinuxWindowConfig
impl Send for LinuxWindowConfigwhere
RawVecInner: Send,
impl Sync for LinuxWindowConfigwhere
RawVecInner: Sync,
impl Unpin for LinuxWindowConfig
impl UnsafeUnpin for LinuxWindowConfig
impl UnwindSafe for LinuxWindowConfigwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.