pub enum SignalOrigin {
Automaton(String),
Sensor(String),
Servo(String),
External(String),
Manual,
Script,
}Expand description
Origin of a signal or command.
Used for tracking command provenance, feedback-loop prevention, and telemetry attribution.
Variants§
Automaton(String)
Command from an automaton (LFO, envelope, sequencer).
Sensor(String)
Command from a sensor (physical input device).
Servo(String)
Command from a servo (physical output device).
External(String)
Command from an external source (OSC, etc.).
Manual
Manual user interaction (UI slider, button, etc.).
Script
Command from a script.
Implementations§
Trait Implementations§
Source§impl Clone for SignalOrigin
impl Clone for SignalOrigin
Source§fn clone(&self) -> SignalOrigin
fn clone(&self) -> SignalOrigin
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 SignalOrigin
impl Debug for SignalOrigin
Source§impl Display for SignalOrigin
impl Display for SignalOrigin
impl Eq for SignalOrigin
Source§impl Hash for SignalOrigin
impl Hash for SignalOrigin
Source§impl PartialEq for SignalOrigin
impl PartialEq for SignalOrigin
Source§fn eq(&self, other: &SignalOrigin) -> bool
fn eq(&self, other: &SignalOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SignalOrigin
Auto Trait Implementations§
impl Freeze for SignalOrigin
impl RefUnwindSafe for SignalOrigin
impl Send for SignalOrigin
impl Sync for SignalOrigin
impl Unpin for SignalOrigin
impl UnsafeUnpin for SignalOrigin
impl UnwindSafe for SignalOrigin
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