pub struct WindowCursorState {
pub grab_mode: CursorGrabMode,
pub visible: bool,
pub revision: u64,
}Expand description
Desired host cursor state for one runtime window.
revision advances for every accepted widget request, including a repeated
request for the same value. Platform hosts use it to retry a best-effort
grab from a later user-activation event.
Fields§
§grab_mode: CursorGrabMode§visible: bool§revision: u64Trait Implementations§
Source§impl Clone for WindowCursorState
impl Clone for WindowCursorState
impl Copy for WindowCursorState
Source§impl Debug for WindowCursorState
impl Debug for WindowCursorState
Source§impl Default for WindowCursorState
impl Default for WindowCursorState
impl Eq for WindowCursorState
Source§impl PartialEq for WindowCursorState
impl PartialEq for WindowCursorState
impl StructuralPartialEq for WindowCursorState
Auto Trait Implementations§
impl Forget for WindowCursorState
impl Freeze for WindowCursorState
impl Move for WindowCursorState
impl RefUnwindSafe for WindowCursorState
impl Send for WindowCursorState
impl Sync for WindowCursorState
impl Unpin for WindowCursorState
impl UnsafeUnpin for WindowCursorState
impl UnwindSafe for WindowCursorState
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