Struct bones_scripting::lua::LuaPluginSystems
source · pub struct LuaPluginSystems {
pub startup: Vec<(bool, StashedClosure)>,
pub core_stages: Vec<(CoreStage, StashedClosure)>,
}
Expand description
The systems that have been registered by a lua plugin.
Fields§
§startup: Vec<(bool, StashedClosure)>
Startup systems. The bool indicates whether the system has been run yet.
core_stages: Vec<(CoreStage, StashedClosure)>
Systems that run in the core stages.
Trait Implementations§
source§impl Default for LuaPluginSystems
impl Default for LuaPluginSystems
source§fn default() -> LuaPluginSystems
fn default() -> LuaPluginSystems
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaPluginSystems
impl !RefUnwindSafe for LuaPluginSystems
impl !Send for LuaPluginSystems
impl !Sync for LuaPluginSystems
impl Unpin for LuaPluginSystems
impl !UnwindSafe for LuaPluginSystems
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
§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
§fn from_world(_world: &World) -> T
fn from_world(_world: &World) -> T
Creates
Self
using data from the given [World
].