pub struct PointerState<'a> {
pub root: u64,
pub child: u64,
pub root_x: f64,
pub root_y: f64,
pub win_x: f64,
pub win_y: f64,
pub group: XIModifierState,
pub relative_to_window: bool,
/* private fields */
}
Fields§
§root: u64
§child: u64
§root_x: f64
§root_y: f64
§win_x: f64
§win_y: f64
§group: XIModifierState
§relative_to_window: bool
Implementations§
source§impl<'a> PointerState<'a>
impl<'a> PointerState<'a>
pub fn get_modifier_state(&self) -> ModifiersState
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PointerState<'a>
impl<'a> !Send for PointerState<'a>
impl<'a> !Sync for PointerState<'a>
impl<'a> Unpin for PointerState<'a>
impl<'a> !UnwindSafe for PointerState<'a>
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