Enum nannou_osc::Type
source · pub enum Type {
}
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) -> OscType
fn from(v: OscMidiMessage) -> OscType
Converts to this type from the input type.
source§impl PartialEq for OscType
impl PartialEq 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.
impl StructuralPartialEq for OscType
Auto Trait Implementations§
impl RefUnwindSafe for OscType
impl Send for OscType
impl Sync for OscType
impl Unpin for OscType
impl UnwindSafe for OscType
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