pub struct ScriptEffects {
pub range: Range<usize>,
pub may_suspend: bool,
pub writes: Vec<String>,
pub incomplete: bool,
pub required: Option<PointerSet>,
}Expand description
Effects visible above a script header. These describe possible execution; they do not promise that every path suspends or writes every listed variable.
Fields§
§range: Range<usize>§may_suspend: bool§writes: Vec<String>Game-variable names, without %; a leading dot selects the secondary entity.
incomplete: boolMissing or ambiguous calls, or damaged syntax, prevent a complete summary.
required: Option<PointerSet>Available only after pointer checking completed for this exact generation.
Implementations§
Trait Implementations§
Source§impl Clone for ScriptEffects
impl Clone for ScriptEffects
Auto Trait Implementations§
impl Forget for ScriptEffects
impl Freeze for ScriptEffects
impl Move for ScriptEffects
impl RefUnwindSafe for ScriptEffects
impl Send for ScriptEffects
impl Sync for ScriptEffects
impl Unpin for ScriptEffects
impl UnsafeUnpin for ScriptEffects
impl UnwindSafe for ScriptEffects
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more