pub struct ConfiguredPluginFactory<P, F> { /* private fields */ }Expand description
A generated Plugin factory with event-owned private Host bindings.
Implementations§
Source§impl<P, F> ConfiguredPluginFactory<P, F>
impl<P, F> ConfiguredPluginFactory<P, F>
pub fn new(initialize: F) -> ConfiguredPluginFactory<P, F>
Trait Implementations§
Source§impl<P, F> Debug for ConfiguredPluginFactory<P, F>
impl<P, F> Debug for ConfiguredPluginFactory<P, F>
Source§impl<P, F> NativePluginFactory for ConfiguredPluginFactory<P, F>
impl<P, F> NativePluginFactory for ConfiguredPluginFactory<P, F>
Source§fn package_id(&self) -> &'static str
fn package_id(&self) -> &'static str
Package identity selected by the Resolved App Plan.
Source§fn package_version(&self) -> &'static str
fn package_version(&self) -> &'static str
Exact statically linked Cargo package version.
Source§fn runtime_profile(&self) -> &'static str
fn runtime_profile(&self) -> &'static str
Exact native authoring protocol implemented by this factory. Read more
Source§fn instantiate(
&self,
context: NativePluginFactoryContext<'_>,
) -> Result<NativePluginInstance, RuntimeFailure>
fn instantiate( &self, context: NativePluginFactoryContext<'_>, ) -> Result<NativePluginInstance, RuntimeFailure>
Creates a fresh Plugin Instance generation.
Source§fn factory_identity(&self) -> String
fn factory_identity(&self) -> String
Immutable factory identity advertised by the exact Host Build Manifest. Read more
Auto Trait Implementations§
impl<P, F> Freeze for ConfiguredPluginFactory<P, F>
impl<P, F> RefUnwindSafe for ConfiguredPluginFactory<P, F>
impl<P, F> Send for ConfiguredPluginFactory<P, F>
impl<P, F> Sync for ConfiguredPluginFactory<P, F>
impl<P, F> Unpin for ConfiguredPluginFactory<P, F>
impl<P, F> UnsafeUnpin for ConfiguredPluginFactory<P, F>
impl<P, F> UnwindSafe for ConfiguredPluginFactory<P, F>
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