pub struct AudioWorkletProcessContext {
pub current_time: f64,
pub sample_dt: f64,
pub parameters: HashMap<String, f32>,
pub parameter_values: HashMap<String, Vec<f32>>,
pub processor_options: HashMap<String, String>,
}Fields§
§current_time: f64§sample_dt: f64§parameters: HashMap<String, f32>§parameter_values: HashMap<String, Vec<f32>>§processor_options: HashMap<String, String>Trait Implementations§
Source§impl Clone for AudioWorkletProcessContext
impl Clone for AudioWorkletProcessContext
Source§fn clone(&self) -> AudioWorkletProcessContext
fn clone(&self) -> AudioWorkletProcessContext
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 Debug for AudioWorkletProcessContext
impl Debug for AudioWorkletProcessContext
Source§impl PartialEq for AudioWorkletProcessContext
impl PartialEq for AudioWorkletProcessContext
Source§fn eq(&self, other: &AudioWorkletProcessContext) -> bool
fn eq(&self, other: &AudioWorkletProcessContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioWorkletProcessContext
Auto Trait Implementations§
impl Freeze for AudioWorkletProcessContext
impl RefUnwindSafe for AudioWorkletProcessContext
impl Send for AudioWorkletProcessContext
impl Sync for AudioWorkletProcessContext
impl Unpin for AudioWorkletProcessContext
impl UnsafeUnpin for AudioWorkletProcessContext
impl UnwindSafe for AudioWorkletProcessContext
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