[][src]Enum ovrt_sys::cmd::Callback

pub enum Callback {
    FinishSpawnOverlay(Uid),
    FinishGetWindowTitles(String),
    FinishGetMonitorCount(usize),
    FinishGetOverlayTransform(OVROverlayTransform),
    FinishGetOverlayType(i32),
    FinishGetOverlayBounds(String),
    FinishGetFingerCurls(String),
}

Callback are pre-registered functions by ovrt-sys in which ovrt calls after some job/query has finished.

Every callback is called as a response from a request made by ovrt-sys, and thus for each Callback instance, there was a Notification instance as well.

Variants

FinishSpawnOverlay(Uid)

See also Notification::StartSpawnOverlay.

FinishGetWindowTitles(String)

See also Notification::StartGetWindowTitles.

FinishGetMonitorCount(usize)

See also Notification::StartGetMonitorCount.

FinishGetOverlayTransform(OVROverlayTransform)

See also Notification::StartGetOverlayTransform.

FinishGetOverlayType(i32)

See also Notification::StartGetOverlayType.

FinishGetOverlayBounds(String)

See also Notification::StartGetOverlayBounds.

FinishGetFingerCurls(String)

See also Notification::StartGetFingerCurls.

Trait Implementations

impl Clone for Callback[src]

impl Debug for Callback[src]

impl PartialEq<Callback> for Callback[src]

impl PartialOrd<Callback> for Callback[src]

impl StructuralPartialEq for Callback[src]

Auto Trait Implementations

impl RefUnwindSafe for Callback

impl Send for Callback

impl Sync for Callback

impl Unpin for Callback

impl UnwindSafe for Callback

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> 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.