Struct rosc::OscMidiMessage
source · pub struct OscMidiMessage {
pub port: u8,
pub status: u8,
pub data1: u8,
pub data2: u8,
}
Expand description
Represents the parts of a Midi message. Mainly used for tunneling midi over a network using the OSC protocol.
Fields§
§port: u8
§status: u8
§data1: u8
§data2: u8
Trait Implementations§
source§impl Clone for OscMidiMessage
impl Clone for OscMidiMessage
source§fn clone(&self) -> OscMidiMessage
fn clone(&self) -> OscMidiMessage
Returns a copy 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 moresource§impl Debug for OscMidiMessage
impl Debug for OscMidiMessage
source§impl From<OscMidiMessage> for OscType
impl From<OscMidiMessage> for OscType
source§fn from(v: OscMidiMessage) -> Self
fn from(v: OscMidiMessage) -> Self
Converts to this type from the input type.
source§impl PartialEq<OscMidiMessage> for OscMidiMessage
impl PartialEq<OscMidiMessage> for OscMidiMessage
source§fn eq(&self, other: &OscMidiMessage) -> bool
fn eq(&self, other: &OscMidiMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.