pub struct PluginRef { /* private fields */ }Expand description
A plugin class to load: its identity and where it is installed. VST3 and CLAP classes live in a bundle; Audio Units have none, the system registry finds them. Build it with the format’s constructor, or take it from the scanner’s catalog.
Implementations§
Source§impl PluginRef
impl PluginRef
Sourcepub fn vst3(
bundle: impl Into<PathBuf>,
class_id: impl Into<String>,
) -> PluginRef
pub fn vst3( bundle: impl Into<PathBuf>, class_id: impl Into<String>, ) -> PluginRef
The VST3 class class_id in the .vst3 bundle (or, on Windows, single-file module) at
bundle.
Sourcepub fn clap(
bundle: impl Into<PathBuf>,
class_id: impl Into<String>,
) -> PluginRef
pub fn clap( bundle: impl Into<PathBuf>, class_id: impl Into<String>, ) -> PluginRef
The CLAP plugin class_id in the .clap bundle at bundle.
Sourcepub fn audio_unit(class_id: impl Into<String>) -> PluginRef
pub fn audio_unit(class_id: impl Into<String>) -> PluginRef
The registered Audio Unit class_id.
Trait Implementations§
impl Eq for PluginRef
impl StructuralPartialEq for PluginRef
Auto Trait Implementations§
impl Forget for PluginRef
impl Freeze for PluginRef
impl Move for PluginRef
impl RefUnwindSafe for PluginRef
impl Send for PluginRef
impl Sync for PluginRef
impl Unpin for PluginRef
impl UnsafeUnpin for PluginRef
impl UnwindSafe for PluginRef
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