Struct gveditor_core_api::extensions::manager::ExtensionsManager [−][src]
pub struct ExtensionsManager {
pub extensions: Vec<LoadedExtension>,
}
Expand description
Manage a group of extensions
Fields
extensions: Vec<LoadedExtension>
Implementations
pub async fn load_extensions_from_path(
&mut self,
path: &Path,
sender: Sender<Messages>,
state_id: u8
) -> &mut ExtensionsManager
pub async fn load_extensions_from_path(
&mut self,
path: &Path,
sender: Sender<Messages>,
state_id: u8
) -> &mut ExtensionsManager
Returns a vector of pointers to all extensions instances
Arguments
path
- The directory path from where to load the extensionssender
- A mpsc sender to communicate with the corestate_id
- The State ID in whidh it was loaded
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ExtensionsManager
impl Send for ExtensionsManager
impl Sync for ExtensionsManager
impl Unpin for ExtensionsManager
impl !UnwindSafe for ExtensionsManager
Blanket Implementations
Mutably borrows from an owned value. Read more