pub struct CaptureSpec {
pub audio: bool,
pub meters: MeterCapture,
pub output_events: bool,
pub block_snapshots: bool,
}Fields§
§audio: boolCapture the rendered audio. Default true - turning it off
means DriverResult::output is empty (use case: a meter-only
run that doesn’t care about audio).
meters: MeterCapture§output_events: boolCapture events the plugin emits via ProcessContext::output_events.
block_snapshots: boolCapture each block’s (param_id, plain_value) map. Off by
default; tests that need it opt in.
Trait Implementations§
Source§impl Clone for CaptureSpec
impl Clone for CaptureSpec
Source§fn clone(&self) -> CaptureSpec
fn clone(&self) -> CaptureSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CaptureSpec
impl Default for CaptureSpec
Source§fn default() -> CaptureSpec
fn default() -> CaptureSpec
Audio + final meters captured; output events + block snapshots off. Anything else is rarely the right starting point for a driver test.
impl Copy for CaptureSpec
Auto Trait Implementations§
impl Freeze for CaptureSpec
impl RefUnwindSafe for CaptureSpec
impl Send for CaptureSpec
impl Sync for CaptureSpec
impl Unpin for CaptureSpec
impl UnsafeUnpin for CaptureSpec
impl UnwindSafe for CaptureSpec
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