[−][src]Struct wayland_protocols::wlr::unstable::virtual_pointer::v1::client::zwlr_virtual_pointer_v1::ZwlrVirtualPointerV1
Implementations
impl ZwlrVirtualPointerV1
[src]
pub fn motion(&self, time: u32, dx: f64, dy: f64)
[src]
pointer relative motion event
The pointer has moved by a relative amount to the previous request.
Values are in the global compositor space.
pub fn motion_absolute(
&self,
time: u32,
x: u32,
y: u32,
x_extent: u32,
y_extent: u32
)
[src]
&self,
time: u32,
x: u32,
y: u32,
x_extent: u32,
y_extent: u32
)
pointer absolute motion event
The pointer has moved in an absolute coordinate frame.
Value of x can range from 0 to x_extent, value of y can range from 0 to y_extent.
pub fn button(&self, time: u32, button: u32, state: ButtonState)
[src]
button event
A button was pressed or released.
pub fn axis(&self, time: u32, axis: Axis, value: f64)
[src]
axis event
Scroll and other axis requests.
pub fn frame(&self)
[src]
end of a pointer event sequence
Indicates the set of events that logically belong together.
pub fn axis_source(&self, axis_source: AxisSource)
[src]
axis source event
Source information for scroll and other axis.
pub fn axis_stop(&self, time: u32, axis: Axis)
[src]
axis stop event
Stop notification for scroll and other axes.
pub fn axis_discrete(&self, time: u32, axis: Axis, value: f64, discrete: i32)
[src]
axis click event
Discrete step information for scroll and other axes.
This event allows the client to extend data normally sent using the axis event with discrete value.
pub fn destroy(&self)
[src]
destroy the virtual pointer object
This is a destructor, you cannot send requests to this object any longer once this method is called.
Trait Implementations
impl AsRef<Proxy<ZwlrVirtualPointerV1>> for ZwlrVirtualPointerV1
[src]
impl Clone for ZwlrVirtualPointerV1
[src]
fn clone(&self) -> ZwlrVirtualPointerV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZwlrVirtualPointerV1
[src]
impl Eq for ZwlrVirtualPointerV1
[src]
impl From<Proxy<ZwlrVirtualPointerV1>> for ZwlrVirtualPointerV1
[src]
impl From<ZwlrVirtualPointerV1> for Proxy<ZwlrVirtualPointerV1>
[src]
fn from(value: ZwlrVirtualPointerV1) -> Self
[src]
impl Interface for ZwlrVirtualPointerV1
[src]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwlrVirtualPointerV1> for ZwlrVirtualPointerV1
[src]
fn eq(&self, other: &ZwlrVirtualPointerV1) -> bool
[src]
fn ne(&self, other: &ZwlrVirtualPointerV1) -> bool
[src]
impl StructuralEq for ZwlrVirtualPointerV1
[src]
impl StructuralPartialEq for ZwlrVirtualPointerV1
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwlrVirtualPointerV1
impl Send for ZwlrVirtualPointerV1
impl Sync for ZwlrVirtualPointerV1
impl Unpin for ZwlrVirtualPointerV1
impl !UnwindSafe for ZwlrVirtualPointerV1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,