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 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 OscMessage
impl Debug for OscMessage
Source§impl Display for OscMessage
Available on crate feature std only.
impl Display for OscMessage
Available on crate feature
std only.Source§impl From<&str> for OscMessage
impl From<&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 for OscMessage
impl PartialEq for OscMessage
impl StructuralPartialEq for OscMessage
Auto Trait Implementations§
impl Freeze for OscMessage
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