pub struct TooltipConfig {
pub modifier: Modifier,
pub container_color: Color,
pub content_color: Color,
pub offset_y: f32,
pub horizontal_padding: f32,
pub vertical_padding: f32,
}Expand description
Configuration for tooltip.
Fields§
§modifier: Modifier§container_color: Color§content_color: Color§offset_y: f32§horizontal_padding: f32§vertical_padding: f32Trait Implementations§
Source§impl Clone for TooltipConfig
impl Clone for TooltipConfig
Source§fn clone(&self) -> TooltipConfig
fn clone(&self) -> TooltipConfig
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 TooltipConfig
impl Debug for TooltipConfig
Auto Trait Implementations§
impl !RefUnwindSafe for TooltipConfig
impl !Send for TooltipConfig
impl !Sync for TooltipConfig
impl !UnwindSafe for TooltipConfig
impl Freeze for TooltipConfig
impl Unpin for TooltipConfig
impl UnsafeUnpin for TooltipConfig
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