pub struct DefaultOverlayTheme;Expand description
Default overlay theme using design specification values
Implementations§
Trait Implementations§
Source§impl Default for DefaultOverlayTheme
impl Default for DefaultOverlayTheme
Source§impl OverlayTheme for DefaultOverlayTheme
impl OverlayTheme for DefaultOverlayTheme
fn tooltip_padding(&self) -> f64
fn tooltip_max_width(&self) -> f64
fn background_color(&self) -> &str
fn text_color(&self) -> &str
fn border_color(&self) -> &str
fn shadow_color(&self) -> &str
fn border_width(&self) -> f64
fn shadow_blur(&self) -> f64
fn shadow_offset(&self) -> (f64, f64)
fn fade_in_duration_ms(&self) -> u32
fn hover_delay_ms(&self) -> u32
Auto Trait Implementations§
impl Freeze for DefaultOverlayTheme
impl RefUnwindSafe for DefaultOverlayTheme
impl Send for DefaultOverlayTheme
impl Sync for DefaultOverlayTheme
impl Unpin for DefaultOverlayTheme
impl UnsafeUnpin for DefaultOverlayTheme
impl UnwindSafe for DefaultOverlayTheme
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