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: u8Trait Implementations§
Source§impl Clone for OscMidiMessage
impl Clone for OscMidiMessage
Source§fn clone(&self) -> OscMidiMessage
fn clone(&self) -> OscMidiMessage
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 moreSource§impl Debug for OscMidiMessage
impl Debug for OscMidiMessage
Source§impl Display for OscMidiMessage
Available on crate feature std only.
impl Display for OscMidiMessage
Available on crate feature
std only.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 for OscMidiMessage
impl PartialEq for OscMidiMessage
impl Eq for OscMidiMessage
impl StructuralPartialEq for OscMidiMessage
Auto Trait Implementations§
impl Freeze for OscMidiMessage
impl RefUnwindSafe for OscMidiMessage
impl Send for OscMidiMessage
impl Sync for OscMidiMessage
impl Unpin for OscMidiMessage
impl UnwindSafe for OscMidiMessage
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