Struct pixels_graphics_lib::ui::tooltip::Tooltip
source · 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, text_size: TextSize ) -> Rect
Trait Implementations§
Auto Trait Implementations§
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