pub struct TooltipDefaults;Expand description
Default values for tooltip.
Implementations§
Source§impl TooltipDefaults
impl TooltipDefaults
pub const OFFSET_Y: f32 = -28.0
pub const HORIZONTAL_PADDING: f32 = 8.0
pub const VERTICAL_PADDING: f32 = 4.0
pub const MAX_WIDTH: f32 = 200.0
pub fn container_color() -> Color
pub fn content_color() -> Color
Auto Trait Implementations§
impl Freeze for TooltipDefaults
impl RefUnwindSafe for TooltipDefaults
impl Send for TooltipDefaults
impl Sync for TooltipDefaults
impl Unpin for TooltipDefaults
impl UnsafeUnpin for TooltipDefaults
impl UnwindSafe for TooltipDefaults
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