Struct components::winit::platform::unix::x11::util::PointerState
[−]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
impl<'a> PointerState<'a>
impl<'a> PointerState<'a>
pub fn get_modifier_state(&self) -> ModifiersState
Trait Implementations
impl<'a> Drop for PointerState<'a>
impl<'a> Drop for PointerState<'a>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.