pub struct UiCapture {
pub pointer: bool,
pub keyboard: bool,
}Expand description
Ownership signals for explicit gameplay routing. Modal games can block all gameplay actions; overlays can block only shared click/navigation actions.
Fields§
§pointer: boolA region is hovered or owns this tick’s pointer press/drag/release.
keyboard: boolA region has keyboard focus or this tick cancelled an existing focus.
Trait Implementations§
impl Copy for UiCapture
impl Eq for UiCapture
impl StructuralPartialEq for UiCapture
Auto Trait Implementations§
impl Freeze for UiCapture
impl RefUnwindSafe for UiCapture
impl Send for UiCapture
impl Sync for UiCapture
impl Unpin for UiCapture
impl UnsafeUnpin for UiCapture
impl UnwindSafe for UiCapture
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