pub struct Registry { /* private fields */ }Implementations
sourceimpl Registry
impl Registry
pub fn new() -> Registry
pub fn add(
&mut self,
module_name: &'static str,
name: &'static str,
api_version: ApiVersion,
plugin_version: PluginVersion,
instance: Box<dyn Execute>,
set_host: unsafe extern "C" fn(_: *mut OfxHost),
main_entry: unsafe extern "C" fn(_: *const i8, _: VoidPtr, _: *mut OfxPropertySetStruct, _: *mut OfxPropertySetStruct) -> Int
) -> usize
pub fn count(&self) -> Int
pub fn get_plugin_mut(&mut self, index: usize) -> &mut PluginDescriptor
pub fn get_plugin(&self, index: usize) -> &PluginDescriptor
pub fn ofx_plugin(&'static self, index: Int) -> &'static OfxPlugin
pub fn dispatch(
&mut self,
plugin_module: &str,
message: RawMessage
) -> Result<Int>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Registry
impl !Send for Registry
impl !Sync for Registry
impl Unpin for Registry
impl !UnwindSafe for Registry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more