pub struct OverlayPresence {
pub present: bool,
pub interactive: bool,
}Expand description
Presence state for an overlay root (mount/paint vs interactive).
This is intentionally a small, typed wrapper so component code doesn’t pass raw present: bool
around and accidentally conflate it with open.
Fields§
§present: bool§interactive: boolImplementations§
Trait Implementations§
Source§impl Clone for OverlayPresence
impl Clone for OverlayPresence
Source§fn clone(&self) -> OverlayPresence
fn clone(&self) -> OverlayPresence
Returns a duplicate 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 OverlayPresence
impl Debug for OverlayPresence
Source§impl PartialEq for OverlayPresence
impl PartialEq for OverlayPresence
impl Copy for OverlayPresence
impl StructuralPartialEq for OverlayPresence
Auto Trait Implementations§
impl Freeze for OverlayPresence
impl RefUnwindSafe for OverlayPresence
impl Send for OverlayPresence
impl Sync for OverlayPresence
impl Unpin for OverlayPresence
impl UnsafeUnpin for OverlayPresence
impl UnwindSafe for OverlayPresence
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