Struct rosc::OscMessage
source · pub struct OscMessage {
pub addr: String,
pub args: Vec<OscType>,
}
Expand description
An OSC message consists of an address and zero or more arguments. The address should specify an element of your Instrument (or whatever you want to control with OSC) and the arguments are used to set properties of the element to the respective values.
Fields§
§addr: String
§args: Vec<OscType>
Trait Implementations§
source§impl Clone for OscMessage
impl Clone for OscMessage
source§fn clone(&self) -> OscMessage
fn clone(&self) -> OscMessage
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 OscMessage
impl Debug for OscMessage
source§impl<'a> From<&'a str> for OscMessage
impl<'a> From<&'a str> for OscMessage
source§fn from(s: &str) -> OscMessage
fn from(s: &str) -> OscMessage
Converts to this type from the input type.
source§impl From<String> for OscMessage
impl From<String> for OscMessage
source§fn from(s: String) -> OscMessage
fn from(s: String) -> OscMessage
Converts to this type from the input type.
source§impl PartialEq<OscMessage> for OscMessage
impl PartialEq<OscMessage> for OscMessage
source§fn eq(&self, other: &OscMessage) -> bool
fn eq(&self, other: &OscMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OscMessage
Auto Trait Implementations§
impl RefUnwindSafe for OscMessage
impl Send for OscMessage
impl Sync for OscMessage
impl Unpin for OscMessage
impl UnwindSafe for OscMessage
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