pub struct DecorStyle {
pub controls_height: Option<f64>,
pub controls_inset_x: Option<f64>,
pub controls_spacing: Option<f64>,
pub controls_scale: Option<f64>,
pub controls_button_width: Option<u32>,
pub controls_close_hover_bg: Option<String>,
pub controls_button_hover_bg: Option<String>,
}Fields§
§controls_height: Option<f64>§controls_inset_x: Option<f64>§controls_spacing: Option<f64>§controls_scale: Option<f64>§controls_close_hover_bg: Option<String>Trait Implementations§
Source§impl Clone for DecorStyle
impl Clone for DecorStyle
Source§fn clone(&self) -> DecorStyle
fn clone(&self) -> DecorStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecorStyle
impl Debug for DecorStyle
Source§impl Default for DecorStyle
impl Default for DecorStyle
Source§fn default() -> DecorStyle
fn default() -> DecorStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecorStylewhere
DecorStyle: Default,
impl<'de> Deserialize<'de> for DecorStylewhere
DecorStyle: Default,
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
Auto Trait Implementations§
impl Freeze for DecorStyle
impl RefUnwindSafe for DecorStyle
impl Send for DecorStyle
impl Sync for DecorStyle
impl Unpin for DecorStyle
impl UnsafeUnpin for DecorStyle
impl UnwindSafe for DecorStyle
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