pub enum OscType {
}
Expand description
see OSC Type Tag String: OSC Spec. 1.0 padding: zero bytes (n*4)
Variants§
Int(i32)
Float(f32)
String(String)
Blob(Vec<u8>)
Time(OscTime)
Long(i64)
Double(f64)
Char(char)
Color(OscColor)
Midi(OscMidiMessage)
Bool(bool)
Array(OscArray)
Nil
Inf
Implementations§
Trait Implementations§
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<OscType> for OscType
impl PartialEq<OscType> for OscType
source§impl TryFrom<SystemTime> for OscType
impl TryFrom<SystemTime> for OscType
§type Error = OscTimeError
type Error = OscTimeError
The type returned in the event of a conversion error.
source§fn try_from(time: SystemTime) -> Result<OscType, OscTimeError>
fn try_from(time: SystemTime) -> Result<OscType, OscTimeError>
Performs the conversion.