Enum web_audio_api::AutomationRate
source · pub enum AutomationRate {
A,
K,
}
Expand description
Precision of AudioParam value calculation per render quantum
Variants§
A
Audio Rate - sampled for each sample-frame of the block
K
Control Rate - sampled at the time of the very first sample-frame, then used for the entire block
Trait Implementations§
source§impl Clone for AutomationRate
impl Clone for AutomationRate
source§fn clone(&self) -> AutomationRate
fn clone(&self) -> AutomationRate
Returns a copy of the value. Read more
1.0.0 · 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 AutomationRate
impl Debug for AutomationRate
source§impl PartialEq for AutomationRate
impl PartialEq for AutomationRate
source§fn eq(&self, other: &AutomationRate) -> bool
fn eq(&self, other: &AutomationRate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AutomationRate
impl Eq for AutomationRate
impl StructuralPartialEq for AutomationRate
Auto Trait Implementations§
impl Freeze for AutomationRate
impl RefUnwindSafe for AutomationRate
impl Send for AutomationRate
impl Sync for AutomationRate
impl Unpin for AutomationRate
impl UnwindSafe for AutomationRate
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