pub struct PlatformSpecific {
pub application_id: String,
pub override_redirect: bool,
}
Expand description
The platform specific window settings of an application.
Fields§
§application_id: String
Sets the application id of the window.
As a best practice, it is suggested to select an application id that match the basename of the application’s .desktop file.
override_redirect: bool
Whether bypass the window manager mapping for x11 windows
This flag is particularly useful for creating UI elements that need precise positioning and immediate display without window manager interference.
Trait Implementations§
Source§impl Clone for PlatformSpecific
impl Clone for PlatformSpecific
Source§fn clone(&self) -> PlatformSpecific
fn clone(&self) -> PlatformSpecific
Returns a copy 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 PlatformSpecific
impl Debug for PlatformSpecific
Source§impl Default for PlatformSpecific
impl Default for PlatformSpecific
Source§fn default() -> PlatformSpecific
fn default() -> PlatformSpecific
Returns the “default value” for a type. Read more
Source§impl PartialEq for PlatformSpecific
impl PartialEq for PlatformSpecific
impl Eq for PlatformSpecific
impl StructuralPartialEq for PlatformSpecific
Auto Trait Implementations§
impl Freeze for PlatformSpecific
impl RefUnwindSafe for PlatformSpecific
impl Send for PlatformSpecific
impl Sync for PlatformSpecific
impl Unpin for PlatformSpecific
impl UnwindSafe for PlatformSpecific
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.