pub struct PressVector {
pub name: &'static str,
pub tree: usize,
pub overlays: Vec<NvOverlayItem>,
pub x: f32,
pub y: f32,
pub hit: NodeId,
pub topmost_modal: NodeId,
pub outcome: String,
pub modal_barrier: bool,
pub until: NodeId,
pub dismissed: Vec<NodeId>,
}Expand description
One pointer-down case and its verdict.
Fields§
§name: &'static str§tree: usizeIndex into TopLayerVectors::trees.
overlays: Vec<NvOverlayItem>Open overlays, back to front, as published.
x: f32§y: f32§hit: NodeIdHit node (NULL: none).
topmost_modal: NodeIdThe topmost_modal scene fact input (NULL: none), authoritative over the MODAL flags.
outcome: StringPressOutcome variant name (LightDismiss).
modal_barrier: bool§until: NodeIdThe backmost overlay closed (NULL unless light dismiss).
dismissed: Vec<NodeId>Overlays closed, front to back.
Trait Implementations§
Source§impl Clone for PressVector
impl Clone for PressVector
Auto Trait Implementations§
impl Forget for PressVector
impl Freeze for PressVectorwhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<NvOverlayItem>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<NodeId>: Freeze,
impl Move for PressVector
impl RefUnwindSafe for PressVector
impl Send for PressVector
impl Sync for PressVectorwhere
RawVecInner: Sync,
impl Unpin for PressVector
impl UnsafeUnpin for PressVectorwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<NvOverlayItem>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<NodeId>: UnsafeUnpin,
impl UnwindSafe for PressVector
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