Struct egui::pass_state::PerLayerState
source · pub struct PerLayerState {
pub open_popups: HashSet<Id>,
pub widget_with_tooltip: Option<Id>,
}
Fields§
§open_popups: HashSet<Id>
Is there any open popup (menus, combo-boxes, etc)?
Does NOT include tooltips.
widget_with_tooltip: Option<Id>
Which widget is showing a tooltip (if any)?
Only one widget per layer may show a tooltip. But if a tooltip contains a tooltip, you can show a tooltip on top of a tooltip.
Trait Implementations§
source§impl Clone for PerLayerState
impl Clone for PerLayerState
source§fn clone(&self) -> PerLayerState
fn clone(&self) -> PerLayerState
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 PerLayerState
impl Debug for PerLayerState
source§impl Default for PerLayerState
impl Default for PerLayerState
source§fn default() -> PerLayerState
fn default() -> PerLayerState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PerLayerState
impl RefUnwindSafe for PerLayerState
impl Send for PerLayerState
impl Sync for PerLayerState
impl Unpin for PerLayerState
impl UnwindSafe for PerLayerState
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
)