Struct egui::frame_state::TooltipFrameState
source · pub struct TooltipFrameState {
pub widget_tooltips: IdMap<PerWidgetTooltipState>,
}
Expand description
Reset at the start of each frame.
Fields§
§widget_tooltips: IdMap<PerWidgetTooltipState>
If a tooltip has been shown this frame, where was it? This is used to prevent multiple tooltips to cover each other.
Implementations§
Trait Implementations§
source§impl Clone for TooltipFrameState
impl Clone for TooltipFrameState
source§fn clone(&self) -> TooltipFrameState
fn clone(&self) -> TooltipFrameState
Returns a copy of the value. Read more
1.0.0 · 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 TooltipFrameState
impl Debug for TooltipFrameState
source§impl Default for TooltipFrameState
impl Default for TooltipFrameState
source§fn default() -> TooltipFrameState
fn default() -> TooltipFrameState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TooltipFrameState
impl RefUnwindSafe for TooltipFrameState
impl Send for TooltipFrameState
impl Sync for TooltipFrameState
impl Unpin for TooltipFrameState
impl UnwindSafe for TooltipFrameState
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