pub struct InteractivityGateProps {
pub layout: LayoutStyle,
pub present: bool,
pub interactive: bool,
}Expand description
Gate subtree presence (layout/paint) and interactivity (hit-testing + focus traversal).
When present == false, the subtree remains mounted but is treated like display: none:
it does not participate in layout, paint, hit-testing, or focus traversal.
When present == true and interactive == false, the subtree is still laid out/painted but is
inert for pointer and focus traversal (useful for close animations).
Fields§
§layout: LayoutStyle§present: bool§interactive: boolTrait Implementations§
Source§impl Clone for InteractivityGateProps
impl Clone for InteractivityGateProps
Source§fn clone(&self) -> InteractivityGateProps
fn clone(&self) -> InteractivityGateProps
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 InteractivityGateProps
impl Debug for InteractivityGateProps
Source§impl Default for InteractivityGateProps
impl Default for InteractivityGateProps
impl Copy for InteractivityGateProps
Auto Trait Implementations§
impl Freeze for InteractivityGateProps
impl RefUnwindSafe for InteractivityGateProps
impl Send for InteractivityGateProps
impl Sync for InteractivityGateProps
impl Unpin for InteractivityGateProps
impl UnsafeUnpin for InteractivityGateProps
impl UnwindSafe for InteractivityGateProps
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