pub struct WaylandTheme {
pub primary_active: [u8; 4],
pub primary_inactive: [u8; 4],
pub secondary_active: [u8; 4],
pub secondary_inactive: [u8; 4],
pub close_button_hovered: [u8; 4],
pub close_button: [u8; 4],
pub maximize_button_hovered: [u8; 4],
pub maximize_button: [u8; 4],
pub minimize_button_hovered: [u8; 4],
pub minimize_button: [u8; 4],
}
Fields§
§primary_active: [u8; 4]
Primary color when the window is focused
primary_inactive: [u8; 4]
Primary color when the window is unfocused
secondary_active: [u8; 4]
Secondary color when the window is focused
secondary_inactive: [u8; 4]
Secondary color when the window is unfocused
Close button color when hovered over
Close button color
Close button color when hovered over
Maximize button color
Minimize button color when hovered over
Minimize button color
Trait Implementations§
Source§impl Clone for WaylandTheme
impl Clone for WaylandTheme
Source§fn clone(&self) -> WaylandTheme
fn clone(&self) -> WaylandTheme
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 WaylandTheme
impl Debug for WaylandTheme
Source§impl Hash for WaylandTheme
impl Hash for WaylandTheme
Source§impl Ord for WaylandTheme
impl Ord for WaylandTheme
Source§fn cmp(&self, other: &WaylandTheme) -> Ordering
fn cmp(&self, other: &WaylandTheme) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WaylandTheme
impl PartialEq for WaylandTheme
Source§impl PartialOrd for WaylandTheme
impl PartialOrd for WaylandTheme
impl Copy for WaylandTheme
impl Eq for WaylandTheme
impl StructuralPartialEq for WaylandTheme
Auto Trait Implementations§
impl Freeze for WaylandTheme
impl RefUnwindSafe for WaylandTheme
impl Send for WaylandTheme
impl Sync for WaylandTheme
impl Unpin for WaylandTheme
impl UnwindSafe for WaylandTheme
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)