Struct oxygengine::prelude::intuicio::prelude::ScriptPackage
pub struct ScriptPackage<'a, SE>where
SE: ScriptExpression,{
pub modules: Vec<ScriptModule<'a, SE>, Global>,
}
Fields§
§modules: Vec<ScriptModule<'a, SE>, Global>
Implementations§
§impl<SE> ScriptPackage<'static, SE>where
SE: ScriptExpression,
impl<SE> ScriptPackage<'static, SE>where SE: ScriptExpression,
pub fn install<SFG>( &self, registry: &mut Registry, input: <SFG as ScriptFunctionGenerator<SE>>::Input )where SFG: ScriptFunctionGenerator<SE>, <SFG as ScriptFunctionGenerator<SE>>::Input: Clone,
Trait Implementations§
§impl<'a, SE> Debug for ScriptPackage<'a, SE>where
SE: Debug + ScriptExpression,
impl<'a, SE> Debug for ScriptPackage<'a, SE>where SE: Debug + ScriptExpression,
§impl<'a, SE> Default for ScriptPackage<'a, SE>where
SE: Default + ScriptExpression,
impl<'a, SE> Default for ScriptPackage<'a, SE>where SE: Default + ScriptExpression,
§fn default() -> ScriptPackage<'a, SE>
fn default() -> ScriptPackage<'a, SE>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a, SE> RefUnwindSafe for ScriptPackage<'a, SE>where SE: RefUnwindSafe,
impl<'a, SE> Send for ScriptPackage<'a, SE>
impl<'a, SE> Sync for ScriptPackage<'a, SE>
impl<'a, SE> Unpin for ScriptPackage<'a, SE>
impl<'a, SE> UnwindSafe for ScriptPackage<'a, SE>where SE: RefUnwindSafe,
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> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more