Struct leftwm::ThemeSetting
source · pub struct ThemeSetting {
pub border_width: Option<i32>,
pub margin: Option<CustomMargins>,
pub workspace_margin: Option<CustomMargins>,
pub default_width: Option<i32>,
pub default_height: Option<i32>,
pub always_float: Option<bool>,
pub gutter: Option<Vec<Gutter>>,
pub default_border_color: Option<String>,
pub floating_border_color: Option<String>,
pub focused_border_color: Option<String>,
pub background_color: Option<String>,
pub on_new_window_cmd: Option<String>,
}
Fields§
§border_width: Option<i32>
§margin: Option<CustomMargins>
§workspace_margin: Option<CustomMargins>
§default_width: Option<i32>
§default_height: Option<i32>
§always_float: Option<bool>
§gutter: Option<Vec<Gutter>>
§default_border_color: Option<String>
§floating_border_color: Option<String>
§focused_border_color: Option<String>
§background_color: Option<String>
§on_new_window_cmd: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for ThemeSetting
impl Clone for ThemeSetting
source§fn clone(&self) -> ThemeSetting
fn clone(&self) -> ThemeSetting
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 ThemeSetting
impl Debug for ThemeSetting
source§impl Default for ThemeSetting
impl Default for ThemeSetting
source§impl<'de> Deserialize<'de> for ThemeSetting
impl<'de> Deserialize<'de> for ThemeSetting
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ThemeSetting
impl PartialEq for ThemeSetting
source§fn eq(&self, other: &ThemeSetting) -> bool
fn eq(&self, other: &ThemeSetting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ThemeSetting
impl Serialize for ThemeSetting
impl Eq for ThemeSetting
impl StructuralEq for ThemeSetting
impl StructuralPartialEq for ThemeSetting
Auto Trait Implementations§
impl RefUnwindSafe for ThemeSetting
impl Send for ThemeSetting
impl Sync for ThemeSetting
impl Unpin for ThemeSetting
impl UnwindSafe for ThemeSetting
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.