[][src]Enum screenruster_saver::pointer::Pointer

pub enum Pointer {
    Move {
        x: i32,
        y: i32,
    },
    Button {
        x: i32,
        y: i32,
        button: u8,
        press: bool,
    },
}

Represents pointer eents.

This can be used to make an interactive saver or show the dialog.

Variants

Move

The pointer has moved.

Fields of Move

x: i32y: i32
Button

A button has been pressed or released.

Fields of Button

x: i32y: i32button: u8press: bool

Trait Implementations

impl Clone for Pointer[src]

impl Copy for Pointer[src]

impl Debug for Pointer[src]

impl Eq for Pointer[src]

impl PartialEq<Pointer> for Pointer[src]

impl StructuralEq for Pointer[src]

impl StructuralPartialEq for Pointer[src]

Auto Trait Implementations

impl RefUnwindSafe for Pointer

impl Send for Pointer

impl Sync for Pointer

impl Unpin for Pointer

impl UnwindSafe for Pointer

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> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

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

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

impl<T> SetParameter for T

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.