pub struct ScriptPackage<'a, SE: ScriptExpression> {
pub modules: Vec<ScriptModule<'a, SE>>,
}Expand description
A whole compilation unit: the modules a frontend produced.
Fields§
§modules: Vec<ScriptModule<'a, SE>>Modules this unit is made of.
Implementations§
Source§impl<SE: ScriptExpression> ScriptPackage<'static, SE>
impl<SE: ScriptExpression> ScriptPackage<'static, SE>
Trait Implementations§
Source§impl<'a, SE: Debug + ScriptExpression> Debug for ScriptPackage<'a, SE>
impl<'a, SE: Debug + ScriptExpression> Debug for ScriptPackage<'a, SE>
Source§impl<'a, SE: Default + ScriptExpression> Default for ScriptPackage<'a, SE>
impl<'a, SE: Default + ScriptExpression> Default for ScriptPackage<'a, SE>
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>
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> UnsafeUnpin for ScriptPackage<'a, SE>
impl<'a, SE> UnwindSafe for ScriptPackage<'a, SE>
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
Source§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere
T: Default,
Source§fn initialize() -> T
fn initialize() -> T
Returns the initial value of this type.