pub struct Setup<C, S> {
pub config: C,
pub systems: Vec<System<S>>,
pub host: HostInfo,
pub capture_dir: PathBuf,
pub data_dir: PathBuf,
pub audio_formats: Vec<String>,
}Expand description
What Plugin::start gets.
Fields§
§config: C§systems: Vec<System<S>>Every system, with the plugin’s settings for it (None: left empty).
host: HostInfo§capture_dir: PathBuf§data_dir: PathBufThe plugin’s own folder, kept across restarts and upgrades.
audio_formats: Vec<String>Audio formats call.concluded will carry (always “wav”).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<C, S> Freeze for Setup<C, S>
impl<C, S> RefUnwindSafe for Setup<C, S>
impl<C, S> Send for Setup<C, S>
impl<C, S> Sync for Setup<C, S>
impl<C, S> Unpin for Setup<C, S>
impl<C, S> UnsafeUnpin for Setup<C, S>
impl<C, S> UnwindSafe for Setup<C, S>
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