Struct rat_in_a_tube::CompiledScriptData
source · pub struct CompiledScriptData { /* private fields */ }
Expand description
Result of a successful compilation.
Implementations§
source§impl CompiledScriptData
impl CompiledScriptData
sourcepub fn get_scripts(&self) -> &[CompiledScript]
pub fn get_scripts(&self) -> &[CompiledScript]
Get all scripts that were compiled.
sourcepub fn get_globals(&self) -> &[CompiledGlobal]
pub fn get_globals(&self) -> &[CompiledGlobal]
Get all globals that were compiled.
sourcepub fn get_warnings(&self) -> &[CompileError]
pub fn get_warnings(&self) -> &[CompileError]
Get all warnings from compiling.
sourcepub fn get_nodes(&self) -> &[CompiledNode]
pub fn get_nodes(&self) -> &[CompiledNode]
Get all compiled nodes
Auto Trait Implementations§
impl RefUnwindSafe for CompiledScriptData
impl Send for CompiledScriptData
impl Sync for CompiledScriptData
impl Unpin for CompiledScriptData
impl UnwindSafe for CompiledScriptData
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