Struct runscript::Scripts[][src]

pub struct Scripts {
    pub pre_global_target: EnumMap<ScriptPhase, Option<Script>>,
    pub global_target: EnumMap<ScriptPhase, Option<Script>>,
    pub default_target: EnumMap<ScriptPhase, Option<Script>>,
    pub targets: HashMap<String, EnumMap<ScriptPhase, Option<Script>>>,
}

The exectable scripts defined by a Runscript

Fields

pre_global_target: EnumMap<ScriptPhase, Option<Script>>

The scripts defined under #<

These scripts are executed in their respective ScriptPhase before the targeted target.

global_target: EnumMap<ScriptPhase, Option<Script>>

The scripts defined under ##

These scripts are executed in their respective ScriptPhase after the targeted target.

default_target: EnumMap<ScriptPhase, Option<Script>>

The scripts defined under #-

These scripts are executed in their respective ScriptPhase as the targeted target if no target is specified

targets: HashMap<String, EnumMap<ScriptPhase, Option<Script>>>

The scripts defined under #name

These scripts are executed in their respective ScriptPhase if they were chosen as the target

Trait Implementations

impl Debug for Scripts[src]

Auto Trait Implementations

impl RefUnwindSafe for Scripts

impl Send for Scripts

impl Sync for Scripts

impl Unpin for Scripts

impl UnwindSafe for Scripts

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