Struct web_audio_api::process::AudioParamValues [−][src]
pub struct AudioParamValues<'a> { /* fields omitted */ }
Accessor for current crate::param::AudioParam
values
Provided to implementations of AudioProcessor
in the render thread
Implementations
impl<'a> AudioParamValues<'a>
[src]
pub fn get(&self, index: &AudioParamId) -> &[f32]
[src]
Get the computed values for the given crate::param::AudioParam
For both A & K-rate params, it will provide a slice of length crate::BUFFER_SIZE
Auto Trait Implementations
impl<'a> !RefUnwindSafe for AudioParamValues<'a>
impl<'a> !Send for AudioParamValues<'a>
impl<'a> !Sync for AudioParamValues<'a>
impl<'a> Unpin for AudioParamValues<'a>
impl<'a> !UnwindSafe for AudioParamValues<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,