pub struct PluginInfo {
pub cid: &'static [u8; 16],
pub name: &'static str,
pub subcategories: String,
pub vendor: &'static str,
pub version: &'static str,
pub url: &'static str,
pub email: &'static str,
}Expand description
Re-export for the wrapper.
The information queried about a plugin through the IPluginFactory* methods. Stored in a
separate struct so it can be type erased and stored in an array.
Fields§
§cid: &'static [u8; 16]§name: &'static str§subcategories: String§vendor: &'static str§version: &'static str§url: &'static str§email: &'static strImplementations§
Source§impl PluginInfo
impl PluginInfo
pub fn for_plugin<P: Vst3Plugin>() -> PluginInfo
Sourcepub fn create_factory_info(&self) -> PFactoryInfo
pub fn create_factory_info(&self) -> PFactoryInfo
Fill a PFactoryInfo struct with the information from this library. Used in
IPluginFactory.
Sourcepub fn create_class_info(&self) -> PClassInfo
pub fn create_class_info(&self) -> PClassInfo
Fill a PClassInfo struct with the information from this library. Used in
IPluginFactory.
Sourcepub fn create_class_info_2(&self) -> PClassInfo2
pub fn create_class_info_2(&self) -> PClassInfo2
Fill a PClassInfo2 struct with the information from this library. Used in
IPluginFactory2.
Sourcepub fn create_class_info_unicode(&self) -> PClassInfoW
pub fn create_class_info_unicode(&self) -> PClassInfoW
Fill a PClassInfoW struct with the information from this library. Used in
IPluginFactory3.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginInfo
impl RefUnwindSafe for PluginInfo
impl Send for PluginInfo
impl Sync for PluginInfo
impl Unpin for PluginInfo
impl UnsafeUnpin for PluginInfo
impl UnwindSafe for PluginInfo
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