#[repr(C)]pub struct LinuxCustomization {
pub gtk_theme: OptionString,
pub icon_theme: OptionString,
pub cursor_theme: OptionString,
pub cursor_size: u32,
pub titlebar_button_layout: OptionString,
}Expand description
Linux-specific customisation settings.
Read from GTK / KDE / XDG settings on Linux; Default (all None / 0)
on other platforms.
Fields§
§gtk_theme: OptionStringGTK theme name (e.g. “Adwaita”, “Breeze”, “Numix”).
icon_theme: OptionStringIcon theme name (e.g. “Papirus”, “Numix”, “Breeze”).
cursor_theme: OptionStringCursor theme name (e.g. “Breeze_Snow”, “DMZ-Black”).
cursor_size: u32Cursor size in pixels (0 = unset / use OS default).
GTK button layout string (e.g. “close,minimize,maximize:menu”). Determines button side and order for CSD titlebars on Linux.
Trait Implementations§
Source§impl Clone for LinuxCustomization
impl Clone for LinuxCustomization
Source§fn clone(&self) -> LinuxCustomization
fn clone(&self) -> LinuxCustomization
Returns a duplicate 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 LinuxCustomization
impl Debug for LinuxCustomization
Source§impl Default for LinuxCustomization
impl Default for LinuxCustomization
Source§fn default() -> LinuxCustomization
fn default() -> LinuxCustomization
Returns the “default value” for a type. Read more
Source§impl PartialEq for LinuxCustomization
impl PartialEq for LinuxCustomization
impl StructuralPartialEq for LinuxCustomization
Auto Trait Implementations§
impl Freeze for LinuxCustomization
impl RefUnwindSafe for LinuxCustomization
impl Send for LinuxCustomization
impl Sync for LinuxCustomization
impl Unpin for LinuxCustomization
impl UnsafeUnpin for LinuxCustomization
impl UnwindSafe for LinuxCustomization
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