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
Состояние секвенсора
Fields§
§current_step: usizeТекущий индекс шага
step_start_time: TimeВремя начала текущего шага
current_value: f64Значение на текущем шаге
target_value: f64Целевое значение (для интерполяции)
direction: i8Направление (для PingPong)
history: VecDeque<usize>История последних шагов (для 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 · 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