File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 3
3
//! See `examples/worklet.rs` or `examples/worklet_bitcrusher.rs` for an example implementation of
4
4
//! user defined nodes.
5
5
6
+ #![ deny( missing_debug_implementations) ]
7
+
6
8
use crate :: context:: { AudioContextRegistration , AudioParamId , BaseAudioContext } ;
7
9
use crate :: node:: { AudioNode , ChannelConfig , ChannelConfigOptions } ;
8
10
use crate :: param:: { AudioParam , AudioParamDescriptor } ;
@@ -18,6 +20,12 @@ pub struct AudioParamValues<'a> {
18
20
map : & ' a HashMap < String , AudioParamId > ,
19
21
}
20
22
23
+ impl < ' a > std:: fmt:: Debug for AudioParamValues < ' a > {
24
+ fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
25
+ f. debug_struct ( "AudioParamValues" ) . finish_non_exhaustive ( )
26
+ }
27
+ }
28
+
21
29
impl < ' a > AudioParamValues < ' a > {
22
30
/// Get the computed values for the given [`AudioParam`]
23
31
///
@@ -128,6 +136,7 @@ impl<C: Default> Default for AudioWorkletNodeOptions<C> {
128
136
/// - `cargo run --release --example worklet`
129
137
/// - `cargo run --release --example worklet_bitcrusher`
130
138
///
139
+ #[ derive( Debug ) ]
131
140
pub struct AudioWorkletNode {
132
141
registration : AudioContextRegistration ,
133
142
channel_config : ChannelConfig ,
You can’t perform that action at this time.
0 commit comments