pub struct BorderConfig {
pub size: i32,
pub radius: f32,
pub color: String,
pub focus_color: String,
}Expand description
Window border appearance.
Fields§
§size: i32§radius: f32§color: StringColor as a hex string ("RRGGBBAA") or an RGBA array [r, g, b, a] (0–255).
focus_color: StringFocused-window color as a hex string or RGBA array.
Trait Implementations§
Source§impl Clone for BorderConfig
impl Clone for BorderConfig
Source§fn clone(&self) -> BorderConfig
fn clone(&self) -> BorderConfig
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 BorderConfig
impl Debug for BorderConfig
Source§impl Default for BorderConfig
impl Default for BorderConfig
Source§fn default() -> BorderConfig
fn default() -> BorderConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BorderConfig
impl RefUnwindSafe for BorderConfig
impl Send for BorderConfig
impl Sync for BorderConfig
impl Unpin for BorderConfig
impl UnwindSafe for BorderConfig
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