pub struct ControlEvent {
pub lane_id: LaneId,
pub time: Tick,
pub control: Symbol,
pub value: i64,
}Expand description
A control-change event setting a named control to a value.
Fields§
§lane_id: LaneIdLane the control change applies to.
time: TickTime in ticks.
control: SymbolSymbol naming the control being changed.
value: i64New control value.
Implementations§
Trait Implementations§
Source§impl Clone for ControlEvent
impl Clone for ControlEvent
Source§fn clone(&self) -> ControlEvent
fn clone(&self) -> ControlEvent
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 moreSource§impl Debug for ControlEvent
impl Debug for ControlEvent
impl Eq for ControlEvent
Source§impl PartialEq for ControlEvent
impl PartialEq for ControlEvent
impl StructuralPartialEq for ControlEvent
Auto Trait Implementations§
impl Freeze for ControlEvent
impl RefUnwindSafe for ControlEvent
impl Send for ControlEvent
impl Sync for ControlEvent
impl Unpin for ControlEvent
impl UnsafeUnpin for ControlEvent
impl UnwindSafe for ControlEvent
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