pub struct Tooltip { /* private fields */ }
Implementations§
Source§impl Tooltip
impl Tooltip
pub fn new<P: Into<Coord>>( anchor: P, text: &str, positioning: Positioning, style: &TooltipStyle, ) -> Self
Source§impl Tooltip
impl Tooltip
pub fn calc_bounds( xy: Coord, positioning: Positioning, text: &str, font: PixelFont, ) -> Rect
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tooltip
impl RefUnwindSafe for Tooltip
impl Send for Tooltip
impl Sync for Tooltip
impl Unpin for Tooltip
impl UnwindSafe for Tooltip
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