pub enum SensorDef {
Midi {
backend: String,
port_name: String,
mappings: Vec<MappingDef>,
},
}Expand description
Serializable external input sensor.
Variants§
Midi
MIDI input.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SensorDef
impl RefUnwindSafe for SensorDef
impl Send for SensorDef
impl Sync for SensorDef
impl Unpin for SensorDef
impl UnsafeUnpin for SensorDef
impl UnwindSafe for SensorDef
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