pub struct EnvelopeState {
pub stage: EnvelopeStage,
pub level: f64,
pub stage_start_time: Time,
pub stage_start_level: f64,
pub stage_target_level: f64,
pub stage_duration: f64,
pub gate: bool,
}Expand description
Состояние огибающей
Fields§
§stage: EnvelopeStageТекущая стадия
level: f64Текущий уровень (0.0 - 1.0)
stage_start_time: TimeВремя начала текущей стадии
stage_start_level: f64Уровень в начале стадии
stage_target_level: f64Целевой уровень стадии
stage_duration: f64Длительность стадии в секундах
gate: boolЗапущена ли огибающая
Trait Implementations§
Source§impl Clone for EnvelopeState
impl Clone for EnvelopeState
Source§fn clone(&self) -> EnvelopeState
fn clone(&self) -> EnvelopeState
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 EnvelopeState
impl RefUnwindSafe for EnvelopeState
impl Send for EnvelopeState
impl Sync for EnvelopeState
impl Unpin for EnvelopeState
impl UnsafeUnpin for EnvelopeState
impl UnwindSafe for EnvelopeState
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