[][src]Enum gauge_sys::ffi::ServiceId

pub enum ServiceId {
    PreQuery,
    PostQuery,
    PreInstall,
    PostInstall,
    PreInitialize,
    PostInitialize,
    PreUpdate,
    PostUpdate,
    PreGenerate,
    PostGenerate,
    PreDraw,
    PostDraw,
    PreKill,
    PostKill,
    ConnectToWindow,
    Disconnect,
    PanelOpen,
    PanelClose,
}

Events provided by the Gauge API

Variants

PreQuery
PostQuery
PreInstall
PostInstall
PreInitialize
PostInitialize
PreUpdate
PostUpdate
PreGenerate
PostGenerate
PreDraw
PostDraw
PreKill
PostKill
ConnectToWindow
Disconnect
PanelOpen
PanelClose

Implementations

impl ServiceId[src]

pub fn to_ffi(self) -> RawServiceId[src]

Converts a ServiceId into the raw value used for FFI interactions

pub fn from_ffi(raw: RawServiceId) -> Option<Self>[src]

Attempts to convert the raw service ID into a known ServiceId

Trait Implementations

impl Clone for ServiceId[src]

impl Copy for ServiceId[src]

impl Debug for ServiceId[src]

impl Eq for ServiceId[src]

impl FromPrimitive for ServiceId[src]

impl Hash for ServiceId[src]

impl PartialEq<ServiceId> for ServiceId[src]

impl StructuralEq for ServiceId[src]

impl StructuralPartialEq for ServiceId[src]

impl ToPrimitive for ServiceId[src]

Auto Trait Implementations

impl RefUnwindSafe for ServiceId

impl Send for ServiceId

impl Sync for ServiceId

impl Unpin for ServiceId

impl UnwindSafe for ServiceId

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.