pub struct PluginDescriptor {Show 14 fields
pub id: String,
pub name: String,
pub vendor: String,
pub version: String,
pub description: String,
pub category: PluginCategory,
pub format: PluginFormat,
pub path: PathBuf,
pub index: u32,
pub audio_inputs: u32,
pub audio_outputs: u32,
pub has_midi_in: bool,
pub has_gui: bool,
pub file_hash: u64,
}Expand description
Descriptor completo de un plugin — lo que se muestra en el browser. Se serializa al escanear y se cachea para no reabrir las librerías.
Fields§
§id: StringID único del plugin (ej. “com.fabfilter.pro-q3”)
name: String§vendor: String§version: String§description: String§category: PluginCategory§format: PluginFormat§path: PathBufPath a la librería (.clap / .vst3)
index: u32Índice dentro de la librería (una librería puede tener múltiples plugins)
audio_inputs: u32Número de entradas de audio
audio_outputs: u32Número de salidas de audio
has_midi_in: boolSoporta MIDI input
has_gui: boolTiene GUI propia
file_hash: u64Hash del archivo para detectar cambios en re-scan
Implementations§
Source§impl PluginDescriptor
impl PluginDescriptor
Sourcepub fn unique_key(&self) -> String
pub fn unique_key(&self) -> String
ID único combinando formato + path + index para evitar colisiones
pub fn is_instrument(&self) -> bool
pub fn is_effect(&self) -> bool
Trait Implementations§
Source§impl Clone for PluginDescriptor
impl Clone for PluginDescriptor
Source§fn clone(&self) -> PluginDescriptor
fn clone(&self) -> PluginDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PluginDescriptor
impl RefUnwindSafe for PluginDescriptor
impl Send for PluginDescriptor
impl Sync for PluginDescriptor
impl Unpin for PluginDescriptor
impl UnsafeUnpin for PluginDescriptor
impl UnwindSafe for PluginDescriptor
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