pub struct PluginInfo {Show 20 fields
pub name: &'static str,
pub vendor: &'static str,
pub url: &'static str,
pub version: &'static str,
pub category: PluginCategory,
pub bundle_id: &'static str,
pub vst3_id: &'static str,
pub clap_id: &'static str,
pub fourcc: [u8; 4],
pub au_type: [u8; 4],
pub au_manufacturer: [u8; 4],
pub aax_id: Option<&'static str>,
pub aax_category: Option<&'static str>,
pub vst3_name: Option<&'static str>,
pub clap_name: Option<&'static str>,
pub vst2_name: Option<&'static str>,
pub au_name: Option<&'static str>,
pub au3_name: Option<&'static str>,
pub aax_name: Option<&'static str>,
pub lv2_name: Option<&'static str>,
/* private fields */
}Expand description
Static metadata about a plugin.
Fields§
§name: &'static str§vendor: &'static str§url: &'static str§version: &'static str§category: PluginCategory§bundle_id: &'static strShort identifier (bundle_id in truce.toml). Used to derive
the LV2 plugin URI ({vendor.url}/lv2/{bundle_id}); also a
stable, vendor-agnostic key for “this plugin” that doesn’t
drift with display-name changes the way clap_id does.
vst3_id: &'static str§clap_id: &'static str§fourcc: [u8; 4]§au_type: [u8; 4]§au_manufacturer: [u8; 4]§aax_id: Option<&'static str>§aax_category: Option<&'static str>AAX plugin category string (e.g. “EQ”, “Dynamics”, “Reverb”).
Maps to AAX_ePlugInCategory constants.
vst3_name: Option<&'static str>Per-format display-name overrides, populated by
truce::plugin_info!() from the matching truce.toml keys.
Format wrappers fall back to name when the override is None.
Baked at compile time so back-to-back plugin builds with
different overrides don’t invalidate the format wrapper’s
build fingerprint.
au3_name is exposed for parity with the other formats and
for user introspection, but truce-au’s resolved_plugin_name
reads au_name for both v2 and v3 builds - the v3 host’s
displayed label comes from the appex Info.plist’s AUNAME
(which cargo truce install --au3 populates from au3_name),
not from g_descriptor->name.
clap_name: Option<&'static str>§vst2_name: Option<&'static str>§au_name: Option<&'static str>§au3_name: Option<&'static str>§aax_name: Option<&'static str>§lv2_name: Option<&'static str>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