pub enum UserAutomationEvent {
SetValue(f32),
SetValueAtTime(f32, f64),
RampToValueAtTime(RampKind, f32, f64),
SetTargetAtTime(f32, f64, f64),
SetValueCurveAtTime(Vec<f32>, f64, f64),
CancelAndHoldAtTime(f64),
CancelScheduledValues(f64),
}
Expand description
An AutomationEvent that uses times in s instead of Ticks
Variants§
SetValue(f32)
SetValueAtTime(f32, f64)
RampToValueAtTime(RampKind, f32, f64)
SetTargetAtTime(f32, f64, f64)
SetValueCurveAtTime(Vec<f32>, f64, f64)
CancelAndHoldAtTime(f64)
CancelScheduledValues(f64)
Implementations§
source§impl UserAutomationEvent
impl UserAutomationEvent
pub(crate) fn to_event(self, rate: f32) -> AutomationEvent
Trait Implementations§
source§impl Clone for UserAutomationEvent
impl Clone for UserAutomationEvent
source§fn clone(&self) -> UserAutomationEvent
fn clone(&self) -> UserAutomationEvent
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 UserAutomationEvent
impl Debug for UserAutomationEvent
source§impl PartialEq for UserAutomationEvent
impl PartialEq for UserAutomationEvent
impl StructuralPartialEq for UserAutomationEvent
Auto Trait Implementations§
impl Freeze for UserAutomationEvent
impl RefUnwindSafe for UserAutomationEvent
impl Send for UserAutomationEvent
impl Sync for UserAutomationEvent
impl Unpin for UserAutomationEvent
impl UnwindSafe for UserAutomationEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)