Enum rosc::OscType [] [src]

pub enum OscType {
    Int(i32),
    Float(f32),
    String(String),
    Blob(Vec<u8>),
    Time(u32u32),
    Long(i64),
    Double(f64),
    Char(char),
    Color(OscColor),
    Midi(OscMidiMessage),
    Bool(bool),
    Nil,
    Inf,
}

see OSC Type Tag String: http://opensoundcontrol.org/spec-1_0 padding: zero bytes (n*4)

Variants

Int(i32)Float(f32)String(String)Blob(Vec<u8>)Time(u32u32)Long(i64)Double(f64)Char(char)Color(OscColor)Midi(OscMidiMessage)Bool(bool)NilInf

Trait Implementations

impl PartialEq for OscType
[src]

fn eq(&self, __arg_0: &OscType) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &OscType) -> bool

This method tests for !=.

impl Debug for OscType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.