pub struct PluginFactory { /* private fields */ }Implementations§
Source§impl PluginFactory
impl PluginFactory
pub fn from_module(bundle_path: &Path) -> Result<Self, String>
pub fn get_class_info(&self, index: i32) -> Option<ClassInfo>
pub fn count_classes(&self) -> i32
pub fn create_instance( &self, class_id: &[i8; 16], ) -> Result<PluginInstance, String>
pub fn get_factory_info(&self) -> Option<FactoryInfo>
pub fn create_edit_controller( &self, class_id: &[i8; 16], ) -> Result<ComPtr<IEditController>, String>
Trait Implementations§
Source§impl Debug for PluginFactory
impl Debug for PluginFactory
Source§impl Drop for PluginFactory
impl Drop for PluginFactory
Auto Trait Implementations§
impl Freeze for PluginFactory
impl RefUnwindSafe for PluginFactory
impl Send for PluginFactory
impl Sync for PluginFactory
impl Unpin for PluginFactory
impl UnsafeUnpin for PluginFactory
impl UnwindSafe for PluginFactory
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