pub struct ScriptPackage<'a, SE>where
SE: ScriptExpression,{
pub modules: Vec<ScriptModule<'a, SE>>,
}
Fields§
§modules: Vec<ScriptModule<'a, SE>>
Implementations§
Source§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, )
Trait Implementations§
Source§impl<'a, SE> Debug for ScriptPackage<'a, SE>where
SE: Debug + ScriptExpression,
impl<'a, SE> Debug for ScriptPackage<'a, SE>where
SE: Debug + ScriptExpression,
Source§impl<'a, SE> Default for ScriptPackage<'a, SE>where
SE: Default + ScriptExpression,
impl<'a, SE> Default for ScriptPackage<'a, SE>where
SE: Default + ScriptExpression,
Source§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> Freeze for ScriptPackage<'a, SE>
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