pub struct SelectionHoverStyle {
pub hover_highlight_color: String,
pub hover_scale_factor: f64,
pub hover_glow_enabled: bool,
pub hover_glow_color: String,
pub hover_glow_blur: f64,
}Expand description
Selection hover effects style
Fields§
§hover_highlight_color: String§hover_scale_factor: f64§hover_glow_enabled: bool§hover_glow_color: String§hover_glow_blur: f64Implementations§
Source§impl SelectionHoverStyle
impl SelectionHoverStyle
pub fn new() -> Self
pub fn with_hover_highlight_color(self, color: String) -> Self
pub fn with_hover_scale_factor(self, scale: f64) -> Self
pub fn with_hover_glow_enabled(self, enabled: bool) -> Self
Trait Implementations§
Source§impl Clone for SelectionHoverStyle
impl Clone for SelectionHoverStyle
Source§fn clone(&self) -> SelectionHoverStyle
fn clone(&self) -> SelectionHoverStyle
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 SelectionHoverStyle
impl Debug for SelectionHoverStyle
Source§impl Default for SelectionHoverStyle
impl Default for SelectionHoverStyle
Source§impl PartialEq for SelectionHoverStyle
impl PartialEq for SelectionHoverStyle
impl StructuralPartialEq for SelectionHoverStyle
Auto Trait Implementations§
impl Freeze for SelectionHoverStyle
impl RefUnwindSafe for SelectionHoverStyle
impl Send for SelectionHoverStyle
impl Sync for SelectionHoverStyle
impl Unpin for SelectionHoverStyle
impl UnwindSafe for SelectionHoverStyle
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