pub struct Config {
pub name: &'static str,
pub vendor: &'static str,
pub url: &'static str,
pub email: &'static str,
pub version: &'static str,
pub has_editor: bool,
}Expand description
Format-agnostic plugin configuration.
Contains metadata shared across all plugin formats. Format-specific configurations (like VST3 UIDs or AU FourCC codes) are defined separately.
Fields§
§name: &'static strPlugin name displayed in the DAW.
vendor: &'static strVendor/company name.
url: &'static strVendor URL.
email: &'static strVendor email.
version: &'static strPlugin version string.
has_editor: boolWhether this plugin has an editor/GUI.
Implementations§
Source§impl Config
impl Config
Sourcepub const fn with_vendor(self, vendor: &'static str) -> Self
pub const fn with_vendor(self, vendor: &'static str) -> Self
Set the vendor name.
Sourcepub const fn with_email(self, email: &'static str) -> Self
pub const fn with_email(self, email: &'static str) -> Self
Set the vendor email.
Sourcepub const fn with_version(self, version: &'static str) -> Self
pub const fn with_version(self, version: &'static str) -> Self
Set the version string.
Sourcepub const fn with_editor(self) -> Self
pub const fn with_editor(self) -> Self
Enable the editor/GUI.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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