#[repr(C)]pub struct LinuxWindowOptions {
pub x11_visual: OptionX11Visual,
pub x11_screen: OptionI32,
pub x11_wm_classes: StringPairVec,
pub x11_override_redirect: bool,
pub x11_window_types: XWindowTypeVec,
pub x11_gtk_theme_variant: OptionAzString,
pub x11_resize_increments: OptionLogicalSize,
pub x11_base_size: OptionLogicalSize,
pub wayland_app_id: OptionAzString,
pub wayland_theme: OptionWaylandTheme,
pub request_user_attention: UserAttentionType,
pub window_icon: OptionWindowIcon,
}Fields§
§x11_visual: OptionX11Visual(Unimplemented) - Can only be set at window creation, can’t be changed in callbacks.
x11_screen: OptionI32(Unimplemented) - Can only be set at window creation, can’t be changed in callbacks.
x11_wm_classes: StringPairVecBuild window with WM_CLASS hint; defaults to the name of the binary. Only relevant on
X11. Can only be set at window creation, can’t be changed in callbacks.
x11_override_redirect: boolBuild window with override-redirect flag; defaults to false. Only relevant on X11. Can only be set at window creation, can’t be changed in callbacks.
x11_window_types: XWindowTypeVecBuild window with _NET_WM_WINDOW_TYPE hint; defaults to Normal. Only relevant on X11.
Can only be set at window creation, can’t be changed in callbacks.
x11_gtk_theme_variant: OptionAzStringBuild window with _GTK_THEME_VARIANT hint set to the specified value. Currently only
relevant on X11. Can only be set at window creation, can’t be changed in callbacks.
x11_resize_increments: OptionLogicalSizeBuild window with resize increment hint. Only implemented on X11. Can only be set at window creation, can’t be changed in callbacks.
x11_base_size: OptionLogicalSizeBuild window with base size hint. Only implemented on X11. Can only be set at window creation, can’t be changed in callbacks.
wayland_app_id: OptionAzStringBuild window with a given application ID. It should match the .desktop file distributed
with your program. Only relevant on Wayland.
Can only be set at window creation, can’t be changed in callbacks.
For details about application ID conventions, see the Desktop Entry Spec
wayland_theme: OptionWaylandTheme§request_user_attention: UserAttentionType§window_icon: OptionWindowIconTrait Implementations§
Source§impl Clone for LinuxWindowOptions
impl Clone for LinuxWindowOptions
Source§fn clone(&self) -> LinuxWindowOptions
fn clone(&self) -> LinuxWindowOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LinuxWindowOptions
impl Debug for LinuxWindowOptions
Source§impl Default for LinuxWindowOptions
impl Default for LinuxWindowOptions
Source§fn default() -> LinuxWindowOptions
fn default() -> LinuxWindowOptions
Source§impl PartialEq for LinuxWindowOptions
impl PartialEq for LinuxWindowOptions
Source§impl PartialOrd for LinuxWindowOptions
impl PartialOrd for LinuxWindowOptions
impl StructuralPartialEq for LinuxWindowOptions
Auto Trait Implementations§
impl Freeze for LinuxWindowOptions
impl RefUnwindSafe for LinuxWindowOptions
impl !Send for LinuxWindowOptions
impl !Sync for LinuxWindowOptions
impl Unpin for LinuxWindowOptions
impl UnwindSafe for LinuxWindowOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more