pub struct PluginInfo {
pub name: String,
pub vendor: String,
pub version: u32,
pub category: PluginCategory,
pub path: PathBuf,
pub unique_id: String,
pub format: &'static str,
pub has_editor: bool,
pub accepts_midi: bool,
}Expand description
Scanner-side info about a discovered plugin. This is what
hosts hand back from crate::PluginScanner::scan; the
caller picks one and hands it back to
crate::PluginScanner::load to materialise an instance.
Fields§
§name: StringDisplay name.
vendor: StringVendor / manufacturer name.
version: u32Plugin version, packed as host saw it.
category: PluginCategoryCategory for browser UIs.
path: PathBufFilesystem path to the bundle / dylib (where applicable).
unique_id: StringFormat-specific stable id. CLAP uses the plugin id string,
VST3 uses the 16-byte CID rendered as hex, AU uses the
type/subtype/manufacturer 4ccs packed as
"type:subtype:mfr". Hosts pass this back into load.
format: &'static strWhich format wrapper produced this entry — "clap",
"vst3", "au", etc. Lets a multi-format host that
aggregates scans tell entries apart in its browser.
has_editor: boolWhether the plugin reports a GUI (a custom editor view).
accepts_midi: boolWhether the plugin handles MIDI input. Used by hosts that only want to enumerate instruments / note effects.
Trait Implementations§
Source§impl Clone for PluginInfo
impl Clone for PluginInfo
Source§fn clone(&self) -> PluginInfo
fn clone(&self) -> PluginInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more