pub struct NoConfig;Expand description
Configuration for plugins that don’t need audio setup information.
Use this for stateless plugins like simple gain, pan, or polarity flip that don’t have any sample-rate-dependent state.
§Example
ⓘ
impl Plugin for GainPlugin {
type Config = NoConfig;
// ...
fn prepare(self, _: NoConfig) -> GainProcessor {
GainProcessor { parameters: self.parameters }
}
}Trait Implementations§
impl Copy for NoConfig
impl ProcessorConfig for NoConfig
impl StructuralPartialEq for NoConfig
Auto Trait Implementations§
impl Freeze for NoConfig
impl RefUnwindSafe for NoConfig
impl Send for NoConfig
impl Sync for NoConfig
impl Unpin for NoConfig
impl UnwindSafe for NoConfig
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