pub struct SequencerState {
pub current_step: usize,
pub step_start_time: Time,
pub current_value: f64,
pub target_value: f64,
pub direction: i8,
pub history: VecDeque<usize>,
}Expand description
Sequencer state
Fields§
§current_step: usizeCurrent step index
step_start_time: TimeStart time of the current step
current_value: f64Value at the current step
target_value: f64Target value (for interpolation)
direction: i8Direction (for PingPong)
history: VecDeque<usize>History of recent steps (for Brownian)
Trait Implementations§
Source§impl Clone for SequencerState
impl Clone for SequencerState
Source§fn clone(&self) -> SequencerState
fn clone(&self) -> SequencerState
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 moreAuto Trait Implementations§
impl Freeze for SequencerState
impl RefUnwindSafe for SequencerState
impl Send for SequencerState
impl Sync for SequencerState
impl Unpin for SequencerState
impl UnsafeUnpin for SequencerState
impl UnwindSafe for SequencerState
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