Struct intuicio_frontend_vault::VaultPackage
source · pub struct VaultPackage {
pub modules: HashMap<String, VaultModule>,
}
Fields§
§modules: HashMap<String, VaultModule>
Implementations§
source§impl VaultPackage
impl VaultPackage
pub fn new<CP>(
path: &str,
content_provider: &mut CP
) -> Result<Self, Box<dyn Error>>where
CP: ScriptContentProvider<VaultModule>,
pub fn load<CP>(
&mut self,
path: &str,
content_provider: &mut CP
) -> Result<(), Box<dyn Error>>where
CP: ScriptContentProvider<VaultModule>,
pub fn compile(&self) -> ScriptPackage<'static, VaultScriptExpression>
Trait Implementations§
source§impl Default for VaultPackage
impl Default for VaultPackage
source§fn default() -> VaultPackage
fn default() -> VaultPackage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VaultPackage
impl RefUnwindSafe for VaultPackage
impl Send for VaultPackage
impl Sync for VaultPackage
impl Unpin for VaultPackage
impl UnwindSafe for VaultPackage
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