pub struct UiIntents {
pub cursor_hidden: bool,
pub menu_mode: Option<bool>,
pub camera_capture: Option<bool>,
}Expand description
Window-interaction intents resolved during extraction, applied verbatim by
submission. None means “do not touch the current state this frame”.
Fields§
Hide the OS cursor while an in-engine cursor sprite is shown.
Enter or leave menu mode, or None to leave it as is.
camera_capture: Option<bool>Capture or release the cursor, or None to leave it as is.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UiIntents
impl RefUnwindSafe for UiIntents
impl Send for UiIntents
impl Sync for UiIntents
impl Unpin for UiIntents
impl UnsafeUnpin for UiIntents
impl UnwindSafe for UiIntents
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