pub struct OscSurfaceEntry {
pub osc_path: String,
pub event_pattern: EventPattern,
pub label: Option<String>,
}Expand description
Maps an OSC address pattern to an internal EventPattern.
One patchbay configuration can have a single canonical surface.
For alternate MIDI layouts, use separate mappings slices with
different EventPattern::MidiControl entries.
Fields§
§osc_path: StringOSC address pattern, e.g. "/delay/time".
event_pattern: EventPatternAbstract controller identifier that mappings expect.
label: Option<String>Optional human-readable label (ignored by the engine).
Trait Implementations§
Source§impl Clone for OscSurfaceEntry
impl Clone for OscSurfaceEntry
Source§fn clone(&self) -> OscSurfaceEntry
fn clone(&self) -> OscSurfaceEntry
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 OscSurfaceEntry
impl RefUnwindSafe for OscSurfaceEntry
impl Send for OscSurfaceEntry
impl Sync for OscSurfaceEntry
impl Unpin for OscSurfaceEntry
impl UnsafeUnpin for OscSurfaceEntry
impl UnwindSafe for OscSurfaceEntry
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