Struct runscript::Runscript [−][src]
A parsed runscript
Fields
name: String
The name of the runscript for the location tracker
source: String
The source of the runscript for emitting errors
includes: Vec<RunscriptInclude>
The runscripts this runscript includes.
scripts: Scripts
The scripts this runscript declares
options: Vec<String>
Runtime options to change the behaviour of the interpreter
Implementations
impl Runscript
[src]
pub fn unwind_fileid(&self, id: &[usize]) -> Option<&Runscript>
[src]
pub fn get_target(
&self,
target: &str
) -> Option<&EnumMap<ScriptPhase, Option<Script>>>
[src]
&self,
target: &str
) -> Option<&EnumMap<ScriptPhase, Option<Script>>>
pub fn get_default_script(&self, phase: ScriptPhase) -> Option<&Script>
[src]
pub fn get_global_script(&self, phase: ScriptPhase) -> Option<&Script>
[src]
pub fn get_pre_global_script(&self, phase: ScriptPhase) -> Option<&Script>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Runscript
impl Send for Runscript
impl Sync for Runscript
impl Unpin for Runscript
impl UnwindSafe for Runscript
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,