pub struct PluginManager;Expand description
Plugin discovery and management for GLDF files.
Implementations§
Source§impl PluginManager
impl PluginManager
Sourcepub fn discover_plugins(files: &[BufFile]) -> Vec<Plugin>
pub fn discover_plugins(files: &[BufFile]) -> Vec<Plugin>
Discover all plugins in a GLDF file’s embedded files.
Scans for other/viewer/*/manifest.json files and loads the associated
plugin files (JS, WASM, and optional data).
Sourcepub fn has_plugins(files: &[BufFile]) -> bool
pub fn has_plugins(files: &[BufFile]) -> bool
Check if a GLDF file contains any plugins.
Sourcepub fn get_plugin_types(files: &[BufFile]) -> Vec<String>
pub fn get_plugin_types(files: &[BufFile]) -> Vec<String>
Get plugin types available in a GLDF file.
Auto Trait Implementations§
impl Freeze for PluginManager
impl RefUnwindSafe for PluginManager
impl Send for PluginManager
impl Sync for PluginManager
impl Unpin for PluginManager
impl UnsafeUnpin for PluginManager
impl UnwindSafe for PluginManager
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