Struct TooltipPlace
pub struct TooltipPlace {
pub x: i32,
pub y: i32,
}Expand description
Where a tooltip hangs from, in GUI pixels: what render_tooltip_pre lets a mod move.
Fields§
§x: i32The point’s x, before the positioner’s offset and clamp; set it to move the tooltip.
y: i32The point’s y, before the positioner’s offset and clamp; set it to move the tooltip.
Trait Implementations§
§impl Clone for TooltipPlace
impl Clone for TooltipPlace
§fn clone(&self) -> TooltipPlace
fn clone(&self) -> TooltipPlace
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 moreimpl Copy for TooltipPlace
§impl Debug for TooltipPlace
impl Debug for TooltipPlace
impl Eq for TooltipPlace
§impl PartialEq for TooltipPlace
impl PartialEq for TooltipPlace
impl StructuralPartialEq for TooltipPlace
Auto Trait Implementations§
impl Freeze for TooltipPlace
impl RefUnwindSafe for TooltipPlace
impl Send for TooltipPlace
impl Sync for TooltipPlace
impl Unpin for TooltipPlace
impl UnsafeUnpin for TooltipPlace
impl UnwindSafe for TooltipPlace
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