[][src]Struct wayland_protocols::wlr::unstable::virtual_pointer::v1::client::zwlr_virtual_pointer_v1::ZwlrVirtualPointerV1

pub struct 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]

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]

impl Debug for ZwlrVirtualPointerV1[src]

impl Eq for ZwlrVirtualPointerV1[src]

impl From<Proxy<ZwlrVirtualPointerV1>> for ZwlrVirtualPointerV1[src]

impl From<ZwlrVirtualPointerV1> for Proxy<ZwlrVirtualPointerV1>[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

impl PartialEq<ZwlrVirtualPointerV1> for ZwlrVirtualPointerV1[src]

impl StructuralEq for ZwlrVirtualPointerV1[src]

impl StructuralPartialEq for ZwlrVirtualPointerV1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.