pub struct GraphInner<D: PluginDsp> {
pub context: DspContext,
pub dsp: D,
pub prepared: bool,
}Expand description
Internal wrapper holding the plugin DSP and context.
Generic over any type implementing PluginDsp.
Fields§
§context: DspContextDSP context with sample rate, buffer size, etc.
dsp: DThe plugin’s DSP graph implementation.
prepared: boolWhether the graph has been prepared for playback.
Implementations§
Source§impl<D: PluginDsp> GraphInner<D>
impl<D: PluginDsp> GraphInner<D>
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for GraphInner<D>where
D: Freeze,
impl<D> RefUnwindSafe for GraphInner<D>where
D: RefUnwindSafe,
impl<D> Send for GraphInner<D>
impl<D> Sync for GraphInner<D>where
D: Sync,
impl<D> Unpin for GraphInner<D>where
D: Unpin,
impl<D> UnwindSafe for GraphInner<D>where
D: UnwindSafe,
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