pub struct Script { /* fields omitted */ }
Expand description
Returns the script metadata
Activate a script, inactive scripts will not react to hooks
Deactivate a script, inactive scripts will not react to hooks
Check if a script is listening for a hook
Trigger a hook on the script, this disregards the script state as in the hook will be triggered even if the script is inactive
If the script is not listening for the specified hook, an error will be returned
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.