Enum servo_media_audio::param::AutomationEvent
source · pub(crate) enum AutomationEvent {
SetValue(f32),
SetValueAtTime(f32, Tick),
RampToValueAtTime(RampKind, f32, Tick),
SetTargetAtTime(f32, Tick, f64),
SetValueCurveAtTime(Vec<f32>, Tick, Tick),
CancelAndHoldAtTime(Tick),
CancelScheduledValues(Tick),
}
Expand description
https://webaudio.github.io/web-audio-api/#dfn-automation-event
Variants§
SetValue(f32)
SetValueAtTime(f32, Tick)
RampToValueAtTime(RampKind, f32, Tick)
SetTargetAtTime(f32, Tick, f64)
SetValueCurveAtTime(Vec<f32>, Tick, Tick)
CancelAndHoldAtTime(Tick)
CancelScheduledValues(Tick)
Implementations§
source§impl AutomationEvent
impl AutomationEvent
Trait Implementations§
source§impl Clone for AutomationEvent
impl Clone for AutomationEvent
source§fn clone(&self) -> AutomationEvent
fn clone(&self) -> AutomationEvent
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 AutomationEvent
impl Debug for AutomationEvent
source§impl PartialEq<AutomationEvent> for AutomationEvent
impl PartialEq<AutomationEvent> for AutomationEvent
source§fn eq(&self, other: &AutomationEvent) -> bool
fn eq(&self, other: &AutomationEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomationEvent
Auto Trait Implementations§
impl RefUnwindSafe for AutomationEvent
impl Send for AutomationEvent
impl Sync for AutomationEvent
impl Unpin for AutomationEvent
impl UnwindSafe for AutomationEvent
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