[][src]Enum sm_ext::ExecType

#[repr(C)]
pub enum ExecType {
    Ignore,
    Single,
    Event,
    Hook,
    LowEvent,
}

Defines how a forward iterates through plugin functions.

Variants

Ignore

Ignore all return values, return 0

Single

Only return the last exec, ignore all others

Event

Acts as an event with the ResultTypes above, no mid-Stops allowed, returns highest

Hook

Acts as a hook with the ResultTypes above, mid-Stops allowed, returns highest

LowEvent

Same as Event except that it returns the lowest value

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> From<T> for T[src]

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

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> TryFromPlugin<'_, T> for U where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::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.

impl<'ctx, T, U> TryIntoPlugin<'ctx, U> for T where
    U: TryFromPlugin<'ctx, T>, 
[src]

type Error = <U as TryFromPlugin<'ctx, T>>::Error