Struct egui::pass_state::TooltipPassState
source · pub struct TooltipPassState {
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 TooltipPassState
impl Clone for TooltipPassState
source§fn clone(&self) -> TooltipPassState
fn clone(&self) -> TooltipPassState
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 TooltipPassState
impl Debug for TooltipPassState
source§impl Default for TooltipPassState
impl Default for TooltipPassState
source§fn default() -> TooltipPassState
fn default() -> TooltipPassState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TooltipPassState
impl RefUnwindSafe for TooltipPassState
impl Send for TooltipPassState
impl Sync for TooltipPassState
impl Unpin for TooltipPassState
impl UnwindSafe for TooltipPassState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)